@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.
- package/index.js +13 -4
- 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
|
-
|
|
420
|
-
|
|
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.
|
|
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": "
|
|
28
|
+
"gitHead": "208b1eb50e749d344be1c24d446ab0fceea4b33b"
|
|
29
29
|
}
|