@startupjs/cli 0.54.1 → 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 +13 -4
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -309,7 +309,7 @@ SCRIPTS_ORIG.patchGestureHandler = () => PATCHES_GESTURE_HANDLER_DIR
309
309
  : 'true'
310
310
 
311
311
  SCRIPTS_ORIG.fonts = () => oneLine(`
312
- react-native-asset
312
+ npx react-native-asset
313
313
  `)
314
314
 
315
315
  SCRIPTS_ORIG.postinstall = () => oneLine(`
@@ -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.1",
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": "e9788c7b41bcb0fcc85840e951b97c727169462a"
28
+ "gitHead": "208b1eb50e749d344be1c24d446ab0fceea4b33b"
29
29
  }