@modern-js/monorepo-tools 1.15.0 → 1.18.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,79 @@
1
1
  # @modern-js/monorepo-tools
2
2
 
3
+ ## 1.18.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [8280920]
8
+ - Updated dependencies [9f13d8c]
9
+ - Updated dependencies [60a2e3a]
10
+ - Updated dependencies [5227370]
11
+ - Updated dependencies [66ad36f]
12
+ - Updated dependencies [7928bae]
13
+ - @modern-js/utils@1.18.0
14
+ - @modern-js/upgrade@1.18.0
15
+ - @modern-js/core@1.18.0
16
+ - @modern-js/plugin-changeset@1.18.0
17
+ - @modern-js/plugin-i18n@1.18.0
18
+ - @modern-js/plugin-jarvis@1.18.0
19
+ - @modern-js/new-action@1.18.0
20
+ - @modern-js/plugin@1.18.0
21
+
22
+ ## 1.17.0
23
+
24
+ ### Patch Changes
25
+
26
+ - fb30bca: feat: add upgrade tools and command
27
+
28
+ feat: 增加升级工具和升级命令
29
+
30
+ - Updated dependencies [1b9176f]
31
+ - Updated dependencies [77d3a38]
32
+ - Updated dependencies [fb30bca]
33
+ - Updated dependencies [f3fab28]
34
+ - Updated dependencies [151329d]
35
+ - Updated dependencies [367405a]
36
+ - Updated dependencies [5af9472]
37
+ - Updated dependencies [6b6a534]
38
+ - Updated dependencies [6b43a2b]
39
+ - Updated dependencies [9f4e5ce]
40
+ - Updated dependencies [58c53a7]
41
+ - Updated dependencies [a7be124]
42
+ - Updated dependencies [31547b4]
43
+ - @modern-js/utils@1.17.0
44
+ - @modern-js/upgrade@1.17.0
45
+ - @modern-js/new-action@1.17.0
46
+ - @modern-js/core@1.17.0
47
+ - @modern-js/plugin-changeset@1.17.0
48
+ - @modern-js/plugin-i18n@1.17.0
49
+ - @modern-js/plugin-jarvis@1.17.0
50
+ - @modern-js/plugin@1.17.0
51
+
52
+ ## 1.16.0
53
+
54
+ ### Minor Changes
55
+
56
+ - 1100dd58c: chore: support react 18
57
+
58
+ chore: 支持 React 18
59
+
60
+ ### Patch Changes
61
+
62
+ - Updated dependencies [641592f52]
63
+ - Updated dependencies [3904b30a5]
64
+ - Updated dependencies [1100dd58c]
65
+ - Updated dependencies [e04e6e76a]
66
+ - Updated dependencies [81c66e4a4]
67
+ - Updated dependencies [2c305b6f5]
68
+ - Updated dependencies [9d9bbfd05]
69
+ - @modern-js/utils@1.16.0
70
+ - @modern-js/new-action@1.16.0
71
+ - @modern-js/core@1.16.0
72
+ - @modern-js/plugin-changeset@1.16.0
73
+ - @modern-js/plugin-i18n@1.16.0
74
+ - @modern-js/plugin-jarvis@1.16.0
75
+ - @modern-js/plugin@1.16.0
76
+
3
77
  ## 1.15.0
4
78
 
5
79
  ### Patch Changes
@@ -1,9 +1,11 @@
1
1
  import ChangesetPlugin from '@modern-js/plugin-changeset';
2
2
  import LintPlugin from '@modern-js/plugin-jarvis';
3
+ import { Import } from '@modern-js/utils';
3
4
  import { i18n } from "./locale";
4
5
  import { newCli, deployCli, clearCli } from "./cli";
5
6
  import { getLocaleLanguage } from "./utils/language";
6
7
  import { hooks } from "./hooks";
8
+ const upgradeModel = Import.lazy('@modern-js/upgrade', require);
7
9
  export default (() => ({
8
10
  name: '@modern-js/monorepo-tools',
9
11
  usePlugins: [ChangesetPlugin(), LintPlugin()],
@@ -20,6 +22,7 @@ export default (() => ({
20
22
  clearCli(program, api);
21
23
  deployCli(program, api);
22
24
  newCli(program, locale);
25
+ upgradeModel.defineCommand(program.command('upgrade'));
23
26
  }
24
27
 
25
28
  };
@@ -9,6 +9,8 @@ var _pluginChangeset = _interopRequireDefault(require("@modern-js/plugin-changes
9
9
 
10
10
  var _pluginJarvis = _interopRequireDefault(require("@modern-js/plugin-jarvis"));
11
11
 
12
+ var _utils = require("@modern-js/utils");
13
+
12
14
  var _locale = require("./locale");
13
15
 
14
16
  var _cli = require("./cli");
@@ -19,6 +21,8 @@ var _hooks = require("./hooks");
19
21
 
20
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
23
 
24
+ const upgradeModel = _utils.Import.lazy('@modern-js/upgrade', require);
25
+
22
26
  var _default = () => ({
23
27
  name: '@modern-js/monorepo-tools',
24
28
  usePlugins: [(0, _pluginChangeset.default)(), (0, _pluginJarvis.default)()],
@@ -37,6 +41,7 @@ var _default = () => ({
37
41
  (0, _cli.clearCli)(program, api);
38
42
  (0, _cli.deployCli)(program, api);
39
43
  (0, _cli.newCli)(program, locale);
44
+ upgradeModel.defineCommand(program.command('upgrade'));
40
45
  }
41
46
 
42
47
  };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.15.0",
14
+ "version": "1.18.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,15 @@
35
35
  "modern": "./bin/modern.js"
36
36
  },
37
37
  "dependencies": {
38
- "@modern-js/core": "1.15.0",
38
+ "@modern-js/core": "1.18.0",
39
39
  "@babel/runtime": "^7.18.0",
40
- "@modern-js/new-action": "1.15.0",
41
- "@modern-js/plugin": "1.15.0",
42
- "@modern-js/plugin-changeset": "1.15.0",
43
- "@modern-js/plugin-i18n": "1.15.0",
44
- "@modern-js/plugin-jarvis": "1.15.0",
45
- "@modern-js/utils": "1.15.0",
40
+ "@modern-js/new-action": "1.18.0",
41
+ "@modern-js/upgrade": "1.18.0",
42
+ "@modern-js/plugin": "1.18.0",
43
+ "@modern-js/plugin-changeset": "1.18.0",
44
+ "@modern-js/plugin-i18n": "1.18.0",
45
+ "@modern-js/plugin-jarvis": "1.18.0",
46
+ "@modern-js/utils": "1.18.0",
46
47
  "@rushstack/node-core-library": "^3.39.1",
47
48
  "@rushstack/package-deps-hash": "^3.0.54",
48
49
  "anymatch": "^3.1.2",
@@ -50,13 +51,11 @@
50
51
  "p-map": "^4.0.0"
51
52
  },
52
53
  "devDependencies": {
53
- "@scripts/build": "1.15.0",
54
- "@scripts/jest-config": "1.15.0",
54
+ "@scripts/build": "1.18.0",
55
+ "@scripts/jest-config": "1.18.0",
55
56
  "@types/jest": "^27",
56
57
  "@types/md5": "^2.3.1",
57
58
  "@types/node": "^14",
58
- "@types/react": "^17",
59
- "@types/react-dom": "^17",
60
59
  "jest": "^27",
61
60
  "typescript": "^4"
62
61
  },