nwui-cli 0.4.8 → 0.4.10
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.
|
@@ -99,7 +99,7 @@ export const installComponent = async (slugs, overwrite = false, directory = `.$
|
|
|
99
99
|
try {
|
|
100
100
|
const npxArgs = ['expo', 'install'];
|
|
101
101
|
// speed up invocation
|
|
102
|
-
const fastNpmInstallArgs = ['--silent', '--no-audit', '--progress=false', '--
|
|
102
|
+
const fastNpmInstallArgs = ['--silent', '--no-audit', '--progress=false', '--legacy-peer-deps'];
|
|
103
103
|
// conditionally for --no-install (see below)
|
|
104
104
|
let removePackageLock = false;
|
|
105
105
|
let removeNodeModules = false;
|
|
@@ -146,7 +146,10 @@ export const installComponent = async (slugs, overwrite = false, directory = `.$
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
else {
|
|
149
|
-
npxArgs.push(...libs
|
|
149
|
+
npxArgs.push('--npm', ...libs, ...[
|
|
150
|
+
'--',
|
|
151
|
+
'--legacy-peer-deps'
|
|
152
|
+
]);
|
|
150
153
|
}
|
|
151
154
|
if (env.NODE_ENV === 'development')
|
|
152
155
|
console.log('> npx', npxArgs);
|
package/package.json
CHANGED