@modern-js/monorepo-tools 1.4.8 → 1.5.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,5 +1,46 @@
1
1
  # @modern-js/monorepo-tools
2
2
 
3
+ ## 1.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 32430f9: fix: copy lerna.json
8
+ fix: 复制 lerna.json 文件
9
+ - Updated dependencies [79e83ef]
10
+ - Updated dependencies [22f4dca]
11
+ - Updated dependencies [7b9067f]
12
+ - Updated dependencies [3c20a5e]
13
+ - @modern-js/utils@1.9.0
14
+ - @modern-js/core@1.14.0
15
+ - @modern-js/plugin-changeset@1.4.1
16
+ - @modern-js/plugin-jarvis@1.2.14
17
+
18
+ ## 1.5.0
19
+
20
+ ### Minor Changes
21
+
22
+ - 33cebd2: chore(plugin-i18n): merge `@modern-js/i18n-cli-language-detector` to `@modern-js/plugin-i18n`
23
+
24
+ chore(plugin-i18n): 合并 `@modern-js/i18n-cli-language-detector` 包到 `@modern-js/plugin-i18n` 包作为子路径
25
+
26
+ ### Patch Changes
27
+
28
+ - 74e74ee: fix: monorepo-tools new command plugin params not work
29
+
30
+ fix: 修复 monorepo-tools new 命令 plugin 参数不生效问题
31
+
32
+ - Updated dependencies [33cebd2]
33
+ - Updated dependencies [33cebd2]
34
+ - Updated dependencies [33cebd2]
35
+ - Updated dependencies [2e8ea92]
36
+ - Updated dependencies [74e74ee]
37
+ - @modern-js/core@1.13.0
38
+ - @modern-js/plugin-changeset@1.4.0
39
+ - @modern-js/plugin-i18n@1.3.0
40
+ - @modern-js/new-action@1.3.12
41
+ - @modern-js/plugin-jarvis@1.2.14
42
+ - @modern-js/utils@1.7.12
43
+
3
44
  ## 1.4.8
4
45
 
5
46
  ### Patch Changes
@@ -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-cli-language-detector';
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 _i18nCliLanguageDetector = require("@modern-js/i18n-cli-language-detector");
8
+ var _languageDetector = require("@modern-js/plugin-i18n/language-detector");
9
9
 
10
10
  function getLocaleLanguage() {
11
- const detector = new _i18nCliLanguageDetector.I18CLILanguageDetector();
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.4.8",
14
+ "version": "1.5.1",
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.12.2",
38
+ "@modern-js/core": "^1.14.0",
39
39
  "@babel/runtime": "^7.18.0",
40
- "@modern-js/i18n-cli-language-detector": "^1.2.4",
41
- "@modern-js/new-action": "^1.3.11",
42
- "@modern-js/plugin": "^1.4.0",
43
- "@modern-js/plugin-changeset": "^1.3.1",
44
- "@modern-js/plugin-i18n": "^1.2.7",
40
+ "@modern-js/new-action": "^1.3.12",
41
+ "@modern-js/plugin": "^1.4.1",
42
+ "@modern-js/plugin-changeset": "^1.4.1",
43
+ "@modern-js/plugin-i18n": "^1.3.0",
45
44
  "@modern-js/plugin-jarvis": "^1.2.14",
46
- "@modern-js/utils": "^1.7.9",
45
+ "@modern-js/utils": "^1.9.0",
47
46
  "@rushstack/node-core-library": "^3.39.1",
48
47
  "@rushstack/package-deps-hash": "^3.0.54",
49
48
  "anymatch": "^3.1.2",