@modern-js/app-tools 1.22.3 → 1.22.5

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,44 @@
1
1
  # @modern-js/app-tools
2
2
 
3
+ ## 1.22.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [cc2d4fc]
8
+ - Updated dependencies [727ab43]
9
+ - @modern-js/prod-server@1.22.5
10
+ - @modern-js/server@1.22.5
11
+ - @modern-js/core@1.22.5
12
+ - @modern-js/plugin-i18n@1.22.5
13
+ - @modern-js/plugin-jarvis@1.22.5
14
+ - @modern-js/webpack@1.22.5
15
+ - @modern-js/new-action@1.22.5
16
+ - @modern-js/node-bundle-require@1.22.5
17
+ - @modern-js/plugin@1.22.5
18
+ - @modern-js/types@1.22.5
19
+ - @modern-js/upgrade@1.22.5
20
+ - @modern-js/utils@1.22.5
21
+
22
+ ## 1.22.4
23
+
24
+ ### Patch Changes
25
+
26
+ - aa490af: fix: can't exit process after build
27
+ fix: 在 build 后不退出程序
28
+ - Updated dependencies [08e3aab]
29
+ - @modern-js/new-action@1.22.4
30
+ - @modern-js/core@1.22.4
31
+ - @modern-js/plugin-i18n@1.22.4
32
+ - @modern-js/plugin-jarvis@1.22.4
33
+ - @modern-js/webpack@1.22.4
34
+ - @modern-js/prod-server@1.22.4
35
+ - @modern-js/server@1.22.4
36
+ - @modern-js/node-bundle-require@1.22.4
37
+ - @modern-js/plugin@1.22.4
38
+ - @modern-js/types@1.22.4
39
+ - @modern-js/upgrade@1.22.4
40
+ - @modern-js/utils@1.22.4
41
+
3
42
  ## 1.22.3
4
43
 
5
44
  ### Patch Changes
@@ -38,10 +38,7 @@ export default (() => ({
38
38
  const {
39
39
  build
40
40
  } = await import("./commands/build");
41
- await build(api, options); // force exit after build.
42
- // eslint-disable-next-line no-process-exit
43
-
44
- process.exit(0);
41
+ await build(api, options);
45
42
  });
46
43
  program.command('start').usage('[options]').description(i18n.t(localeKeys.command.start.describe)).option('--api-only', i18n.t(localeKeys.command.dev.apiOnly)).option('-c --config <config>', i18n.t(localeKeys.command.shared.config)).action(async () => {
47
44
  const {
@@ -67,10 +67,7 @@ var _default = () => ({
67
67
  const {
68
68
  build
69
69
  } = await Promise.resolve().then(() => _interopRequireWildcard(require("./commands/build")));
70
- await build(api, options); // force exit after build.
71
- // eslint-disable-next-line no-process-exit
72
-
73
- process.exit(0);
70
+ await build(api, options);
74
71
  });
75
72
  program.command('start').usage('[options]').description(_locale.i18n.t(_locale.localeKeys.command.start.describe)).option('--api-only', _locale.i18n.t(_locale.localeKeys.command.dev.apiOnly)).option('-c --config <config>', _locale.i18n.t(_locale.localeKeys.command.shared.config)).action(async () => {
76
73
  const {
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.22.3",
14
+ "version": "1.22.5",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -59,18 +59,18 @@
59
59
  "@babel/parser": "^7.18.0",
60
60
  "@babel/traverse": "^7.18.0",
61
61
  "@babel/types": "^7.18.0",
62
- "@modern-js/core": "1.22.3",
63
- "@modern-js/new-action": "1.22.3",
64
- "@modern-js/upgrade": "1.22.3",
65
- "@modern-js/node-bundle-require": "1.22.3",
66
- "@modern-js/plugin": "1.22.3",
67
- "@modern-js/plugin-i18n": "1.22.3",
68
- "@modern-js/plugin-jarvis": "1.22.3",
69
- "@modern-js/prod-server": "1.22.3",
70
- "@modern-js/server": "1.22.3",
71
- "@modern-js/types": "1.22.3",
72
- "@modern-js/utils": "1.22.3",
73
- "@modern-js/webpack": "1.22.3"
62
+ "@modern-js/core": "1.22.5",
63
+ "@modern-js/new-action": "1.22.5",
64
+ "@modern-js/node-bundle-require": "1.22.5",
65
+ "@modern-js/upgrade": "1.22.5",
66
+ "@modern-js/plugin": "1.22.5",
67
+ "@modern-js/plugin-i18n": "1.22.5",
68
+ "@modern-js/plugin-jarvis": "1.22.5",
69
+ "@modern-js/prod-server": "1.22.5",
70
+ "@modern-js/server": "1.22.5",
71
+ "@modern-js/types": "1.22.5",
72
+ "@modern-js/utils": "1.22.5",
73
+ "@modern-js/webpack": "1.22.5"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/babel__traverse": "^7.14.2",
@@ -78,9 +78,9 @@
78
78
  "@types/node": "^14",
79
79
  "jest": "^27",
80
80
  "typescript": "^4",
81
- "@modern-js/server-core": "1.22.3",
82
- "@scripts/build": "1.22.3",
83
- "@scripts/jest-config": "1.22.3"
81
+ "@modern-js/server-core": "1.22.5",
82
+ "@scripts/build": "1.22.5",
83
+ "@scripts/jest-config": "1.22.5"
84
84
  },
85
85
  "sideEffects": false,
86
86
  "publishConfig": {