@modern-js/monorepo-tools 1.5.1 → 1.17.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,77 @@
1
1
  # @modern-js/monorepo-tools
2
2
 
3
+ ## 1.17.0
4
+
5
+ ### Patch Changes
6
+
7
+ - fb30bca: feat: add upgrade tools and command
8
+
9
+ feat: 增加升级工具和升级命令
10
+
11
+ - Updated dependencies [1b9176f]
12
+ - Updated dependencies [77d3a38]
13
+ - Updated dependencies [fb30bca]
14
+ - Updated dependencies [f3fab28]
15
+ - Updated dependencies [151329d]
16
+ - Updated dependencies [367405a]
17
+ - Updated dependencies [5af9472]
18
+ - Updated dependencies [6b6a534]
19
+ - Updated dependencies [6b43a2b]
20
+ - Updated dependencies [9f4e5ce]
21
+ - Updated dependencies [58c53a7]
22
+ - Updated dependencies [a7be124]
23
+ - Updated dependencies [31547b4]
24
+ - @modern-js/utils@1.17.0
25
+ - @modern-js/upgrade@1.17.0
26
+ - @modern-js/new-action@1.17.0
27
+ - @modern-js/core@1.17.0
28
+ - @modern-js/plugin-changeset@1.17.0
29
+ - @modern-js/plugin-i18n@1.17.0
30
+ - @modern-js/plugin-jarvis@1.17.0
31
+ - @modern-js/plugin@1.17.0
32
+
33
+ ## 1.16.0
34
+
35
+ ### Minor Changes
36
+
37
+ - 1100dd58c: chore: support react 18
38
+
39
+ chore: 支持 React 18
40
+
41
+ ### Patch Changes
42
+
43
+ - Updated dependencies [641592f52]
44
+ - Updated dependencies [3904b30a5]
45
+ - Updated dependencies [1100dd58c]
46
+ - Updated dependencies [e04e6e76a]
47
+ - Updated dependencies [81c66e4a4]
48
+ - Updated dependencies [2c305b6f5]
49
+ - Updated dependencies [9d9bbfd05]
50
+ - @modern-js/utils@1.16.0
51
+ - @modern-js/new-action@1.16.0
52
+ - @modern-js/core@1.16.0
53
+ - @modern-js/plugin-changeset@1.16.0
54
+ - @modern-js/plugin-i18n@1.16.0
55
+ - @modern-js/plugin-jarvis@1.16.0
56
+ - @modern-js/plugin@1.16.0
57
+
58
+ ## 1.15.0
59
+
60
+ ### Patch Changes
61
+
62
+ - Updated dependencies [8658a78]
63
+ - Updated dependencies [05d4a4f]
64
+ - Updated dependencies [ad05af9]
65
+ - Updated dependencies [5d53d1c]
66
+ - Updated dependencies [37cd159]
67
+ - @modern-js/utils@1.15.0
68
+ - @modern-js/new-action@1.15.0
69
+ - @modern-js/core@1.15.0
70
+ - @modern-js/plugin-changeset@1.15.0
71
+ - @modern-js/plugin-i18n@1.15.0
72
+ - @modern-js/plugin-jarvis@1.15.0
73
+ - @modern-js/plugin@1.15.0
74
+
3
75
  ## 1.5.1
4
76
 
5
77
  ### 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.5.1",
14
+ "version": "1.17.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.14.0",
38
+ "@modern-js/core": "1.17.0",
39
39
  "@babel/runtime": "^7.18.0",
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",
44
- "@modern-js/plugin-jarvis": "^1.2.14",
45
- "@modern-js/utils": "^1.9.0",
40
+ "@modern-js/new-action": "1.17.0",
41
+ "@modern-js/upgrade": "1.17.0",
42
+ "@modern-js/plugin": "1.17.0",
43
+ "@modern-js/plugin-changeset": "1.17.0",
44
+ "@modern-js/plugin-i18n": "1.17.0",
45
+ "@modern-js/plugin-jarvis": "1.17.0",
46
+ "@modern-js/utils": "1.17.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": "0.0.0",
54
- "@scripts/jest-config": "0.0.0",
54
+ "@scripts/build": "1.17.0",
55
+ "@scripts/jest-config": "1.17.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
  },