From 3e450b5ceaf79aadf81db22a55a1b205c2c4241c Mon Sep 17 00:00:00 2001 From: Maxim Zemskov Date: Fri, 2 Aug 2024 23:28:51 +0200 Subject: [PATCH] fix: release workflow (#8) --- .changeset/rotten-flies-glow.md | 5 +++++ package-lock.json | 4 ++-- package.json | 9 +++++---- 3 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 .changeset/rotten-flies-glow.md diff --git a/.changeset/rotten-flies-glow.md b/.changeset/rotten-flies-glow.md new file mode 100644 index 0000000..4d1cfea --- /dev/null +++ b/.changeset/rotten-flies-glow.md @@ -0,0 +1,5 @@ +--- +'eslint-plugin-handle-errors': patch +--- + +Fix release workflow diff --git a/package-lock.json b/package-lock.json index 89245ab..56a63df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "eslint-plugin-handle-errors", - "version": "0.2.1", + "version": "0.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "eslint-plugin-handle-errors", - "version": "0.2.1", + "version": "0.3.0", "license": "MIT", "devDependencies": { "@changesets/changelog-github": "0.5.0", diff --git a/package.json b/package.json index dae1a7b..1bc8da8 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "homepage": "https://github.com/nodge/eslint-plugin-handle-errors", "repository": { "type": "git", - "url": "https://github.com/nodge/eslint-plugin-handle-errors" + "url": "git+https://github.com/nodge/eslint-plugin-handle-errors.git" }, "engines": { "node": ">=18" @@ -45,14 +45,15 @@ "fmt": "prettier --write . --log-level error", "test": "vitest", "typecheck": "tsc --noEmit", + "changeset": "changeset add", + "update-lockfile": "npm i --package-lock-only", "ci:lint": "eslint .", "ci:fmt": "prettier --check .", "ci:typecheck": "tsc --noEmit", "ci:tests": "vitest --run", "ci:build": "tsup-node", - "changeset": "changeset add", - "version": "changeset version", - "publish": "npm run ci:build && changeset publish" + "ci:version": "changeset version && npm run update-lockfile", + "ci:publish": "npm run ci:build && changeset publish" }, "devDependencies": { "@changesets/changelog-github": "0.5.0",