sync package.json version to jsr.json
npx sync-npm-version-to-jsrUse postversion hook on semantic-release
the
postversionhook so it will be executed during thepreparestep of@semantic-release/npm, which allow for example to update files before committing them with the@semantic-release/gitplugin
// package.json
{
"scripts": {
"postversion": "npx sync-npm-version-to-jsr && git add jsr.json"
}
}Made with contributors-img.