diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a5b7bd..2437cbb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,4 +25,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | - yarn calculate-version \ No newline at end of file + yarn release \ No newline at end of file diff --git a/package.json b/package.json index 72e74cf..2c62324 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,7 @@ "build:watch": "npm run build -- --watch", "release": "npm run build && auto shipit", "start": "run-p build:watch 'storybook --quiet'", - "storybook": "storybook dev -p 6006", - "calculate-version": "auto version" + "storybook": "storybook dev -p 6006" }, "devDependencies": { "@storybook/manager": "^8.0.0-rc.2", @@ -71,6 +70,11 @@ "publishConfig": { "access": "public" }, + "auto": { + "plugins": [ + "npm" + ] + }, "bundler": { "exportEntries": [ "src/index.ts"