ci: Adjust semantic release settings closer to prior releases (#1724)
This commit is contained in:
+57
-5
@@ -68,6 +68,7 @@
|
|||||||
"@typescript-eslint/eslint-plugin": "^7.13.0",
|
"@typescript-eslint/eslint-plugin": "^7.13.0",
|
||||||
"@typescript-eslint/parser": "^7.13.0",
|
"@typescript-eslint/parser": "^7.13.0",
|
||||||
"@vitest/coverage-istanbul": "^1.6.0",
|
"@vitest/coverage-istanbul": "^1.6.0",
|
||||||
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
||||||
"docsify-cli": "^4.4.4",
|
"docsify-cli": "^4.4.4",
|
||||||
"eslint": "^8.57.0",
|
"eslint": "^8.57.0",
|
||||||
"eslint-config-airbnb-base": "^15.0.0",
|
"eslint-config-airbnb-base": "^15.0.0",
|
||||||
@@ -92,25 +93,76 @@
|
|||||||
},
|
},
|
||||||
"release": {
|
"release": {
|
||||||
"plugins": [
|
"plugins": [
|
||||||
|
[
|
||||||
"@semantic-release/commit-analyzer",
|
"@semantic-release/commit-analyzer",
|
||||||
|
{
|
||||||
|
"preset": "conventionalcommits"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
"@semantic-release/release-notes-generator",
|
"@semantic-release/release-notes-generator",
|
||||||
|
{
|
||||||
|
"preset": "conventionalcommits",
|
||||||
|
"presetConfig": {
|
||||||
|
"types": [
|
||||||
|
{
|
||||||
|
"type": "feat",
|
||||||
|
"section": ":rocket: Features"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "fix",
|
||||||
|
"section": ":bug: Bug Fixes"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "docs",
|
||||||
|
"section": ":books: Documentation"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"section": ":rotating_light: Tests"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ci",
|
||||||
|
"section": ":construction_worker: Continuous Integration"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "refactor",
|
||||||
|
"section": ":hammer: Code Refactoring"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "perf",
|
||||||
|
"section": ":racehorse: Performance Improvements"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "chore",
|
||||||
|
"section": ":wrench: Chores"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"semantic-release-export-data",
|
"semantic-release-export-data",
|
||||||
[
|
[
|
||||||
"@semantic-release/github",
|
"@semantic-release/github",
|
||||||
{
|
{
|
||||||
"assets": [
|
"assets": [
|
||||||
{
|
{
|
||||||
"path": "dist/*.zip",
|
"path": "frigate-hass-card.zip",
|
||||||
"label": "Zip distribution"
|
"label": "Zip distribution"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "dist/*.js",
|
"path": "dist/*.js"
|
||||||
"label": "JS distribution"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"draftRelease": true,
|
"draftRelease": true,
|
||||||
"labels": ["ci"],
|
"labels": [
|
||||||
"assignees": ["dermotduffy"]
|
"ci"
|
||||||
|
],
|
||||||
|
"assignees": [
|
||||||
|
"dermotduffy"
|
||||||
|
],
|
||||||
|
"successComment": ":tada: This issue has been resolved in version ${nextRelease.version} :tada:\n\nSee: [GitHub release](https://github.com/dermotduffy/frigate-hass-card/releases/tag/${nextRelease.gitTag})",
|
||||||
|
"releaseNameTemplate": "v${nextverison.name}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -3528,6 +3528,15 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"conventional-changelog-conventionalcommits@npm:^8.0.0":
|
||||||
|
version: 8.0.0
|
||||||
|
resolution: "conventional-changelog-conventionalcommits@npm:8.0.0"
|
||||||
|
dependencies:
|
||||||
|
compare-func: "npm:^2.0.0"
|
||||||
|
checksum: 10c0/368ee2245094579b38e1beac110577f75d82ab341d1bc6943052d5243f8bacc9ea08222a91a595a17f5f4ccc321b926211da00dd25b43877a3c51d8218bc76f0
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"conventional-changelog-writer@npm:^8.0.0":
|
"conventional-changelog-writer@npm:^8.0.0":
|
||||||
version: 8.0.0
|
version: 8.0.0
|
||||||
resolution: "conventional-changelog-writer@npm:8.0.0"
|
resolution: "conventional-changelog-writer@npm:8.0.0"
|
||||||
@@ -5145,6 +5154,7 @@ __metadata:
|
|||||||
"@typescript-eslint/parser": "npm:^7.13.0"
|
"@typescript-eslint/parser": "npm:^7.13.0"
|
||||||
"@vitest/coverage-istanbul": "npm:^1.6.0"
|
"@vitest/coverage-istanbul": "npm:^1.6.0"
|
||||||
component-emitter: "npm:^1.3.1"
|
component-emitter: "npm:^1.3.1"
|
||||||
|
conventional-changelog-conventionalcommits: "npm:^8.0.0"
|
||||||
crypto: "npm:^1.0.1"
|
crypto: "npm:^1.0.1"
|
||||||
date-fns: "npm:^3.6.0"
|
date-fns: "npm:^3.6.0"
|
||||||
date-fns-tz: "npm:^3.1.3"
|
date-fns-tz: "npm:^3.1.3"
|
||||||
|
|||||||
Reference in New Issue
Block a user