From 6d765d4bab927480553768a25791f9e497db5c48 Mon Sep 17 00:00:00 2001 From: Justin van der Merwe Date: Thu, 4 Jan 2024 14:14:18 +0200 Subject: [PATCH 1/2] v2.0.0-rc.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3b2f61a..6d922e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@snaplet/copycat", - "version": "1.2.0", + "version": "2.0.0-rc.1", "description": "", "main": "dist/index.js", "files": [ From 72d5ebd50138511c89c78db68814ae3da3211818 Mon Sep 17 00:00:00 2001 From: Justin van der Merwe Date: Thu, 4 Jan 2024 14:18:31 +0200 Subject: [PATCH 2/2] chore: Add release script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 6d922e4..daea9b0 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "worker-farm": "^1.7.0" }, "scripts": { + "release": "git checkout next && git pull && git checkout main && git pull && yarn build && yarn publish && git push && git push --tags", "build": "yarn clean && git checkout next && git pull && yarn && yarn build:next && git checkout main && yarn && yarn build:main && yarn build:docs", "build:main": "yarn build:js && yarn build:types", "build:next": "yarn build:next:js && yarn build:next:types",