Skip to content

Commit 32b0230

Browse files
committed
update npm publish script name
1 parent 3ad9860 commit 32b0230

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/publish.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
run: pnpm --filter './packages/*' run build
3030

3131
- name: 🚚 Publish
32-
run: pnpm run deploy:package
32+
run: pnpm run publish-package
3333
env:
3434
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dev": "turbo dev",
88
"lint": "turbo lint && prettier --check ./ --ignore-path=.prettierignore",
99
"build": "turbo lint && turbo build",
10-
"deploy:package": "turbo deploy:package --filter='commandkit' --filter='create-commandkit'",
10+
"publish-package": "turbo publish-package",
1111
"docgen": "tsx ./scripts/docgen.ts && pnpm format",
1212
"format": "prettier --write ./ --ignore-path=.prettierignore"
1313
},

packages/commandkit/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"lint": "tsc --noEmit",
2828
"dev": "tsup --watch",
2929
"build": "tsup",
30-
"deploy:package": "npm publish",
30+
"publish-package": "npm publish",
3131
"test": "vitest"
3232
},
3333
"repository": {

packages/create-commandkit/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint": "tsc --noEmit",
3232
"dev": "tsup --watch",
3333
"build": "tsup",
34-
"deploy:package": "npm publish"
34+
"publish-package": "npm publish"
3535
},
3636
"dependencies": {
3737
"@clack/prompts": "^0.7.0",

turbo.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"build": {
66
"dependsOn": ["^build"]
77
},
8-
"deploy:package": {},
8+
"publish-package": {},
99
"dev": {
1010
"cache": false,
1111
"persistent": true

0 commit comments

Comments
 (0)