https://github.com/node-modules/sync-npm-version-to-jsr
sync package.json version to jsr.json
https://github.com/node-modules/sync-npm-version-to-jsr
Last synced: 9 months ago
JSON representation
sync package.json version to jsr.json
- Host: GitHub
- URL: https://github.com/node-modules/sync-npm-version-to-jsr
- Owner: node-modules
- License: mit
- Created: 2025-07-31T07:21:23.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-08-08T02:29:27.000Z (9 months ago)
- Last Synced: 2025-08-08T02:42:21.399Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# sync-npm-version-to-jsr
[](https://www.npmjs.com/package/sync-npm-version-to-jsr)
[](https://www.npmjs.com/package/sync-npm-version-to-jsr)
[](https://github.com/node-modules/sync-npm-version-to-jsr/blob/master/LICENSE)
[](https://jsr.io/@nm/sync-npm-version-to-jsr)
[](https://jsr.io/@nm/sync-npm-version-to-jsr)
[](https://codecov.io/gh/node-modules/sync-npm-version-to-jsr)
[](https://github.com/node-modules/sync-npm-version-to-jsr/actions/workflows/ci.yml?query=branch%3Amaster)
[](https://makeapullrequest.com)

sync package.json version to jsr.json
## Usage
```bash
npx sync-npm-version-to-jsr
```
Use `postversion` hook on [semantic-release](https://github.com/semantic-release/semantic-release/blob/fdc35bda3c00a5ae79234ea4e2e6ed05ef4ac501/docs/support/FAQ.md?plain=1#L61)
> the `postversion` hook so it will be executed during the `prepare` step of `@semantic-release/npm`, which allow for example to update files before committing them with the [`@semantic-release/git`](https://github.com/semantic-release/git) plugin
```json
// package.json
{
"scripts": {
"postversion": "npx sync-npm-version-to-jsr && git add jsr.json"
}
}
```
## License
[MIT](./LICENSE)
## Contributors
[](https://github.com/node-modules/sync-npm-version-to-jsr/graphs/contributors)
Made with [contributors-img](https://contrib.rocks).