Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bayang committed Jan 16, 2022
2 parents f8eba27 + ec4da5f commit 61aec3e
Showing 1 changed file with 38 additions and 18 deletions.
56 changes: 38 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{
"devDependencies": {
"@commitlint/cli": "^16.0.2",
"@commitlint/config-conventional": "^16.0.0",
"dependencies": {
"@google/semantic-release-replace-plugin": "^1.1.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"commitlint": "^16.0.2",
"husky": "^7.0.0",
"is-ci": "^3.0.1",
"pinst": "^2.1.6",
"semantic-release": "^18.0.1"
},
"devDependencies": {
"@commitlint/cli": "^16.0.2",
"@commitlint/config-conventional": "^16.0.0",
"commitlint": "^16.0.2",
"husky": "^7.0.0",
"pinst": "^2.1.6"
},
"scripts": {
"prepare": "is-ci || husky install",
"prepublishOnly": "pinst --disable",
Expand All @@ -38,18 +40,36 @@
}
],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits",
"releaseRules": [
{"type": "feat", "release": "minor"},
{"type": "fix", "release": "patch"},
{"type": "style", "release": "patch"},
{"type": "test", "release": false}
]
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits"
}],
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "style",
"release": "patch"
},
{
"type": "test",
"release": false
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
"@semantic-release/changelog",
[
"@google/semantic-release-replace-plugin",
Expand Down

0 comments on commit 61aec3e

Please sign in to comment.