Commit graph

25 commits

Author SHA1 Message Date
renovate[bot]
d3fdb8aabb
CI(deps): Update dependency renovate to v39.33.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-28 00:33:10 +00:00
43241f68f2
CI(deps/npm): Bump @revi/eslint-config to v0.0.18
Summary:
External version of D850.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `pnpm install`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D851
2024-11-27 11:52:07 +09:00
34da9e2dfa
npm/eslint-config: Release v0.0.17
Summary:
External version of D839.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc land` and git tag.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D840
2024-11-06 22:46:22 +09:00
86f134978c
CI(deps): Update npm packages
Summary:
Manual update for...

- `@types/node` `v20.16.11`
- `renovate` `v38.119.0`
- `typescript` `v5.6.3`

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `pnpm install`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D797
2024-10-15 17:40:29 +09:00
45ac900600
npm(eslint-config): Bump version to v0.0.15
Summary:
Update `globals` to `v15.11.0`. Additionally run pnpm `v9.12.1`.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `git tag`, push the tag, and watch GitHub Actions publishing to `npmjs`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D795
2024-10-15 17:17:38 +09:00
e5ad174bc0
npm/prettier-config: Add prettier-plugin-packagejson
Summary:
External version of D777. Also:

- Run prettier fix
- Update node to `v20.18.0`
- Update pnpm to `v9.12.0`

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `pnpm install`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D779
2024-10-06 14:42:31 +09:00
cdb9e3ce4d
npm: Bump eslint-config version to 0.0.11
Summary:
External change of D756.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Publish it.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D757
2024-09-24 16:56:08 +09:00
ac71d4fa61
npm/eslint-config: Release v0.0.10
Summary:
External version of D724.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Run `pnpm install` and verify installations are successful.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D725
2024-09-12 15:07:28 +09:00
413d4c0a06
npm(eslint-config): bump to 0.0.9
Summary:
Ref D668. Manual export of the referenced CL.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Land and publish tag.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D669
2024-08-29 23:54:40 +09:00
8672f0b7bc
npm: update (eslint|prettier)-config packages
Summary:
Originally should've migrated to sync via T182 but work is not complete
so for the time being do it manually.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Land and test.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D633
2024-08-01 18:59:12 +09:00
renovate[bot]
4f3701ae2b CI(deps): Update dependency typescript to v5.5.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-06 04:50:17 +09:00
renovate[bot]
6a974dc6f8 CI(deps): Update linters to v9.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 15:52:43 +09:00
renovate[bot]
723eb489b0 CI(deps): Update dependency @types/node to v20.14.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 22:50:51 +00:00
44bf31948f
CI(renovate): init
Summary:
Renovate has automerge, dependabot does not (I have to issue a
command via comment box).

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm run lint:renovate`, and land and wait for renovate to catch up

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D474
2024-06-30 17:09:51 +09:00
f556f313d7
npm: update email address
Summary:
Update email address to dedicated mailbox.

No new version bump because cosmetic changes.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Not really test-able thing.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Tags: #npm

Differential Revision: https://issuetracker.revi.xyz/D461
2024-06-30 16:46:06 +09:00
4e98e27115
CI(typescript): add typescript stuff
Summary:
Add them as `package.json` deps. Also remove `--fund=false` in
GitHub Actions workflows where it's obsoleted by `.npmrc` file.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm ci`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D429
2024-06-25 17:20:02 +09:00
ab283848b8
CI(npm): Refer local directory as file path
Summary:
Avoid updating local pkgs.

Also add `prefer-dedupe=true` on `.npmrc`.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm ci`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D428
2024-06-25 16:09:48 +09:00
bfab2ea75c
CI(npm): pin npm package version
Summary:
Ref T176.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm ci`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Maniphest Tasks: T176

Differential Revision: https://issuetracker.revi.xyz/D393
2024-06-21 16:15:24 +09:00
0f4b7c97e3
CI: add eslint
Summary:
Signed-off-by: Yongmin Hong <revi@omglol.email>

npm: use @revi/eslint-config

Also change eslint format, and publish `v0.0.2`.
Also prepare for eslint-config-wikimedia when they have eslint9 support.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm run eslint`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D332
2024-06-16 15:50:44 +09:00
be3db3c067
npm(eslint-config): eslint shard config
Summary:
Yet another shared config for consolidation.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc land`, `npm publish`, and install it.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D331
2024-06-16 14:49:55 +09:00
01e6487932
npm: use shared prettier config
Summary:
Shared config testbed, yeah.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm run p:c .` should run as it is.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D305
2024-06-14 17:24:13 +09:00
8865e172f9
npm(prettier-config): add new sharable config
Summary:
Docs: https://prettier.io/docs/en/configuration#sharing-configurations

To be published @ npm and imported elsewhere.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: no test can be performed at this time; needs to be landed, published to npm, and then we can test from other tepo importing this.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D302
2024-06-14 17:18:03 +09:00
04798b45fd
style: npm run p:w .
Summary:
Which is essentially `npx prettier --write .`

Also fix `jshint` (possible) FP, wrong chars.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm run p:w .` and verify no changes made.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D217
2024-06-09 22:11:33 +09:00
aca8c5967b
CI: new package and configs
Summary:
add following npm packages:

 - jshint
 - prettier

Add `prettier` configs and `.arclint` accordingly.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm run pcheck`, `npm run pwrite`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D216
2024-06-08 19:04:29 +09:00
d45c16bde1
meta: arclint: add few more rules
Summary:
I probably want few more rules (ie. csslint)

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc lint`

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D20
2024-05-04 17:34:01 +09:00