History

Format generated changelogs in the changeset version step (#938)

changeset version writes CHANGELOG.md files that oxfmt does not agree with, which failed format:check on the Version Packages PR and on main after merging it. Format the repo as part of changeset:version so the generated PR is clean, and format the two changelogs that already landed.

Rhys Sullivan committed 5 months ago

Commit efd80991 parent 818c8453 files · +1 −9Browse files

Showing the changes to package.json (1 of 3 files). Show all

Unified · Split

package.json+1−1
@@ -50,7 +50,7 @@ · 49 unmodified lines
50 "format:check": "oxfmt --check .",50 "format:check": "oxfmt --check .",
51 "pull:references": "bun run scripts/pull-references.ts",51 "pull:references": "bun run scripts/pull-references.ts",
52 "changeset": "changeset",52 "changeset": "changeset",
53 "changeset:version": "changeset version && bun install --lockfile-only",53 "changeset:version": "changeset version && bun install --lockfile-only && oxfmt .",
54 "release:check": "bun run --cwd apps/cli typecheck && bun run test:release:bootstrap && bun run release:publish:dry-run",54 "release:check": "bun run --cwd apps/cli typecheck && bun run test:release:bootstrap && bun run release:publish:dry-run",
55 "release:pre:enter": "changeset pre enter beta",55 "release:pre:enter": "changeset pre enter beta",
56 "release:pre:exit": "changeset pre exit",56 "release:pre:exit": "changeset pre exit",

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t