From 32b0230c0ddb4050863fae7f6ff698d2760fd8ab Mon Sep 17 00:00:00 2001 From: notunderctrl Date: Sat, 14 Dec 2024 21:46:32 +0300 Subject: [PATCH] update npm publish script name --- .github/workflows/publish.yaml | 2 +- package.json | 2 +- packages/commandkit/package.json | 2 +- packages/create-commandkit/package.json | 2 +- turbo.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 27d268a..4137e22 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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}} diff --git a/package.json b/package.json index af504e4..dd75d71 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/packages/commandkit/package.json b/packages/commandkit/package.json index 3526249..0124298 100644 --- a/packages/commandkit/package.json +++ b/packages/commandkit/package.json @@ -27,7 +27,7 @@ "lint": "tsc --noEmit", "dev": "tsup --watch", "build": "tsup", - "deploy:package": "npm publish", + "publish-package": "npm publish", "test": "vitest" }, "repository": { diff --git a/packages/create-commandkit/package.json b/packages/create-commandkit/package.json index 38f579c..cae99d3 100644 --- a/packages/create-commandkit/package.json +++ b/packages/create-commandkit/package.json @@ -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", diff --git a/turbo.json b/turbo.json index 6412347..578066a 100644 --- a/turbo.json +++ b/turbo.json @@ -5,7 +5,7 @@ "build": { "dependsOn": ["^build"] }, - "deploy:package": {}, + "publish-package": {}, "dev": { "cache": false, "persistent": true