@modern-js/monorepo-tools 1.4.8 → 1.5.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,5 +1,31 @@
1
1
  # @modern-js/monorepo-tools
2
2
 
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
+
3
29
  ## 1.4.8
4
30
 
5
31
  ### Patch Changes
@@ -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();
@@ -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.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.12.2",
38
+ "@modern-js/core": "^1.13.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.0",
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.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",