@modern-js/plugin-changeset 2.5.0 → 2.7.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.
- package/CHANGELOG.md +30 -0
- package/dist/cjs/commands/index.js +1 -1
- package/dist/cjs/commands/release.js +4 -0
- package/dist/cjs/commands/{release-note.js → releaseNote.js} +7 -3
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/utils/changeset.js +4 -0
- package/dist/esm/commands/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/types/commands/index.d.ts +1 -1
- package/package.json +6 -6
- /package/dist/esm/commands/{release-note.js → releaseNote.js} +0 -0
- /package/dist/types/commands/{release-note.d.ts → releaseNote.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @modern-js/plugin-changeset
|
|
2
2
|
|
|
3
|
+
## 2.7.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7fff9020e1: chore: make file naming consistent
|
|
8
|
+
|
|
9
|
+
chore: 统一文件命名为小驼峰格式
|
|
10
|
+
|
|
11
|
+
- 1eea234fdd: chore: make test files naming consistent
|
|
12
|
+
|
|
13
|
+
chore: 统一测试文件命名为小驼峰格式
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [0f15fc597c]
|
|
16
|
+
- Updated dependencies [dcad887024]
|
|
17
|
+
- Updated dependencies [a4672f7c16]
|
|
18
|
+
- Updated dependencies [7fff9020e1]
|
|
19
|
+
- Updated dependencies [84bfb439b8]
|
|
20
|
+
- @modern-js/utils@2.7.0
|
|
21
|
+
- @modern-js/plugin-i18n@2.7.0
|
|
22
|
+
|
|
23
|
+
## 2.6.0
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [e1f799e]
|
|
28
|
+
- Updated dependencies [7915ab3]
|
|
29
|
+
- Updated dependencies [0fe658a]
|
|
30
|
+
- @modern-js/utils@2.6.0
|
|
31
|
+
- @modern-js/plugin-i18n@2.6.0
|
|
32
|
+
|
|
3
33
|
## 2.5.0
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
|
@@ -19,4 +19,4 @@ __reExport(commands_exports, require("./bump"), module.exports);
|
|
|
19
19
|
__reExport(commands_exports, require("./pre"), module.exports);
|
|
20
20
|
__reExport(commands_exports, require("./release"), module.exports);
|
|
21
21
|
__reExport(commands_exports, require("./status"), module.exports);
|
|
22
|
-
__reExport(commands_exports, require("./
|
|
22
|
+
__reExport(commands_exports, require("./releaseNote"), module.exports);
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -17,17 +17,21 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
23
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
28
|
+
var releaseNote_exports = {};
|
|
29
|
+
__export(releaseNote_exports, {
|
|
26
30
|
genReleaseNote: () => genReleaseNote,
|
|
27
31
|
getReleaseInfo: () => getReleaseInfo,
|
|
28
32
|
getReleaseNoteLine: () => getReleaseNoteLine
|
|
29
33
|
});
|
|
30
|
-
module.exports = __toCommonJS(
|
|
34
|
+
module.exports = __toCommonJS(releaseNote_exports);
|
|
31
35
|
var import_path = __toESM(require("path"));
|
|
32
36
|
var import_resolve_from = __toESM(require("resolve-from"));
|
|
33
37
|
var import_utils = require("@modern-js/utils");
|
package/dist/cjs/index.js
CHANGED
|
@@ -64,7 +64,7 @@ var src_default = () => ({
|
|
|
64
64
|
"--repo <repo>",
|
|
65
65
|
import_locale.i18n.t(import_locale.localeKeys.command.gen_release_note.repo)
|
|
66
66
|
).option(
|
|
67
|
-
"--custom <
|
|
67
|
+
"--custom <custom>",
|
|
68
68
|
import_locale.i18n.t(import_locale.localeKeys.command.gen_release_note.custom)
|
|
69
69
|
).action((options) => (0, import_commands.genReleaseNote)(options));
|
|
70
70
|
}
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
package/dist/esm/index.js
CHANGED
|
@@ -41,7 +41,7 @@ var src_default = () => ({
|
|
|
41
41
|
"--repo <repo>",
|
|
42
42
|
i18n.t(localeKeys.command.gen_release_note.repo)
|
|
43
43
|
).option(
|
|
44
|
-
"--custom <
|
|
44
|
+
"--custom <custom>",
|
|
45
45
|
i18n.t(localeKeys.command.gen_release_note.custom)
|
|
46
46
|
).action((options) => genReleaseNote(options));
|
|
47
47
|
}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "2.
|
|
14
|
+
"version": "2.7.0",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/cjs/index.js",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"@changesets/git": "^1.3.2",
|
|
36
36
|
"@changesets/read": "^0.5.5",
|
|
37
37
|
"resolve-from": "^5.0.0",
|
|
38
|
-
"@modern-js/plugin-i18n": "2.
|
|
39
|
-
"@modern-js/utils": "2.
|
|
38
|
+
"@modern-js/plugin-i18n": "2.7.0",
|
|
39
|
+
"@modern-js/utils": "2.7.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/jest": "^27",
|
|
43
43
|
"@types/node": "^14",
|
|
44
44
|
"typescript": "^4",
|
|
45
45
|
"jest": "^27",
|
|
46
|
-
"@modern-js/core": "2.
|
|
47
|
-
"@scripts/jest-config": "2.
|
|
48
|
-
"@scripts/build": "2.
|
|
46
|
+
"@modern-js/core": "2.7.0",
|
|
47
|
+
"@scripts/jest-config": "2.7.0",
|
|
48
|
+
"@scripts/build": "2.7.0"
|
|
49
49
|
},
|
|
50
50
|
"sideEffects": false,
|
|
51
51
|
"publishConfig": {
|
|
File without changes
|
|
File without changes
|