@startupjs/cli 0.55.0-alpha.18 → 0.55.0-alpha.20

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 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -115,6 +115,7 @@ SCRIPTS_ORIG.server = ({ inspect } = {}) => oneLine(`
115
115
  node
116
116
  ${inspect ? '--inspect' : ''}
117
117
  --watch
118
+ --experimental-detect-module
118
119
  server.js
119
120
  `)
120
121
 
@@ -128,7 +129,7 @@ SCRIPTS_ORIG.build = ({ async } = {}) => oneLine(`
128
129
 
129
130
  SCRIPTS_ORIG.startProduction = oneLine(`
130
131
  npx cross-env NODE_ENV=production
131
- node server.js
132
+ node --experimental-detect-module server.js
132
133
  `)
133
134
 
134
135
  // Etc
@@ -496,8 +497,6 @@ function patchPackageJson (projectPath) {
496
497
  delete packageJSON.devDependencies['react-test-renderer']
497
498
  delete packageJSON.devDependencies.jest
498
499
 
499
- packageJSON.type = 'module'
500
-
501
500
  packageJSON.scripts = {
502
501
  ...packageJSON.scripts,
503
502
  ...SCRIPTS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs/cli",
3
- "version": "0.55.0-alpha.18",
3
+ "version": "0.55.0-alpha.20",
4
4
  "description": "start, watch and build startupjs project",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
@@ -24,5 +24,5 @@
24
24
  "webpack-cli": "^4.9.1",
25
25
  "webpack-dev-server": "^4.4.0"
26
26
  },
27
- "gitHead": "f832e1a76cf93575a1a3779ded71bf84954bb63c"
27
+ "gitHead": "5038b8ccbc5ff7b8a6e7db98c0a64be8afd2dd62"
28
28
  }