|
16 | 16 | "main"
|
17 | 17 | ],
|
18 | 18 | "plugins": [
|
19 |
| - "@semantic-release/commit-analyzer", |
20 |
| - ["@semantic-release/release-notes-generator", { |
21 |
| - "preset": "conventionalcommits", |
22 |
| - "parserOpts": { |
23 |
| - "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"] |
24 |
| - }, |
25 |
| - "presetConfig": { |
26 |
| - "types": [ |
27 |
| - {"type": "add", "section": "Added"}, |
28 |
| - {"type": "fix", "section": "Fixed"}, |
29 |
| - {"type": "change", "section": "Changed"}, |
30 |
| - {"type": "deprecate", "section": "Deprecated"}, |
31 |
| - {"type": "remove", "section": "Removed"}, |
32 |
| - {"type": "security", "section": "Security"}, |
33 |
| - {"type": "chore", "hidden": true}, |
34 |
| - {"type": "docs", "hidden": true}, |
35 |
| - {"type": "style", "hidden": true}, |
36 |
| - {"type": "refactor", "hidden": true}, |
37 |
| - {"type": "perf", "hidden": true}, |
38 |
| - {"type": "test", "hidden": true} |
39 |
| - ]} |
40 |
| - }], |
| 19 | + [ |
| 20 | + "@semantic-release/commit-analyzer", |
| 21 | + { |
| 22 | + "preset": "conventionalcommits", |
| 23 | + "releaseRules": [ |
| 24 | + { |
| 25 | + "type": "add", |
| 26 | + "release": "minor" |
| 27 | + }, |
| 28 | + { |
| 29 | + "type": "fix", |
| 30 | + "release": "patch" |
| 31 | + }, |
| 32 | + { |
| 33 | + "type": "change", |
| 34 | + "release": "minor" |
| 35 | + }, |
| 36 | + { |
| 37 | + "type": "deprecate", |
| 38 | + "release": "false" |
| 39 | + }, |
| 40 | + { |
| 41 | + "type": "remove", |
| 42 | + "release": "minor" |
| 43 | + }, |
| 44 | + { |
| 45 | + "type": "security", |
| 46 | + "release": "patch" |
| 47 | + }, |
| 48 | + { |
| 49 | + "type": "chore", |
| 50 | + "release": "patch" |
| 51 | + }, |
| 52 | + { |
| 53 | + "type": "docs", |
| 54 | + "scope": "README", |
| 55 | + "release": false |
| 56 | + }, |
| 57 | + { |
| 58 | + "type": "refactor", |
| 59 | + "release": "patch" |
| 60 | + }, |
| 61 | + { |
| 62 | + "type": "style", |
| 63 | + "release": "patch" |
| 64 | + }, |
| 65 | + { |
| 66 | + "type": "perf", |
| 67 | + "release": "patch" |
| 68 | + }, |
| 69 | + { |
| 70 | + "type": "test", |
| 71 | + "release": false |
| 72 | + } |
| 73 | + ], |
| 74 | + "parserOpts": { |
| 75 | + "noteKeywords": [ |
| 76 | + "BREAKING CHANGE", |
| 77 | + "BREAKING CHANGES", |
| 78 | + "BREAKING" |
| 79 | + ] |
| 80 | + } |
| 81 | + } |
| 82 | + ], |
| 83 | + [ |
| 84 | + "@semantic-release/release-notes-generator", |
| 85 | + { |
| 86 | + "preset": "conventionalcommits", |
| 87 | + "parserOpts": { |
| 88 | + "noteKeywords": [ |
| 89 | + "BREAKING CHANGE", |
| 90 | + "BREAKING CHANGES", |
| 91 | + "BREAKING" |
| 92 | + ] |
| 93 | + }, |
| 94 | + "presetConfig": { |
| 95 | + "types": [ |
| 96 | + { |
| 97 | + "type": "add", |
| 98 | + "section": "Added" |
| 99 | + }, |
| 100 | + { |
| 101 | + "type": "fix", |
| 102 | + "section": "Fixed" |
| 103 | + }, |
| 104 | + { |
| 105 | + "type": "change", |
| 106 | + "section": "Changed" |
| 107 | + }, |
| 108 | + { |
| 109 | + "type": "deprecate", |
| 110 | + "section": "Deprecated" |
| 111 | + }, |
| 112 | + { |
| 113 | + "type": "remove", |
| 114 | + "section": "Removed" |
| 115 | + }, |
| 116 | + { |
| 117 | + "type": "security", |
| 118 | + "section": "Security" |
| 119 | + }, |
| 120 | + { |
| 121 | + "type": "chore", |
| 122 | + "hidden": true |
| 123 | + }, |
| 124 | + { |
| 125 | + "type": "docs", |
| 126 | + "hidden": "Changed" |
| 127 | + }, |
| 128 | + { |
| 129 | + "type": "style", |
| 130 | + "hidden": "Changed" |
| 131 | + }, |
| 132 | + { |
| 133 | + "type": "refactor", |
| 134 | + "hidden": "Changed" |
| 135 | + }, |
| 136 | + { |
| 137 | + "type": "perf", |
| 138 | + "hidden": "Changed" |
| 139 | + }, |
| 140 | + { |
| 141 | + "type": "test", |
| 142 | + "hidden": "Changed" |
| 143 | + } |
| 144 | + ] |
| 145 | + } |
| 146 | + } |
| 147 | + ], |
41 | 148 | "@semantic-release/changelog",
|
42 | 149 | "@semantic-release/npm",
|
43 | 150 | "@semantic-release/git",
|
|
0 commit comments