@startupjs/cli 0.44.0 → 0.44.16

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.
Files changed (2) hide show
  1. package/index.js +2 -17
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -38,7 +38,7 @@ const DEPENDENCIES = [
38
38
  'nconf@^0.10.0',
39
39
  'react',
40
40
  'react-dom',
41
- 'axios' // For making AJAX requests
41
+ 'axios@^0.26.0' // For making AJAX requests
42
42
  ]
43
43
 
44
44
  const DEV_DEPENDENCIES = [
@@ -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 }
@@ -591,7 +576,7 @@ commander
591
576
  .command('android-link')
592
577
  .description('Links android files')
593
578
  .action(async () => {
594
- console.warn('"starupjs android-link" is deprecated. Use "startupjs link" instead.')
579
+ console.warn('"startupjs android-link" is deprecated. Use "startupjs link" instead.')
595
580
  // this is important because ./link contains files that are initialized on require. Thus, 'glob' in ./linc/path does not work correctly when required in a header
596
581
  const link = require('./link')
597
582
  link()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs/cli",
3
- "version": "0.44.0",
3
+ "version": "0.44.16",
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": "fea00469df6ed22a525d6323c085df8434df0cd7"
27
+ "gitHead": "a4c56555e7d859744b0d2c41437a190867a5289f"
28
28
  }