diff --git a/package.json b/package.json index 0a5f477..5b31770 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "scripts": { "changeset": "changeset", "build": "pnpm run --if-present --recursive build", - "release": "pnpm run --if-present --recursive release" + "release": "pnpm run build && changeset publish" }, "dependencies": { "@changesets/cli": "^2.27.8", diff --git a/packages/workflow/package.json b/packages/workflow/package.json index 69db29d..295d235 100644 --- a/packages/workflow/package.json +++ b/packages/workflow/package.json @@ -8,8 +8,7 @@ "build": "rm -rf dist && tsc && cp src/ui/ui.css dist/ui/ui.css", "test": "jest --logHeapUsage --maxWorkers=8 --coverage --ci --silent=false", "storybook": "storybook dev -p 6006", - "build-storybook": "storybook build", - "release": "npm run build && changeset publish" + "build-storybook": "storybook build" }, "homepage": "https://github.com/inngest/workflow-kit/tree/main/packages/workflow#readme", "repository": {