@modern-js/plugin-changeset 1.3.1-alpha.0 → 1.3.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/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
# @modern-js/plugin-changeset
|
|
2
2
|
|
|
3
|
-
## 1.3.1
|
|
3
|
+
## 1.3.1
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
- Updated dependencies [
|
|
9
|
-
- @modern-js/utils@1.7.9
|
|
10
|
-
- @modern-js/plugin-i18n@1.2.8-alpha.0
|
|
7
|
+
- 42741db: perf(plugin-changeset): optimize custom generator release note
|
|
8
|
+
- Updated dependencies [a90bc96]
|
|
9
|
+
- @modern-js/utils@1.7.9
|
|
11
10
|
|
|
12
11
|
## 1.3.0
|
|
13
12
|
|
|
@@ -111,18 +111,20 @@ export async function genReleaseNote(options) {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
if (features.length) {
|
|
114
|
-
console.info('Features:\n');
|
|
115
|
-
|
|
114
|
+
console.info('## Features:\n');
|
|
115
|
+
|
|
116
|
+
for (const commit of features) {
|
|
116
117
|
const releaseNote = await getReleaseNoteLine(commit, customReleaseNoteFunction);
|
|
117
118
|
console.info(releaseNote);
|
|
118
|
-
}
|
|
119
|
+
}
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
if (bugFix.length) {
|
|
122
|
-
console.info('Bug Fix:\n');
|
|
123
|
-
|
|
123
|
+
console.info('## Bug Fix:\n');
|
|
124
|
+
|
|
125
|
+
for (const commit of bugFix) {
|
|
124
126
|
const relesaeNote = await getReleaseNoteLine(commit, customReleaseNoteFunction);
|
|
125
127
|
console.info(relesaeNote);
|
|
126
|
-
}
|
|
128
|
+
}
|
|
127
129
|
}
|
|
128
130
|
}
|
|
@@ -128,18 +128,20 @@ async function genReleaseNote(options) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
if (features.length) {
|
|
131
|
-
console.info('Features:\n');
|
|
132
|
-
|
|
131
|
+
console.info('## Features:\n');
|
|
132
|
+
|
|
133
|
+
for (const commit of features) {
|
|
133
134
|
const releaseNote = await getReleaseNoteLine(commit, customReleaseNoteFunction);
|
|
134
135
|
console.info(releaseNote);
|
|
135
|
-
}
|
|
136
|
+
}
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
if (bugFix.length) {
|
|
139
|
-
console.info('Bug Fix:\n');
|
|
140
|
-
|
|
140
|
+
console.info('## Bug Fix:\n');
|
|
141
|
+
|
|
142
|
+
for (const commit of bugFix) {
|
|
141
143
|
const relesaeNote = await getReleaseNoteLine(commit, customReleaseNoteFunction);
|
|
142
144
|
console.info(relesaeNote);
|
|
143
|
-
}
|
|
145
|
+
}
|
|
144
146
|
}
|
|
145
147
|
}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.3.1
|
|
14
|
+
"version": "1.3.1",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"@changesets/git": "^1.3.2",
|
|
38
38
|
"@changesets/read": "^0.5.5",
|
|
39
39
|
"@modern-js/i18n-cli-language-detector": "^1.2.4",
|
|
40
|
-
"@modern-js/plugin-i18n": "^1.2.
|
|
41
|
-
"@modern-js/utils": "^1.7.9
|
|
40
|
+
"@modern-js/plugin-i18n": "^1.2.7",
|
|
41
|
+
"@modern-js/utils": "^1.7.9",
|
|
42
42
|
"execa": "^5.1.1",
|
|
43
43
|
"resolve-from": "^5.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@modern-js/core": "1.12.2
|
|
46
|
+
"@modern-js/core": "1.12.2",
|
|
47
47
|
"@scripts/build": "0.0.0",
|
|
48
48
|
"@types/jest": "^27",
|
|
49
49
|
"@types/node": "^14",
|