Skip to content

Commit d02ac84

Browse files
authored
Configure changesets to sync JSR manifests on version (#298)
Add `version` script to package.json that runs `scripts/sync-jsr.mjs` after versioning
1 parent ad75b19 commit d02ac84

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
with:
2727
title: Create Release
2828
publish: pnpm changeset publish
29+
version: pnpm version
2930
env:
3031
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3132
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"lint": "biome ci .",
99
"fix": "biome check --write .",
1010
"publint": "pnpm --recursive --filter=\"./packages/**\" exec publint",
11-
"update-fixtures": "uv run scripts/generate-v2.py && uv run scripts/generate-v3.py && bash scripts/zip-fixtures.sh"
11+
"update-fixtures": "uv run scripts/generate-v2.py && uv run scripts/generate-v3.py && bash scripts/zip-fixtures.sh",
12+
"version": "changeset version && node scripts/sync-jsr.mjs"
1213
},
1314
"devDependencies": {
1415
"@biomejs/biome": "2.1.1",

0 commit comments

Comments
 (0)