@modern-js/plugin-changeset 2.40.0 → 2.41.0

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.
@@ -70,18 +70,18 @@ const CommitTypeZhTitle = {
70
70
  };
71
71
  function getCommitType(message) {
72
72
  if (message.startsWith("perf")) {
73
- return CommitType.Performance;
73
+ return "performance";
74
74
  }
75
75
  if (message.startsWith("feat")) {
76
- return CommitType.Features;
76
+ return "features";
77
77
  }
78
78
  if (message.startsWith("fix") || message.startsWith("hotfix")) {
79
- return CommitType.BugFix;
79
+ return "bugFix";
80
80
  }
81
81
  if (message.startsWith("docs")) {
82
- return CommitType.Doc;
82
+ return "doc";
83
83
  }
84
- return CommitType.Other;
84
+ return "other";
85
85
  }
86
86
  const AuthorMap = /* @__PURE__ */ new Map();
87
87
  async function getReleaseInfo(commit, commitObj, repo, authToken) {
@@ -155,23 +155,23 @@ async function genReleaseNote(options) {
155
155
  return "";
156
156
  }
157
157
  const releaseNote = {
158
- [CommitType.Performance]: {
158
+ ["performance"]: {
159
159
  en: [],
160
160
  zh: []
161
161
  },
162
- [CommitType.Features]: {
162
+ ["features"]: {
163
163
  en: [],
164
164
  zh: []
165
165
  },
166
- [CommitType.BugFix]: {
166
+ ["bugFix"]: {
167
167
  en: [],
168
168
  zh: []
169
169
  },
170
- [CommitType.Doc]: {
170
+ ["doc"]: {
171
171
  en: [],
172
172
  zh: []
173
173
  },
174
- [CommitType.Other]: {
174
+ ["other"]: {
175
175
  en: [],
176
176
  zh: []
177
177
  }
@@ -29,18 +29,18 @@ const CommitTypeZhTitle = {
29
29
  };
30
30
  function getCommitType(message) {
31
31
  if (message.startsWith("perf")) {
32
- return CommitType.Performance;
32
+ return "performance";
33
33
  }
34
34
  if (message.startsWith("feat")) {
35
- return CommitType.Features;
35
+ return "features";
36
36
  }
37
37
  if (message.startsWith("fix") || message.startsWith("hotfix")) {
38
- return CommitType.BugFix;
38
+ return "bugFix";
39
39
  }
40
40
  if (message.startsWith("docs")) {
41
- return CommitType.Doc;
41
+ return "doc";
42
42
  }
43
- return CommitType.Other;
43
+ return "other";
44
44
  }
45
45
  const AuthorMap = /* @__PURE__ */ new Map();
46
46
  async function getReleaseInfo(commit, commitObj, repo, authToken) {
@@ -114,23 +114,23 @@ async function genReleaseNote(options) {
114
114
  return "";
115
115
  }
116
116
  const releaseNote = {
117
- [CommitType.Performance]: {
117
+ ["performance"]: {
118
118
  en: [],
119
119
  zh: []
120
120
  },
121
- [CommitType.Features]: {
121
+ ["features"]: {
122
122
  en: [],
123
123
  zh: []
124
124
  },
125
- [CommitType.BugFix]: {
125
+ ["bugFix"]: {
126
126
  en: [],
127
127
  zh: []
128
128
  },
129
- [CommitType.Doc]: {
129
+ ["doc"]: {
130
130
  en: [],
131
131
  zh: []
132
132
  },
133
- [CommitType.Other]: {
133
+ ["other"]: {
134
134
  en: [],
135
135
  zh: []
136
136
  }
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.40.0",
18
+ "version": "2.41.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -50,19 +50,19 @@
50
50
  "@changesets/git": "^2.0.0",
51
51
  "@changesets/read": "^0.5.9",
52
52
  "resolve-from": "^5.0.0",
53
- "axios": "^1.2.1",
54
- "@swc/helpers": "0.5.1",
55
- "@modern-js/plugin-i18n": "2.40.0",
56
- "@modern-js/utils": "2.40.0"
53
+ "axios": "^1.6.0",
54
+ "@swc/helpers": "0.5.3",
55
+ "@modern-js/plugin-i18n": "2.41.0",
56
+ "@modern-js/utils": "2.41.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/jest": "^29",
60
60
  "@types/node": "^14",
61
61
  "typescript": "^5",
62
62
  "jest": "^29",
63
- "@modern-js/core": "2.40.0",
64
- "@scripts/build": "2.40.0",
65
- "@scripts/jest-config": "2.40.0"
63
+ "@modern-js/core": "2.41.0",
64
+ "@scripts/build": "2.41.0",
65
+ "@scripts/jest-config": "2.41.0"
66
66
  },
67
67
  "sideEffects": false,
68
68
  "publishConfig": {