Commit graph

22 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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