Skip to content

Commit a6e61df

Browse files
committed
ci: publish on CI
1 parent 95f774a commit a6e61df

File tree

4 files changed

+431
-395
lines changed

4 files changed

+431
-395
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ jobs:
99
release:
1010
uses: sxzz/workflows/.github/workflows/release.yml@v1
1111
with:
12-
publish: false
12+
publish: true
1313
permissions:
1414
contents: write
1515
id-token: write
16+
17+
release-jsr:
18+
uses: sxzz/workflows/.github/workflows/release-jsr.yml@v1
19+
permissions:
20+
contents: read
21+
id-token: write

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# unplugin-isolated-decl [![npm](https://img.shields.io/npm/v/unplugin-isolated-decl.svg)](https://npmjs.com/package/unplugin-isolated-decl) [![jsr](https://jsr.io/badges/@unplugin/isolated-decl)](https://jsr.io/@unplugin/isolated-decl)
1+
# unplugin-isolated-decl
22

3-
[![Unit Test](https://github.com/unplugin/unplugin-isolated-decl/actions/workflows/unit-test.yml/badge.svg)](https://github.com/unplugin/unplugin-isolated-decl/actions/workflows/unit-test.yml)
3+
[![npm version][npm-version-src]][npm-version-href]
4+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
5+
[![JSR][jsr-src]][jsr-href]
6+
[![Unit Test][unit-test-src]][unit-test-href]
47

58
⚡️ A blazing-fast tool for generating isolated declarations.
69

@@ -176,3 +179,14 @@ Patch `export default` in `.d.cts` to `export =`
176179
## License
177180

178181
[MIT](./LICENSE) License © 2024-PRESENT [三咲智子](https://github.com/sxzz)
182+
183+
<!-- Badges -->
184+
185+
[npm-version-src]: https://img.shields.io/npm/v/unplugin-isolated-decl.svg
186+
[npm-version-href]: https://npmjs.com/package/unplugin-isolated-decl
187+
[npm-downloads-src]: https://img.shields.io/npm/dm/unplugin-isolated-decl
188+
[npm-downloads-href]: https://www.npmcharts.com/compare/unplugin-isolated-decl?interval=30
189+
[jsr-src]: https://jsr.io/badges/@unplugin/isolated-decl
190+
[jsr-href]: https://jsr.io/@unplugin/isolated-decl
191+
[unit-test-src]: https://github.com/unplugin/unplugin-isolated-decl/actions/workflows/unit-test.yml/badge.svg
192+
[unit-test-href]: https://github.com/unplugin/unplugin-isolated-decl/actions/workflows/unit-test.yml

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"dev": "tsdown --watch",
5757
"test": "vitest",
5858
"typecheck": "tsc --noEmit",
59-
"release": "bumpp && pnpm publish",
59+
"release": "bumpp",
6060
"prepublishOnly": "pnpm run build"
6161
},
6262
"peerDependencies": {
@@ -74,23 +74,23 @@
7474
"dependencies": {
7575
"debug": "^4.4.1",
7676
"magic-string": "^0.30.17",
77-
"oxc-parser": ">=0.82.0",
78-
"oxc-transform": ">=0.82.0",
79-
"unplugin": "^2.3.5",
77+
"oxc-parser": ">=0.82.1",
78+
"oxc-transform": ">=0.82.1",
79+
"unplugin": "^2.3.6",
8080
"unplugin-utils": "^0.2.5"
8181
},
8282
"devDependencies": {
8383
"@farmfe/core": "^1.7.11",
84-
"@oxc-project/types": "^0.82.0",
84+
"@oxc-project/types": "^0.82.1",
8585
"@rollup/plugin-alias": "^5.1.1",
8686
"@swc/core": "^1.13.3",
8787
"@sxzz/eslint-config": "^7.1.2",
8888
"@sxzz/prettier-config": "^2.2.3",
8989
"@sxzz/test-utils": "^0.5.9",
9090
"@types/debug": "^4.1.12",
91-
"@types/node": "^24.2.1",
91+
"@types/node": "^24.3.0",
9292
"bumpp": "^10.2.3",
93-
"esbuild": "^0.25.8",
93+
"esbuild": "^0.25.9",
9494
"eslint": "^9.33.0",
9595
"fast-glob": "^3.3.3",
9696
"prettier": "^3.6.2",

0 commit comments

Comments
 (0)