Skip to content

Commit 85f9113

Browse files
committed
chore: published to jsr
1 parent 5bcfe48 commit 85f9113

File tree

4 files changed

+7
-15
lines changed

4 files changed

+7
-15
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848

4949
## Install
5050

51-
> [!Note]
52-
>
53-
> Not yet published to JSR due to its instability.
54-
5551
### Dependencies
5652

5753
As of v0.11, it's no longer necessary to explicitly install [vanilla-jsoneditor](https://github.com/josdejong/svelte-jsoneditor).

docs/README.zh-CN.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848

4949
## 安装
5050

51-
> [!Note]
52-
>
53-
> 由于 JSR 尚不稳定,暂未发布到 JSR。
54-
5551
### 依赖
5652

5753
从 v0.11 开始,不再需要显式安装 [vanilla-jsoneditor](https://github.com/josdejong/svelte-jsoneditor)

jsr.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"exports": "./dist/json-editor-vue.mjs",
55
"publish": {
66
"include": [
7+
"dist",
8+
"docs",
9+
"jsr.json",
710
"LICENSE",
8-
"README.md",
11+
"nuxt.ts",
912
"package.json",
10-
"jsr.json",
11-
"dist/**",
12-
"docs/**",
13-
"nuxt.ts"
13+
"README.md"
1414
]
1515
}
1616
}

scripts/release.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ async function release() {
145145
return
146146
}
147147

148-
/* console.log(cyan('Publishing to jsr...'))
148+
console.log(cyan('Publishing to jsr...'))
149149
if (spawn.sync('npx', ['jsr', 'publish'], { stdio: 'inherit' }).status === 1) {
150150
return
151-
} */
151+
}
152152

153153
console.log(cyan('Publishing to npm...'))
154154
if (spawn.sync('npm', ['publish', '--registry=https://registry.npmjs.org'], { stdio: 'inherit' }).status === 1) {

0 commit comments

Comments
 (0)