From bd085666c82ec985859e6aefde2da3023d9b8e70 Mon Sep 17 00:00:00 2001 From: Hiroki Osame Date: Wed, 22 Feb 2023 17:56:54 +0900 Subject: [PATCH] chore: configure semantic-release for main --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 582b9a65..8eb9366f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aicommits", - "version": "1.0.7", + "version": "0.0.0-semantic-release", "description": "Writes your git commit messages for you with AI", "keywords": [ "ai", @@ -19,7 +19,8 @@ "prepare": "simple-git-hooks", "build": "pkgroll --minify", "lint": "eslint --cache .", - "type-check": "tsc" + "type-check": "tsc", + "prepack": "pnpm build" }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged" @@ -57,5 +58,8 @@ } } ] + }, + "release": { + "branches": ["main"] } }