diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6877b39..60ac93c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,3 +13,9 @@ jobs: permissions: contents: write id-token: write + + release-jsr: + uses: sxzz/workflows/.github/workflows/release-jsr.yml@v1 + permissions: + contents: read + id-token: write diff --git a/jsr.json b/jsr.json new file mode 100644 index 0000000..4101b84 --- /dev/null +++ b/jsr.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://jsr.io/schema/config-file.v1.json", + "name": "@sxzz/obug", + "version": "2.1.1", + "license": "MIT", + "exports": { + ".": "./src/node.ts", + "./browser": "./src/browser.ts", + "./node": "./src/node.ts" + }, + "publish": { + "include": [ + "src", + "README.md", + "LICENSE" + ] + } +}