Skip to content
Snippets Groups Projects
Commit 47913d34 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: install npm in lerna even if no constraint

parent 4619fb6c
No related merge requests found
......@@ -60,8 +60,8 @@ export async function generateLockFiles(
const npmCompatibility = config.constraints?.npm;
if (validRange(npmCompatibility)) {
installNpm += `@${quote(npmCompatibility)}`;
preCommands.push(installNpm, 'hash -d npm');
}
preCommands.push(installNpm, 'hash -d npm');
cmdOptions = '--ignore-scripts --no-audit';
if (skipInstalls !== false) {
cmdOptions += ' --package-lock-only';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment