@modern-js/monorepo-tools 1.4.7 → 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 +45 -0
- package/dist/js/modern/index.js +2 -1
- package/dist/js/modern/utils/language.js +1 -1
- package/dist/js/node/index.js +3 -1
- package/dist/js/node/utils/language.js +2 -2
- package/dist/types/cli/new.d.ts +1 -1
- package/dist/types/log/multi-tasks-log.d.ts +1 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
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
|
+
|
|
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
|
|
47
|
+
|
|
3
48
|
## 1.4.7
|
|
4
49
|
|
|
5
50
|
### Patch Changes
|
package/dist/js/modern/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import ChangesetPlugin from '@modern-js/plugin-changeset';
|
|
2
|
+
import LintPlugin from '@modern-js/plugin-jarvis';
|
|
2
3
|
import { i18n } from "./locale";
|
|
3
4
|
import { newCli, deployCli, clearCli } from "./cli";
|
|
4
5
|
import { getLocaleLanguage } from "./utils/language";
|
|
5
6
|
import { hooks } from "./hooks";
|
|
6
7
|
export default (() => ({
|
|
7
8
|
name: '@modern-js/monorepo-tools',
|
|
8
|
-
usePlugins: [ChangesetPlugin()],
|
|
9
|
+
usePlugins: [ChangesetPlugin(), LintPlugin()],
|
|
9
10
|
registerHook: hooks,
|
|
10
11
|
setup: api => {
|
|
11
12
|
const locale = getLocaleLanguage();
|
|
@@ -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();
|
package/dist/js/node/index.js
CHANGED
|
@@ -7,6 +7,8 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _pluginChangeset = _interopRequireDefault(require("@modern-js/plugin-changeset"));
|
|
9
9
|
|
|
10
|
+
var _pluginJarvis = _interopRequireDefault(require("@modern-js/plugin-jarvis"));
|
|
11
|
+
|
|
10
12
|
var _locale = require("./locale");
|
|
11
13
|
|
|
12
14
|
var _cli = require("./cli");
|
|
@@ -19,7 +21,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
19
21
|
|
|
20
22
|
var _default = () => ({
|
|
21
23
|
name: '@modern-js/monorepo-tools',
|
|
22
|
-
usePlugins: [(0, _pluginChangeset.default)()],
|
|
24
|
+
usePlugins: [(0, _pluginChangeset.default)(), (0, _pluginJarvis.default)()],
|
|
23
25
|
registerHook: _hooks.hooks,
|
|
24
26
|
setup: api => {
|
|
25
27
|
const locale = (0, _language.getLocaleLanguage)();
|
|
@@ -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/dist/types/cli/new.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Command } from '@modern-js/utils';
|
|
2
|
-
export declare const newCli: (program: Command, locale?: string
|
|
2
|
+
export declare const newCli: (program: Command, locale?: string) => void;
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.
|
|
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,14 +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.
|
|
43
|
-
"@modern-js/plugin-
|
|
44
|
-
"@modern-js/plugin-
|
|
45
|
-
"@modern-js/utils": "^1.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",
|
|
44
|
+
"@modern-js/plugin-jarvis": "^1.2.14",
|
|
45
|
+
"@modern-js/utils": "^1.7.12",
|
|
46
46
|
"@rushstack/node-core-library": "^3.39.1",
|
|
47
47
|
"@rushstack/package-deps-hash": "^3.0.54",
|
|
48
48
|
"anymatch": "^3.1.2",
|