Skip to content

Commit

Permalink
update npm publish script name
Browse files Browse the repository at this point in the history
  • Loading branch information
notunderctrl committed Dec 14, 2024
1 parent 3ad9860 commit 32b0230
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
run: pnpm --filter './packages/*' run build

- name: 🚚 Publish
run: pnpm run deploy:package
run: pnpm run publish-package
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "turbo dev",
"lint": "turbo lint && prettier --check ./ --ignore-path=.prettierignore",
"build": "turbo lint && turbo build",
"deploy:package": "turbo deploy:package --filter='commandkit' --filter='create-commandkit'",
"publish-package": "turbo publish-package",
"docgen": "tsx ./scripts/docgen.ts && pnpm format",
"format": "prettier --write ./ --ignore-path=.prettierignore"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/commandkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"lint": "tsc --noEmit",
"dev": "tsup --watch",
"build": "tsup",
"deploy:package": "npm publish",
"publish-package": "npm publish",
"test": "vitest"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-commandkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"lint": "tsc --noEmit",
"dev": "tsup --watch",
"build": "tsup",
"deploy:package": "npm publish"
"publish-package": "npm publish"
},
"dependencies": {
"@clack/prompts": "^0.7.0",
Expand Down
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"build": {
"dependsOn": ["^build"]
},
"deploy:package": {},
"publish-package": {},
"dev": {
"cache": false,
"persistent": true
Expand Down

0 comments on commit 32b0230

Please sign in to comment.