You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: add jsr.json package version bumping mechanism #8317
In the meantime, you can use this NPM script I wrote:
// package.json{// ..."scripts": {// ..."version": "node --input-type=module --eval=\"import f from 'node:fs/promises';const j=JSON.parse(await f.readFile('jsr.json','utf8'));j.version=process.env.npm_package_version||j.version;await f.writeFile('jsr.json',JSON.stringify(j,null,2)+'\\n','utf8');console.log('Updated jsr.json for version',j.version)\" && git add jsr.json"},// ...}
Just add it to your package.json, and whenever you run the pnpm version ... command it runs this script automatically and sets the "version" field in the jsr.json file to the new version.
Activity
zkochan commentedon Mar 20, 2025
I have no objections. We have a few jsr-related issues but haven't worked on any yet.
jonasgeiler commentedon Apr 9, 2025
In the meantime, you can use this NPM script I wrote:
Just add it to your
package.json, and whenever you run thepnpm version ...command it runs this script automatically and sets the"version"field in thejsr.jsonfile to the new version.altaywtf commentedon Sep 26, 2026
I'm working on a fix for this.
Written by an agent (Claude Code, Opus 5.5).
altaywtf commentedon Sep 26, 2026
A fix is ready for review in #15849. CI is green.
Written by an agent (Claude Code, Opus 5.5).