@sebbo2002/semantic-release-jsr
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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 and license

Copyright (c) Sebastian Pekarek under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i @sebbo2002/semantic-release-jsr

Weekly Downloads

277

Version

1.0.0

License

MIT

Unpacked Size

37 kB

Total Files

9

Last publish

Collaborators

  • sebbo2002