From 4dd24d3b7fcedc8e6b9cc215a2030087a1feeb6e Mon Sep 17 00:00:00 2001 From: iuwqyir Date: Tue, 19 Mar 2024 11:48:32 +0000 Subject: [PATCH 1/2] fix: path for bin --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 250bdfa..b96f489 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "prepare": "husky" }, "bin": { - "blocktorch": "./index.js" + "blocktorch": "./dist/index.js" }, "keywords": [], "author": "iuwqyir <[toomas@blocktorch.xyz](mailto:toomas@blocktorch.xyz)>", From f44a887c62d20edadc90f884b15c72e33e64c581 Mon Sep 17 00:00:00 2001 From: iuwqyir Date: Tue, 19 Mar 2024 11:49:52 +0000 Subject: [PATCH 2/2] ci: release commands --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b96f489..05e8086 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ "build": "tsc", "prepublishOnly": "tsc", "test": "echo \"Error: no test specified\" && exit 1", - "prepare": "husky" + "prepare": "husky", + "release": "npm version patch && npm publish . && git push && git push --tags", + "semantic-release": "semantic-release" }, "bin": { "blocktorch": "./dist/index.js"