From 9de3b0a579977b1555563ee8837df51c22c5ce5d Mon Sep 17 00:00:00 2001 From: Hendrik Liebau Date: Wed, 15 May 2024 11:58:55 +0200 Subject: [PATCH] Update `package-lock.json` when creating a new version --- .github/workflows/release.yml | 1 + package.json | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66c69fb..f3e3bea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,7 @@ jobs: id: changesets uses: changesets/action@v1 with: + version: npm run version publish: npm run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 7bf1898..9045065 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,9 @@ "prerelease": "npm run compile", "release": "changeset publish", "start": "turbo --concurrency 19 watch watch-dev-server start", - "test": "turbo test" + "test": "turbo test", + "version": "changeset version", + "postversion": "npm install --package-lock-only" }, "devDependencies": { "@changesets/cli": "^2.27.1",