Skip to content

Commit d518c22

Browse files
authored
chore: add missing release config files (#51)
1 parent 1784ac2 commit d518c22

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
save-exact=true
2+
package-lock=false

.releaserc

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"plugins": [
3+
["@semantic-release/commit-analyzer", {
4+
"preset": "angular",
5+
"releaseRules": [
6+
{"type": "chore", "release": "patch"}
7+
]
8+
}],
9+
["@semantic-release/release-notes-generator", {
10+
"preset": "conventionalcommits",
11+
"presetConfig": {
12+
"types": [
13+
{"type": "feat", "section": "Features"},
14+
{"type": "fix", "section": "Bug Fixes"},
15+
{"type": "perf", "section": "Performance Improvements"},
16+
{"type": "revert", "section": "Reverts"},
17+
{"type": "chore", "section": "Miscellaneous Chores"},
18+
{"type": "refactor", "section": "Code Refactoring"},
19+
{"type": "docs", "section": "Documentation", "hidden": true},
20+
{"type": "style", "section": "Styles", "hidden": true},
21+
{"type": "test", "section": "Tests", "hidden": true},
22+
{"type": "build", "section": "Build System", "hidden": true},
23+
{"type": "ci", "section": "Continuous Integration", "hidden": true}
24+
]
25+
}
26+
}],
27+
["@semantic-release/changelog", {
28+
"changelogFile": "CHANGELOG.md"
29+
}],
30+
"@semantic-release/npm",
31+
["@semantic-release/git", {
32+
"assets": ["docs", "package.json", "CHANGELOG.md"],
33+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
34+
}],
35+
"@semantic-release/github"
36+
]
37+
}

0 commit comments

Comments
 (0)