@modern-js/app-tools 1.22.2 → 1.22.4

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,42 @@
1
1
  # @modern-js/app-tools
2
2
 
3
+ ## 1.22.4
4
+
5
+ ### Patch Changes
6
+
7
+ - aa490af: fix: can't exit process after build
8
+ fix: 在 build 后不退出程序
9
+ - Updated dependencies [08e3aab]
10
+ - @modern-js/new-action@1.22.4
11
+ - @modern-js/core@1.22.4
12
+ - @modern-js/plugin-i18n@1.22.4
13
+ - @modern-js/plugin-jarvis@1.22.4
14
+ - @modern-js/webpack@1.22.4
15
+ - @modern-js/prod-server@1.22.4
16
+ - @modern-js/server@1.22.4
17
+ - @modern-js/node-bundle-require@1.22.4
18
+ - @modern-js/plugin@1.22.4
19
+ - @modern-js/types@1.22.4
20
+ - @modern-js/upgrade@1.22.4
21
+ - @modern-js/utils@1.22.4
22
+
23
+ ## 1.22.3
24
+
25
+ ### Patch Changes
26
+
27
+ - @modern-js/core@1.22.3
28
+ - @modern-js/plugin-i18n@1.22.3
29
+ - @modern-js/plugin-jarvis@1.22.3
30
+ - @modern-js/webpack@1.22.3
31
+ - @modern-js/new-action@1.22.3
32
+ - @modern-js/prod-server@1.22.3
33
+ - @modern-js/server@1.22.3
34
+ - @modern-js/node-bundle-require@1.22.3
35
+ - @modern-js/plugin@1.22.3
36
+ - @modern-js/types@1.22.3
37
+ - @modern-js/upgrade@1.22.3
38
+ - @modern-js/utils@1.22.3
39
+
3
40
  ## 1.22.2
4
41
 
5
42
  ### 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.2",
14
+ "version": "1.22.4",
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.2",
63
- "@modern-js/new-action": "1.22.2",
64
- "@modern-js/upgrade": "1.22.2",
65
- "@modern-js/node-bundle-require": "1.22.2",
66
- "@modern-js/plugin": "1.22.2",
67
- "@modern-js/plugin-i18n": "1.22.2",
68
- "@modern-js/plugin-jarvis": "1.22.2",
69
- "@modern-js/prod-server": "1.22.2",
70
- "@modern-js/server": "1.22.2",
71
- "@modern-js/types": "1.22.2",
72
- "@modern-js/utils": "1.22.2",
73
- "@modern-js/webpack": "1.22.2"
62
+ "@modern-js/core": "1.22.4",
63
+ "@modern-js/new-action": "1.22.4",
64
+ "@modern-js/upgrade": "1.22.4",
65
+ "@modern-js/node-bundle-require": "1.22.4",
66
+ "@modern-js/plugin": "1.22.4",
67
+ "@modern-js/plugin-i18n": "1.22.4",
68
+ "@modern-js/plugin-jarvis": "1.22.4",
69
+ "@modern-js/prod-server": "1.22.4",
70
+ "@modern-js/server": "1.22.4",
71
+ "@modern-js/types": "1.22.4",
72
+ "@modern-js/utils": "1.22.4",
73
+ "@modern-js/webpack": "1.22.4"
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.2",
82
- "@scripts/build": "1.22.2",
83
- "@scripts/jest-config": "1.22.2"
81
+ "@modern-js/server-core": "1.22.4",
82
+ "@scripts/build": "1.22.4",
83
+ "@scripts/jest-config": "1.22.4"
84
84
  },
85
85
  "sideEffects": false,
86
86
  "publishConfig": {