File tree Expand file tree Collapse file tree 1 file changed +38
-31
lines changed Expand file tree Collapse file tree 1 file changed +38
-31
lines changed Original file line number Diff line number Diff line change 11{
2- "branches": ["master"],
2+ "branches": ["master", "main" ],
33 "repositoryUrl": "https://github.com/stackr23/webpack",
44 "plugins": [
55 [
66 "@semantic-release/commit-analyzer",
77 {
8- "preset": "angular",
9- "parserOpts": {
10- "noteKeywords": [
11- "BREAKING CHANGE",
12- "BREAKING CHANGES",
13- "BREAKING"
14- ]
15- }
8+ "config": "@stackr23/preset-conventional-changelog",
9+ "releaseRules": [
10+ {
11+ "type": "feat",
12+ "release": "minor"
13+ },
14+ {
15+ "type": "fix",
16+ "release": "patch"
17+ },
18+ {
19+ "type": "config",
20+ "release": "patch"
21+ },
22+ {
23+ "type": "script",
24+ "release": "patch"
25+ },
26+ {
27+ "type": "style",
28+ "release": "patch"
29+ },
30+ {
31+ "type": "deps",
32+ "release": "patch"
33+ }
34+ ]
1635 }
1736 ],
1837 [
1938 "@semantic-release/release-notes-generator",
2039 {
21- "preset": "angular",
22- "parserOpts": {
23- "noteKeywords": [
24- "BREAKING CHANGE",
25- "BREAKING CHANGES",
26- "BREAKING"
27- ]
28- },
29- "writerOpts": {
30- "commitsSort": [
31- "subject",
32- "scope"
33- ]
34- }
40+ "config": "@stackr23/preset-conventional-changelog"
3541 }
3642 ],
3743 [
3844 "@semantic-release/changelog",
3945 {
4046 "changelogFile": "CHANGELOG.md",
41- "changelogTitle": "# Changelog\n\n> generated with [@semantic-release/changelog](https://github.com/semantic-release/changelog)"
47+ "changelogTitle": "# Changelog\n\n> generated with [@semantic-release/changelog](https://github.com/semantic-release/changelog)\n\n"
48+ }
49+ ],
50+ [
51+ "@semantic-release/npm",
52+ {
53+ "npmPublish": true,
54+ "tarballDir": "releases"
4255 }
4356 ],
44- ["@semantic-release/npm"],
4557 [
4658 "@semantic-release/git",
4759 {
5466 ],
5567 [
5668 "@semantic-release/github"
57- ],
58- ["semantic-release-slack-bot", {
59- "notifyOnSuccess": true,
60- "notifyOnFail": false,
61- "markdownReleaseNotes": true
62- }]
69+ ]
6370 ]
6471}
You can’t perform that action at this time.
0 commit comments