@modern-js/app-tools 1.8.2 → 1.8.3
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 +19 -0
- package/dist/js/modern/index.js +2 -2
- package/dist/js/node/index.js +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @modern-js/app-tools
|
|
2
2
|
|
|
3
|
+
## 1.8.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f4822c0: feat(app-tools): start and inspect command support specify config file
|
|
8
|
+
|
|
9
|
+
feat(app-tools): start 和 inspect 命令支持指定配置文件
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [4f1889d]
|
|
12
|
+
- Updated dependencies [c423820]
|
|
13
|
+
- Updated dependencies [f4822c0]
|
|
14
|
+
- @modern-js/utils@1.8.1
|
|
15
|
+
- @modern-js/types@1.6.2
|
|
16
|
+
- @modern-js/core@1.13.3
|
|
17
|
+
- @modern-js/webpack@1.12.3
|
|
18
|
+
- @modern-js/prod-server@1.2.2
|
|
19
|
+
- @modern-js/server@1.6.0
|
|
20
|
+
- @modern-js/plugin-jarvis@1.2.14
|
|
21
|
+
|
|
3
22
|
## 1.8.2
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/dist/js/modern/index.js
CHANGED
|
@@ -42,7 +42,7 @@ export default (() => ({
|
|
|
42
42
|
|
|
43
43
|
process.exit(0);
|
|
44
44
|
});
|
|
45
|
-
program.command('start').usage('[options]').description(i18n.t(localeKeys.command.start.describe)).option('--api-only', i18n.t(localeKeys.command.dev.apiOnly)).action(async () => {
|
|
45
|
+
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 () => {
|
|
46
46
|
const {
|
|
47
47
|
start
|
|
48
48
|
} = await import("./commands/start");
|
|
@@ -68,7 +68,7 @@ export default (() => ({
|
|
|
68
68
|
locale
|
|
69
69
|
}));
|
|
70
70
|
});
|
|
71
|
-
program.command('inspect').description('inspect internal webpack config').option(`--env <env>`, i18n.t(localeKeys.command.inspect.env), 'development').option('--output <output>', i18n.t(localeKeys.command.inspect.output), '/').option('--no-console', i18n.t(localeKeys.command.inspect.noConsole)).option('--verbose', i18n.t(localeKeys.command.inspect.verbose)).action(async options => {
|
|
71
|
+
program.command('inspect').description('inspect internal webpack config').option(`--env <env>`, i18n.t(localeKeys.command.inspect.env), 'development').option('--output <output>', i18n.t(localeKeys.command.inspect.output), '/').option('--no-console', i18n.t(localeKeys.command.inspect.noConsole)).option('--verbose', i18n.t(localeKeys.command.inspect.verbose)).option('-c --config <config>', i18n.t(localeKeys.command.shared.config)).action(async options => {
|
|
72
72
|
const {
|
|
73
73
|
inspect
|
|
74
74
|
} = await import("./commands/inspect");
|
package/dist/js/node/index.js
CHANGED
|
@@ -70,7 +70,7 @@ var _default = () => ({
|
|
|
70
70
|
|
|
71
71
|
process.exit(0);
|
|
72
72
|
});
|
|
73
|
-
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)).action(async () => {
|
|
73
|
+
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 () => {
|
|
74
74
|
const {
|
|
75
75
|
start
|
|
76
76
|
} = await Promise.resolve().then(() => _interopRequireWildcard(require("./commands/start")));
|
|
@@ -96,7 +96,7 @@ var _default = () => ({
|
|
|
96
96
|
locale
|
|
97
97
|
}));
|
|
98
98
|
});
|
|
99
|
-
program.command('inspect').description('inspect internal webpack config').option(`--env <env>`, _locale.i18n.t(_locale.localeKeys.command.inspect.env), 'development').option('--output <output>', _locale.i18n.t(_locale.localeKeys.command.inspect.output), '/').option('--no-console', _locale.i18n.t(_locale.localeKeys.command.inspect.noConsole)).option('--verbose', _locale.i18n.t(_locale.localeKeys.command.inspect.verbose)).action(async options => {
|
|
99
|
+
program.command('inspect').description('inspect internal webpack config').option(`--env <env>`, _locale.i18n.t(_locale.localeKeys.command.inspect.env), 'development').option('--output <output>', _locale.i18n.t(_locale.localeKeys.command.inspect.output), '/').option('--no-console', _locale.i18n.t(_locale.localeKeys.command.inspect.noConsole)).option('--verbose', _locale.i18n.t(_locale.localeKeys.command.inspect.verbose)).option('-c --config <config>', _locale.i18n.t(_locale.localeKeys.command.shared.config)).action(async options => {
|
|
100
100
|
const {
|
|
101
101
|
inspect
|
|
102
102
|
} = await Promise.resolve().then(() => _interopRequireWildcard(require("./commands/inspect")));
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.8.
|
|
14
|
+
"version": "1.8.3",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@babel/runtime": "^7.18.0",
|
|
60
|
-
"@modern-js/core": "^1.13.
|
|
60
|
+
"@modern-js/core": "^1.13.3",
|
|
61
61
|
"@modern-js/new-action": "^1.4.0",
|
|
62
62
|
"@modern-js/node-bundle-require": "^1.3.7",
|
|
63
63
|
"@modern-js/plugin": "^1.4.1",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@modern-js/plugin-jarvis": "^1.2.14",
|
|
66
66
|
"@modern-js/prod-server": "^1.2.2",
|
|
67
67
|
"@modern-js/server": "^1.6.0",
|
|
68
|
-
"@modern-js/types": "^1.6.
|
|
69
|
-
"@modern-js/utils": "^1.8.
|
|
68
|
+
"@modern-js/types": "^1.6.2",
|
|
69
|
+
"@modern-js/utils": "^1.8.1",
|
|
70
70
|
"@modern-js/webpack": "^1.12.3",
|
|
71
71
|
"@babel/parser": "^7.18.0",
|
|
72
72
|
"@babel/traverse": "^7.18.0",
|