Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sebbo2002/semantic-release-jsr

sebbo20027.6kMIT2.0.4TypeScript support: included

Small semantic-release plugin, which adjusts the version in the jsr.json file and executes jsr publish to publish the module on jsr.io as well.

readme

semantic-release-jsr

License

Small semantic-release plugin, which adjusts the version in the jsr.json file and executes jsr publish to publish the module on jsr.io as well.

📦 Install

# Install via npm
$ npm install -D @sebbo2002/semantic-release-jsr

🔧 Usage

The plugin can be configured in the semantic-release configuration file:

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    "@sebbo2002/semantic-release-jsr"
  ]
}

Please do not forget to set the id-token permission in your GitHub action so that jsr publish can access the OIDC ID token for authentication. Optionally, some options can be passed to the plugin, which are documented here.

⚙️ Steps

Step Description
verifyConditions Runs jsr publish --dry-run to test your setup. Also downloads the deno binary if required.
prepare Updates the jsr.json / deno.json files
publish Run final jsr publish command
fail / success Remove the temporary folder

Copyright (c) Sebastian Pekarek under the MIT license.

changelog

2.0.4 (2025-02-07)

2.0.3 (2025-01-09)

Bug Fixes

2.0.2 (2024-11-15)

2.0.1 (2024-10-08)

Bug Fixes

  • Fix type imports to fix semantic-release import (259433e)

2.0.0 (2024-08-26)

chore

  • Drop support for node.js v19 and v21 (2fff079)

BREAKING CHANGES

  • Drop node.js v21 Support

These node.js versions are no longer supported. For more information see https://nodejs.dev/en/about/releases/

1.1.0 (2024-08-04)

Bug Fixes

  • make sure beta version values are also correctly parsed in version field (4be02b6), closes #13 #13 #15

Features

  • Check if version was really changed in file (59b7088), closes #13

1.0.1 (2024-07-16)

Bug Fixes

  • Do not overwrite whole file when updating version (50d8e2d), closes #10

1.0.0 (2024-05-05)

Bug Fixes

  • CI: Fix DockerHub container release (01b7534)
  • Create a real tmp folder (c83866f)
  • Fix dist path (ed15fde)

Build System

chore

  • Remove node.js 10 Support (2b910c0)

Features

  • add allowDirty flag (f22b39a)
  • Clear temporary folder when done (f5d8900)
  • first commit (7d28ffe)
  • Log publish error during development (16139d5)

BREAKING CHANGES

  • The node.js versions v14 and v17 are no longer maintained and are therefore no longer supported. See https://nodejs.dev/en/about/releases/ for more details on node.js release cycles.
  • From now on, only node.js ^14.8.0 || >=16.0.0 are supported
  • Only Support for node.js ^12.20.0 || >=14.13.1
  • Removed support for node.js v10