@startupjs/cli 0.44.0 → 0.44.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/index.js +0 -15
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -478,14 +478,6 @@ commander
|
|
|
478
478
|
.option('-w, --webpack', 'Force use Webpack. This will take priority over --vite and --pure option.')
|
|
479
479
|
.option('-r, --reset', 'Reset Vite cache before starting the server. This is helpful when you are directly monkey-patching node_modules')
|
|
480
480
|
.action(async (options) => {
|
|
481
|
-
if (options.inspect) {
|
|
482
|
-
console.log(
|
|
483
|
-
'\x1b[31m' +
|
|
484
|
-
'[@startupjs/cli] option -i, --inspect is DEPRECATED, use NODE_OPTIONS instead.' +
|
|
485
|
-
'\x1b[0m'
|
|
486
|
-
)
|
|
487
|
-
}
|
|
488
|
-
|
|
489
481
|
await execa.command(
|
|
490
482
|
SCRIPTS_ORIG.start(options),
|
|
491
483
|
{ stdio: 'inherit', shell: true }
|
|
@@ -519,13 +511,6 @@ commander
|
|
|
519
511
|
.option('-w, --webpack', 'Force use Webpack for server build. This takes priority over --pure option')
|
|
520
512
|
.option('-v, --vite', 'Automatically redirect to the web bundle served by Vite. Use this when running Vite for web client')
|
|
521
513
|
.action(async (options) => {
|
|
522
|
-
if (options.inspect) {
|
|
523
|
-
console.log(
|
|
524
|
-
'\x1b[31m' +
|
|
525
|
-
'[@startupjs/cli] option -i, --inspect is DEPRECATED, use NODE_OPTIONS instead.' +
|
|
526
|
-
'\x1b[0m'
|
|
527
|
-
)
|
|
528
|
-
}
|
|
529
514
|
await execa.command(
|
|
530
515
|
SCRIPTS_ORIG.server(options),
|
|
531
516
|
{ stdio: 'inherit', shell: true }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startupjs/cli",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.4",
|
|
4
4
|
"description": "start, watch and build startupjs project",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {},
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"webpack-cli": "^4.9.1",
|
|
25
25
|
"webpack-dev-server": "^4.4.0"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "7bf54bbf4f99f6c017e895110ae1da41757fa7ed"
|
|
28
28
|
}
|