Skip to content

Commit 5beb987

Browse files
committed
chore: add publish config to each package
1 parent 03d0575 commit 5beb987

4 files changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
with:
3434
node-version-file: .node-version
3535
cache: pnpm
36-
registry-url: "https://registry.npmjs.org"
3736
- run: npm install -g npm@latest
3837
- run: pnpm install
3938
- run: pnpm release

packages/core/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
".": "./dist/index.js",
3030
"./package.json": "./package.json"
3131
},
32+
"publishConfig": {
33+
"access": "public",
34+
"provenance": true,
35+
"registry": "https://registry.npmjs.org/"
36+
},
3237
"scripts": {
3338
"build": "tsdown",
3439
"lint": "eslint",

packages/react/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
".": "./dist/index.js",
3131
"./package.json": "./package.json"
3232
},
33+
"publishConfig": {
34+
"access": "public",
35+
"provenance": true,
36+
"registry": "https://registry.npmjs.org/"
37+
},
3338
"scripts": {
3439
"build": "tsdown",
3540
"lint": "eslint",

packages/vue/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
".": "./dist/index.js",
3131
"./package.json": "./package.json"
3232
},
33+
"publishConfig": {
34+
"access": "public",
35+
"provenance": true,
36+
"registry": "https://registry.npmjs.org/"
37+
},
3338
"scripts": {
3439
"build": "tsdown",
3540
"lint": "eslint",

0 commit comments

Comments
 (0)