@modern-js/plugin-changeset 2.58.1 → 2.58.3
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/dist/cjs/commands/change.js +1 -1
- package/dist/cjs/commands/release.js +1 -1
- package/dist/cjs/commands/releaseNote.js +3 -3
- package/dist/cjs/locale/index.js +1 -1
- package/dist/esm/commands/change.js +2 -2
- package/dist/esm/commands/release.js +1 -1
- package/dist/esm/commands/releaseNote.js +3 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/locale/index.js +1 -1
- package/package.json +7 -7
|
@@ -22,8 +22,8 @@ __export(change_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(change_exports);
|
|
24
24
|
var import_utils = require("@modern-js/utils");
|
|
25
|
-
var import_utils2 = require("../utils");
|
|
26
25
|
var import_locale = require("../locale");
|
|
26
|
+
var import_utils2 = require("../utils");
|
|
27
27
|
async function change(options) {
|
|
28
28
|
const appDir = process.cwd();
|
|
29
29
|
if ((0, import_utils.isMonorepo)(appDir)) {
|
|
@@ -32,8 +32,8 @@ __export(release_exports, {
|
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(release_exports);
|
|
34
34
|
var import_path = __toESM(require("path"));
|
|
35
|
-
var import_utils = require("@modern-js/utils");
|
|
36
35
|
var import_git = require("@changesets/git");
|
|
36
|
+
var import_utils = require("@modern-js/utils");
|
|
37
37
|
var import_utils2 = require("../utils");
|
|
38
38
|
async function release(options) {
|
|
39
39
|
const appDir = process.cwd();
|
|
@@ -40,10 +40,10 @@ __export(releaseNote_exports, {
|
|
|
40
40
|
});
|
|
41
41
|
module.exports = __toCommonJS(releaseNote_exports);
|
|
42
42
|
var import_path = __toESM(require("path"));
|
|
43
|
-
var import_resolve_from = __toESM(require("resolve-from"));
|
|
44
|
-
var import_axios = __toESM(require("axios"));
|
|
45
|
-
var import_utils = require("@modern-js/utils");
|
|
46
43
|
var import_read = __toESM(require("@changesets/read"));
|
|
44
|
+
var import_utils = require("@modern-js/utils");
|
|
45
|
+
var import_axios = __toESM(require("axios"));
|
|
46
|
+
var import_resolve_from = __toESM(require("resolve-from"));
|
|
47
47
|
var CommitType;
|
|
48
48
|
(function(CommitType2) {
|
|
49
49
|
CommitType2["Performance"] = "performance";
|
package/dist/cjs/locale/index.js
CHANGED
|
@@ -23,8 +23,8 @@ __export(locale_exports, {
|
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(locale_exports);
|
|
25
25
|
var import_plugin_i18n = require("@modern-js/plugin-i18n");
|
|
26
|
-
var import_zh = require("./zh");
|
|
27
26
|
var import_en = require("./en");
|
|
27
|
+
var import_zh = require("./zh");
|
|
28
28
|
const i18n = new import_plugin_i18n.I18n();
|
|
29
29
|
const localeKeys = i18n.init("en", {
|
|
30
30
|
zh: import_zh.ZH_LOCALE,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CHANGESET_PATH, execaWithStreamLog } from "../utils";
|
|
1
|
+
import { getMonorepoPackages, getPackageManager, isMonorepo, logger } from "@modern-js/utils";
|
|
3
2
|
import { i18n, localeKeys } from "../locale";
|
|
3
|
+
import { CHANGESET_PATH, execaWithStreamLog } from "../utils";
|
|
4
4
|
async function change(options) {
|
|
5
5
|
const appDir = process.cwd();
|
|
6
6
|
if (isMonorepo(appDir)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "path";
|
|
2
|
-
import { getPackageManager, isMonorepo, fs, getPnpmVersion, semver } from "@modern-js/utils";
|
|
3
2
|
import { tag as gitTag } from "@changesets/git";
|
|
3
|
+
import { fs, getPackageManager, getPnpmVersion, isMonorepo, semver } from "@modern-js/utils";
|
|
4
4
|
import { CHANGESET_PATH, execaWithStreamLog } from "../utils";
|
|
5
5
|
async function release(options) {
|
|
6
6
|
const appDir = process.cwd();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import path from "path";
|
|
2
|
-
import resolveFrom from "resolve-from";
|
|
3
|
-
import axios from "axios";
|
|
4
|
-
import { fs, execa } from "@modern-js/utils";
|
|
5
2
|
import readChangesets from "@changesets/read";
|
|
3
|
+
import { fs, execa } from "@modern-js/utils";
|
|
4
|
+
import axios from "axios";
|
|
5
|
+
import resolveFrom from "resolve-from";
|
|
6
6
|
var CommitType;
|
|
7
7
|
(function(CommitType2) {
|
|
8
8
|
CommitType2["Performance"] = "performance";
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getLocaleLanguage } from "@modern-js/plugin-i18n/language-detector";
|
|
2
|
-
import { change,
|
|
2
|
+
import { bump, change, genReleaseNote, pre, release, status } from "./commands";
|
|
3
3
|
import { i18n, localeKeys } from "./locale";
|
|
4
4
|
export * from "./commands";
|
|
5
5
|
const changesetPlugin = () => ({
|
package/dist/esm/locale/index.js
CHANGED
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.58.
|
|
18
|
+
"version": "2.58.3",
|
|
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
|
"@swc/helpers": "0.5.3",
|
|
53
|
-
"axios": "^1.
|
|
53
|
+
"axios": "^1.7.4",
|
|
54
54
|
"resolve-from": "^5.0.0",
|
|
55
|
-
"@modern-js/plugin-i18n": "2.58.
|
|
56
|
-
"@modern-js/utils": "2.58.
|
|
55
|
+
"@modern-js/plugin-i18n": "2.58.3",
|
|
56
|
+
"@modern-js/utils": "2.58.3"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/jest": "^29",
|
|
60
60
|
"@types/node": "^14",
|
|
61
61
|
"jest": "^29",
|
|
62
62
|
"typescript": "^5",
|
|
63
|
-
"@modern-js/core": "2.58.
|
|
64
|
-
"@scripts/
|
|
65
|
-
"@scripts/
|
|
63
|
+
"@modern-js/core": "2.58.3",
|
|
64
|
+
"@scripts/jest-config": "2.58.3",
|
|
65
|
+
"@scripts/build": "2.58.3"
|
|
66
66
|
},
|
|
67
67
|
"sideEffects": false,
|
|
68
68
|
"publishConfig": {
|