googleapis / release-please

generate release PRs based on the conventionalcommits.org spec
https://www.conventionalcommits.org
Apache License 2.0
4.64k stars 350 forks source link

Support jsr #2324

Open phaux opened 2 months ago

phaux commented 2 months ago

https://jsr.io/docs/publishing-packages#package-config-file

There should be either a new release-type named "deno" or "jsr"; or release-type "node" should also update deno.json and jsr.json if they exist.

Describe alternatives you've considered

Release-type "simple" or "node" with extra-files:

release-please-config.json:

{
  "packages": {
    ".": {
      "release-type": "simple",
      "extra-files": [
        {
          "type": "json",
          "path": "deno.json",
          "jsonpath": "$.version"
        }
      ]
    }
  }
}

It works but requires keeping additional and useless files in your repo: the config itself; and version.txt for "simple" or package.json for "node".

Mansion-dotcom commented 2 months ago

Good