From 622d64165e829d1a39bf019c6c270c197ff6d67a Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Thu, 7 Mar 2024 17:36:06 +0100 Subject: [PATCH] remove calculate-release script --- .github/workflows/release.yml | 2 +- package.json | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) 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"