Skip to content

Commit 316c7c4

Browse files
committed
chore: validate jsr publishing
1 parent af84c3f commit 316c7c4

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@
1919
"release:bump": "pnpm -r release:bump && pnpm build",
2020
"release:prepare": "git add . && changelogen --release --push",
2121
"release:publish": "pnpm -r release:publish",
22-
"test": "pnpm build && pnpm lint && pnpm type-check && pnpm test:unit && pnpm test:attw && pnpm test:publint",
22+
"test": "pnpm build && pnpm lint && pnpm type-check && pnpm test:unit && pnpm test:publish",
2323
"test:unit": "pnpm --filter @adhesivejs/test run test",
24-
"test:attw": "pnpm -r test:attw",
25-
"test:publint": "pnpm -r test:publint",
24+
"test:publish": "pnpm -r test:publish",
2625
"type-check": "pnpm -r type-check"
2726
},
2827
"devDependencies": {

packages/core/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
"release:bump": "changelogen --bump",
3737
"release:publish": "pnpm publish && pnpx jsr publish",
3838
"test:attw": "attw --pack --profile esm-only",
39+
"test:jsr": "pnpx jsr publish --dry-run --allow-dirty",
3940
"test:publint": "publint",
41+
"test:publish": "pnpm test:attw && pnpm test:jsr && pnpm test:publint",
4042
"type-check": "tsc --noEmit"
4143
},
4244
"engines": {

packages/react/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
"release:bump": "changelogen --bump",
3838
"release:publish": "pnpm publish && pnpx jsr publish",
3939
"test:attw": "attw --pack --profile esm-only",
40+
"test:jsr": "pnpx jsr publish --dry-run --allow-dirty",
4041
"test:publint": "publint",
42+
"test:publish": "pnpm test:attw && pnpm test:jsr && pnpm test:publint",
4143
"type-check": "tsc --noEmit"
4244
},
4345
"peerDependencies": {

packages/vue/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
"release:bump": "changelogen --bump && pnpx pkg-to-jsr && pnpx prettier --write jsr.json",
3838
"release:publish": "pnpm publish && pnpx jsr publish",
3939
"test:attw": "attw --pack --profile esm-only",
40+
"test:jsr": "pnpx jsr publish --dry-run --allow-dirty",
4041
"test:publint": "publint",
42+
"test:publish": "pnpm test:attw && pnpm test:jsr && pnpm test:publint",
4143
"type-check": "vue-tsc --noEmit"
4244
},
4345
"peerDependencies": {

0 commit comments

Comments
 (0)