@danhezcode/test-auto-release 1.1.0 โ 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/release.config.mjs +29 -29
package/package.json
CHANGED
package/release.config.mjs
CHANGED
|
@@ -4,42 +4,42 @@ export default {
|
|
|
4
4
|
|
|
5
5
|
plugins: [
|
|
6
6
|
"@semantic-release/commit-analyzer",
|
|
7
|
-
|
|
8
7
|
[
|
|
9
8
|
"@semantic-release/release-notes-generator",
|
|
10
9
|
{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
preset: "conventionalcommits",
|
|
11
|
+
types: [
|
|
12
|
+
{ type: "feat", section: "๐ New Features", hidden: false },
|
|
13
|
+
{ type: "fix", section: "๐ Bug Fixes", hidden: false },
|
|
14
|
+
{ type: "docs", section: "๐ Documentation Improvements", hidden: false },
|
|
15
|
+
{ type: "style", section: "๐จ Code Style & Formatting", hidden: false },
|
|
16
|
+
{ type: "refactor", section: "๐ง Code Refactoring", hidden: false },
|
|
17
|
+
{ type: "perf", section: "โก Performance Improvements", hidden: false },
|
|
18
|
+
{ type: "test", section: "๐งช Test Updates", hidden: false },
|
|
19
|
+
{ type: "chore", section: "๐ฆ Internal Maintenance", hidden: false },
|
|
20
|
+
],
|
|
21
|
+
// writerOpts: {
|
|
22
|
+
// groupBy: "type",
|
|
23
|
+
// commitGroupsSort: (commitGroupA, commitGroupB) => {
|
|
24
|
+
// const commitGroupTitleA = commitGroupA.title.replace(/[^a-zA-Z]/gu, "").toLowerCase();
|
|
25
|
+
// const commitGroupTitleB = commitGroupB.title.replace(/[^a-zA-Z]/gu, "").toLowerCase();
|
|
14
26
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
{ type: "test", section: "๐งช Test Updates", hidden: false },
|
|
28
|
-
{ type: "chore", section: "๐ฆ Internal Maintenance", hidden: false },
|
|
29
|
-
],
|
|
30
|
-
},
|
|
27
|
+
// if (commitGroupsOrder[commitGroupTitleA] === undefined || commitGroupsOrder[commitGroupTitleB] === undefined) {
|
|
28
|
+
// return 0;
|
|
29
|
+
// }
|
|
30
|
+
// if (commitGroupsOrder[commitGroupTitleA] < commitGroupsOrder[commitGroupTitleB]) {
|
|
31
|
+
// return -1;
|
|
32
|
+
// }
|
|
33
|
+
// if (commitGroupsOrder[commitGroupTitleA] > commitGroupsOrder[commitGroupTitleB]) {
|
|
34
|
+
// return 1;
|
|
35
|
+
// }
|
|
36
|
+
// return 0;
|
|
37
|
+
// },
|
|
38
|
+
// },
|
|
31
39
|
},
|
|
32
40
|
],
|
|
33
|
-
|
|
34
41
|
["@semantic-release/npm", { npmPublish: true }],
|
|
35
|
-
|
|
36
|
-
[
|
|
37
|
-
"@semantic-release/git",
|
|
38
|
-
{
|
|
39
|
-
assets: ["CHANGELOG.md"],
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
|
|
42
|
+
["@semantic-release/git"],
|
|
43
43
|
[
|
|
44
44
|
"@semantic-release/github",
|
|
45
45
|
{
|