chore: configure semantic-release for main

This commit is contained in:
Hiroki Osame
2023-02-22 17:56:54 +09:00
parent 75d77001b1
commit bd085666c8

View File

@@ -1,6 +1,6 @@
{ {
"name": "aicommits", "name": "aicommits",
"version": "1.0.7", "version": "0.0.0-semantic-release",
"description": "Writes your git commit messages for you with AI", "description": "Writes your git commit messages for you with AI",
"keywords": [ "keywords": [
"ai", "ai",
@@ -19,7 +19,8 @@
"prepare": "simple-git-hooks", "prepare": "simple-git-hooks",
"build": "pkgroll --minify", "build": "pkgroll --minify",
"lint": "eslint --cache .", "lint": "eslint --cache .",
"type-check": "tsc" "type-check": "tsc",
"prepack": "pnpm build"
}, },
"simple-git-hooks": { "simple-git-hooks": {
"pre-commit": "pnpm lint-staged" "pre-commit": "pnpm lint-staged"
@@ -57,5 +58,8 @@
} }
} }
] ]
},
"release": {
"branches": ["main"]
} }
} }