@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/release.config.mjs +29 -29
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@danhezcode/test-auto-release",
3
3
  "type": "module",
4
- "version": "1.1.0",
4
+ "version": "1.1.1",
5
5
  "description": "A starter for creating a TypeScript package.",
6
6
  "author": "danhezcode@gmail.com",
7
7
  "license": "MIT",
@@ -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
- // preset: customPreset,
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
- "@semantic-release/changelog",
17
- {
18
- changelogFile: "CHANGELOG.md",
19
- writerOpts: {
20
- types: [
21
- { type: "feat", section: "๐Ÿš€ New Features", hidden: false },
22
- { type: "fix", section: "๐Ÿž Bug Fixes", hidden: false },
23
- { type: "docs", section: "๐Ÿ“š Documentation Improvements", hidden: false },
24
- { type: "style", section: "๐ŸŽจ Code Style & Formatting", hidden: false },
25
- { type: "refactor", section: "๐Ÿ”ง Code Refactoring", hidden: false },
26
- { type: "perf", section: "โšก Performance Improvements", hidden: false },
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
  {