@startupjs/cli 0.54.2 → 0.54.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.
Files changed (2) hide show
  1. package/index.js +12 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -415,9 +415,18 @@ commander
415
415
  }
416
416
 
417
417
  // specify yarn version
418
- await execa('yarn', ['set', 'version', yarn])
419
- await execa('yarn', ['config', 'set', 'nodeLinker', 'node-modules'])
420
- await execa('yarn', ['config', 'set', 'enableGlobalCache', false])
418
+ await execa('yarn', ['set', 'version', yarn], {
419
+ cwd: projectPath,
420
+ stdio: 'inherit'
421
+ })
422
+ await execa('yarn', ['config', 'set', 'nodeLinker', 'node-modules'], {
423
+ cwd: projectPath,
424
+ stdio: 'inherit'
425
+ })
426
+ await execa('yarn', ['config', 'set', 'enableGlobalCache', false], {
427
+ cwd: projectPath,
428
+ stdio: 'inherit'
429
+ })
421
430
 
422
431
  // remove extra dependencies which are covered by startupjs core
423
432
  if (REMOVE_DEPENDENCIES.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs/cli",
3
- "version": "0.54.2",
3
+ "version": "0.54.3",
4
4
  "description": "start, watch and build startupjs project",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
@@ -25,5 +25,5 @@
25
25
  "webpack-cli": "^4.9.1",
26
26
  "webpack-dev-server": "^4.4.0"
27
27
  },
28
- "gitHead": "92667aeef94a9b0c9e88a428cff742504bcfc6f2"
28
+ "gitHead": "208b1eb50e749d344be1c24d446ab0fceea4b33b"
29
29
  }