@modern-js/monorepo-tools 1.4.8-alpha.0 → 1.5.1-beta.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
CHANGED
|
@@ -1,23 +1,49 @@
|
|
|
1
1
|
# @modern-js/monorepo-tools
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
4
|
-
|
|
5
|
-
###
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
3
|
+
## 1.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 33cebd2: chore(plugin-i18n): merge `@modern-js/i18n-cli-language-detector` to `@modern-js/plugin-i18n`
|
|
8
|
+
|
|
9
|
+
chore(plugin-i18n): 合并 `@modern-js/i18n-cli-language-detector` 包到 `@modern-js/plugin-i18n` 包作为子路径
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 74e74ee: fix: monorepo-tools new command plugin params not work
|
|
14
|
+
|
|
15
|
+
fix: 修复 monorepo-tools new 命令 plugin 参数不生效问题
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [33cebd2]
|
|
18
|
+
- Updated dependencies [33cebd2]
|
|
19
|
+
- Updated dependencies [33cebd2]
|
|
20
|
+
- Updated dependencies [2e8ea92]
|
|
21
|
+
- Updated dependencies [74e74ee]
|
|
22
|
+
- @modern-js/core@1.13.0
|
|
23
|
+
- @modern-js/plugin-changeset@1.4.0
|
|
24
|
+
- @modern-js/plugin-i18n@1.3.0
|
|
25
|
+
- @modern-js/new-action@1.3.12
|
|
26
|
+
- @modern-js/plugin-jarvis@1.2.14
|
|
27
|
+
- @modern-js/utils@1.7.12
|
|
28
|
+
|
|
29
|
+
## 1.4.8
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- eeedc80: feat: add plugin-jarvis to dependencies of solutions
|
|
34
|
+
- Updated dependencies [f29e9ba]
|
|
35
|
+
- Updated dependencies [d9564f2]
|
|
36
|
+
- Updated dependencies [1a57595]
|
|
37
|
+
- Updated dependencies [42741db]
|
|
38
|
+
- Updated dependencies [341bb42]
|
|
39
|
+
- Updated dependencies [f29e9ba]
|
|
40
|
+
- Updated dependencies [a90bc96]
|
|
41
|
+
- @modern-js/core@1.12.2
|
|
42
|
+
- @modern-js/plugin-jarvis@1.2.14
|
|
43
|
+
- @modern-js/plugin-changeset@1.3.1
|
|
44
|
+
- @modern-js/new-action@1.3.11
|
|
45
|
+
- @modern-js/plugin@1.4.0
|
|
46
|
+
- @modern-js/utils@1.7.9
|
|
21
47
|
|
|
22
48
|
## 1.4.7
|
|
23
49
|
|
|
@@ -59,6 +59,7 @@ const generatorAndCopyRequiredFiles = (rootPath, deployDir) => {
|
|
|
59
59
|
copy('.npmrc');
|
|
60
60
|
copy('package.json');
|
|
61
61
|
copy('pnpm-workspace.yaml');
|
|
62
|
+
copy('lerna.json');
|
|
62
63
|
copy('.pnpmfile.cjs');
|
|
63
64
|
copy('tsconfig.json');
|
|
64
65
|
copy('modern.config.js'); // TODO: 暂时配置,要移除
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I18CLILanguageDetector } from '@modern-js/i18n
|
|
1
|
+
import { I18CLILanguageDetector } from '@modern-js/plugin-i18n/language-detector';
|
|
2
2
|
export function getLocaleLanguage() {
|
|
3
3
|
const detector = new I18CLILanguageDetector();
|
|
4
4
|
return detector.detect();
|
|
@@ -74,6 +74,7 @@ const generatorAndCopyRequiredFiles = (rootPath, deployDir) => {
|
|
|
74
74
|
copy('.npmrc');
|
|
75
75
|
copy('package.json');
|
|
76
76
|
copy('pnpm-workspace.yaml');
|
|
77
|
+
copy('lerna.json');
|
|
77
78
|
copy('.pnpmfile.cjs');
|
|
78
79
|
copy('tsconfig.json');
|
|
79
80
|
copy('modern.config.js'); // TODO: 暂时配置,要移除
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.getLocaleLanguage = getLocaleLanguage;
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _languageDetector = require("@modern-js/plugin-i18n/language-detector");
|
|
9
9
|
|
|
10
10
|
function getLocaleLanguage() {
|
|
11
|
-
const detector = new
|
|
11
|
+
const detector = new _languageDetector.I18CLILanguageDetector();
|
|
12
12
|
return detector.detect();
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.5.1-beta.0",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -35,15 +35,14 @@
|
|
|
35
35
|
"modern": "./bin/modern.js"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@modern-js/core": "^1.
|
|
38
|
+
"@modern-js/core": "^1.13.0",
|
|
39
39
|
"@babel/runtime": "^7.18.0",
|
|
40
|
-
"@modern-js/
|
|
41
|
-
"@modern-js/
|
|
42
|
-
"@modern-js/plugin": "^1.4.0
|
|
43
|
-
"@modern-js/plugin-
|
|
44
|
-
"@modern-js/plugin-
|
|
45
|
-
"@modern-js/
|
|
46
|
-
"@modern-js/utils": "^1.7.9-alpha.0",
|
|
40
|
+
"@modern-js/new-action": "^1.3.12",
|
|
41
|
+
"@modern-js/plugin": "^1.4.1",
|
|
42
|
+
"@modern-js/plugin-changeset": "^1.4.0",
|
|
43
|
+
"@modern-js/plugin-i18n": "^1.3.0",
|
|
44
|
+
"@modern-js/plugin-jarvis": "^1.2.14",
|
|
45
|
+
"@modern-js/utils": "^1.7.12",
|
|
47
46
|
"@rushstack/node-core-library": "^3.39.1",
|
|
48
47
|
"@rushstack/package-deps-hash": "^3.0.54",
|
|
49
48
|
"anymatch": "^3.1.2",
|
|
@@ -69,7 +68,8 @@
|
|
|
69
68
|
},
|
|
70
69
|
"publishConfig": {
|
|
71
70
|
"registry": "https://registry.npmjs.org/",
|
|
72
|
-
"access": "public"
|
|
71
|
+
"access": "public",
|
|
72
|
+
"types": "./dist/types/index.d.ts"
|
|
73
73
|
},
|
|
74
74
|
"wireit": {
|
|
75
75
|
"build": {
|