Skip to content

Commit 5031121

Browse files
committed
ci: 修复类型错误
1 parent 49b440f commit 5031121

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"docs:dev": "vitepress dev docs",
1212
"docs:build": "vitepress build docs",
1313
"changeset": "changeset",
14-
"publish-packages": "bun run build && bun run scripts/apply-publish-config.js && changeset version && changeset publish && git checkout -- package.json packages/*/package.json",
14+
"publish-packages": "bun run build && bun run scripts/apply-publish-config.js && changeset version && bun publish --access public && git checkout -- package.json packages/*/package.json && changeset tag",
1515
"build": "turbo build --filter=autostore --filter=@autostorejs/syncer --filter=@autostorejs/devtools --filter=@autostorejs/react",
1616
"docs:preview": "vitepress preview new-docs",
1717
"sync": "cnpm sync autostore @autostorejs/react @autostorejs/syncer",

packages/react/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
"publishConfig": {
1313
"exports": {
1414
".": {
15-
"types": "dist/index.d.ts",
16-
"require": "dist/index.cjs",
17-
"import": "dist/index.js"
15+
"types": "./dist/index.d.ts",
16+
"require": "./dist/index.cjs",
17+
"import": "./dist/index.js"
1818
}
1919
}
2020
},

packages/syncer/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"publishConfig": {
1010
"access": "public",
11-
"main": "dist/index.js",
11+
"main": "./dist/index.js",
1212
"exports": {
13-
"types": "dist/index.d.ts",
14-
"require": "dist/index.cjs",
15-
"import": "dist/index.js"
13+
"types": "./dist/index.d.ts",
14+
"require": "./dist/index.cjs",
15+
"import": "./dist/index.js"
1616
}
1717
},
1818
"type": "module",

0 commit comments

Comments
 (0)