Commit graph

43 commits

Author SHA1 Message Date
renovate[bot]
65b5672959
CI(deps): Update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 19:03:28 +00: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
e0ca9f3e6a
npm/eslint-config: Bump version
Summary:
External version of D813.

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

Test Plan: land, tag, push the tag, and watch GitHub Actions build and publish to npmjs.com

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D814
2024-10-23 16:42:41 +09:00
3e4a7b1eab
npm(prettier-config): Bump version to v0.2.2
Summary:
Update `prettier-plugin-packagejson` to `v2.5.3`. Also update `pnpm` to `v9.12.1`.

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

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

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D796
2024-10-15 17:27:27 +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
0003c4d839
npm/prettier-config: Bump version to v0.2.1
Summary:
External version of D785.

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

Test Plan: Release the npm package.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D788
2024-10-08 17:43:13 +09:00
348a4b95b8
npm/eslint-config: Bump version to v0.0.14
Summary:
External version of D786.

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

Test Plan: Release the npm package.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D787
2024-10-08 17:38:31 +09:00
7d97b1c969
npm/eslint-config: Bump version to v0.0.13
Summary:
External version of D778.

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/D781
2024-10-06 14:48:46 +09:00
b5c1018e99
npm/prettier-config: Actually bump version
Summary:
Forgot to touch `package.json`.

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/D780
2024-10-06 14:44:31 +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
5cf734baf2
npm/eslint-config: Bump to version 0.0.12
Summary:
External version of D758.

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/D759
2024-09-27 12:11:01 +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
9df5a0f602
CI(GitHub Actions): Make publish via pnpm work
Summary:
/shrugs

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

Test Plan: land and push tag again

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D634
2024-08-01 19:08:32 +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
712257d20f
npm(eslint-config): bump 0.0.7
Summary:
Bump globals to 15.8.0 (skipping 15.7.0)

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

Test Plan: Not really?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D530
2024-07-06 13:51:39 +09:00
renovate[bot]
7a45fb4421 CI(deps): Update dependency globals to v15.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-06 02:26:25 +09:00
renovate[bot]
62c8c6b5aa CI(deps): Update dependency globals to v15.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-05 00:09:09 +09:00
a67b75e02f
npm(prettier-config): consolidate globs
Summary:
`**/*` rules.

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

Test Plan: verify the globs are as expected.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Tags: #npm

Differential Revision: https://issuetracker.revi.xyz/D516
2024-07-04 19:59:27 +09:00
94363b2d43
npm: Use revi.kr for homepage url
Summary:
'Prettier' urls.

No version bump for cosmetic changes.

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

Test Plan: Verify the link works.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Tags: #npm

Differential Revision: https://issuetracker.revi.xyz/D495
2024-07-03 18:08:53 +09:00
4a9482cd04
npm(eslint-config): bump version 0.0.6
Summary:
eslint 9.6.0, and add changelog.

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

Test Plan: Tag `eslint-config@v0.0.6` and push it.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Tags: #npm

Differential Revision: https://issuetracker.revi.xyz/D494
2024-07-02 17:29:54 +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
b495028e8f
npm(prettier-config): double-declare prettier xml plugin
Summary:
Fixes T180. Quick hack, I guess. Following ../eslint-config by using deps not devDeps.

patch version bump for not adding/removing pkgs per se.

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

Test Plan: land, update prettier pkg and do prettier commands.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Tags: #npm

Maniphest Tasks: T180

Differential Revision: https://issuetracker.revi.xyz/D480
2024-07-01 14:35:30 +09:00
1cceb76236
npm(prettier-config): add xml, alphabetical sort
Summary:
Add xml linter, and bump version to 0.1.0 with changelog rules.

(and types w/ version bump & `.node_version`)

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

Test Plan: not really testable?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D473
2024-06-30 16:56:39 +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
359bcd4451
npm(eslint-config): move peerDep to dep
Summary:
ESlint flat config blog says [ref] to use dependencies not
peerDependencies (for plugins).

Also add tsc for types as some tools complain about it.

Ref: https://eslint.org/blog/2023/10/flat-config-rollout-plans/
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/D435
2024-06-27 20:12:15 +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
f0fb5d1812
npm(eslint-config): add bugs entry
Summary:
Well, it's unlikely someone will need file a bug for this pkg but tools
are referring to GitHub issues which are disabled.

Not bumping the version because trivial.

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

Test Plan: When new version is published, go to deps.dev and verify issues label is set to `revi.xyz/new`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D416
2024-06-24 16:58:54 +09:00
09d55a76c5
npm(prettier-config): add .devcontainer/*.json as jsonc.
Summary:
[devcontainer.json](https://containers.dev/implementors/spec/#devcontainerjson)
is a "JSON with Comments" file.

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

Test Plan: Watch how prettier behaves with rWEBXYZ `.devcontainer/devcontainer.json`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D400
2024-06-22 17:38:06 +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
88f952d4cd
npm(prettier-config): add homepage
Summary:
link to directory. No version bump for this.

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

Test Plan: verify the homepage when the new release is cut

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D387
2024-06-21 16:09:10 +09:00
a287bd06ca
npm(eslint-config): version bump with deps update
Summary:
add @types, --save-exact for prettier(-config), add homepage.

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

Test Plan: No visible changes.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D378
2024-06-20 15:01:11 +09:00
b189fe62aa
npm(prettier-config): add tsconfig to jsonc
Summary:
`tsconfig.json` has comments, so it is jsonc.

Cf. https://aka.ms/tsconfig.json

Also add tsconfig.json in rootdir and update arclint to ignore
`tsconfig.json`.

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

Test Plan: Try prettier checks on `tsconfig.json` after merging.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D376
2024-06-20 14:54:14 +09:00
c079c483f8
npm(prettier-config): trailingComma: 'none' for jsonc
Summary:
Seems like prettier wants to put trailingComma to JSONc.

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

Test Plan: `arc land`, push new release, test.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D366
2024-06-19 14:32:59 +09:00
cbfa3411b3
CI(GitHub Actions): fix npm-pub.yml to publish correctly
Summary:
Fix P185 failure.

Also fix L1 (`npm pkg fix`) for (eslint|prettier)-config.

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

Test Plan: `arc lint`, and push tag again

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D358
2024-06-18 19:26:34 +09:00
5c16c87f8d
npm(prettier-config): add prettier plugins, add rules, consolidate
Summary:
And run `npm run p:w .` for that, and add .prettierignore so `sh` plugin ignores them.

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

Test Plan: `npm run p:c .` and `npm publish`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D355
2024-06-18 18:46:30 +09:00
959705258e
npm(eslint-config): correct wrong peerDependency
Summary:
eslint-config-prettier should have been peerDependency not devDependency.
Correct them by moving it.

(Also do some yml cleanups.)

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/D342
2024-06-17 12:53:55 +09:00
9afee876a5
npm(README): add shields.io badges
Summary:
Not worthy of new release though.

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

Test Plan: Browse the markdown in editor's preview mode

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D337
2024-06-17 12:46:50 +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
41b70cb468
npm(prettier-config): add README/author data, make prettier peerDependency
Summary:
Bump to 0.0.2.

For easier browsing...

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

Test Plan: `arc land`, and `npm publish`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D310
2024-06-14 19:49:11 +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