Skip to content

Commit eb92701

Browse files
authored
Install missing dependencies during clean install by default (#6572)
Currently npx prompts for confirmation from user to install missing dependencies when running the script. However, there is now a use case (b/299490916) that requires the script to be run unattendedly. `--yes` suppresses the prompt (https://docs.npmjs.com/cli/v10/commands/npx). See b/299490916 and go/firebase-3p-frameworks-compatibility-testing for more details.
1 parent be5c16d commit eb92701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/clean-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ trap cleanup EXIT
1111

1212
rm -rf ./clean || true
1313
echo "Running clean-publish --without-publish, as we would before publishing to npm..."
14-
npx clean-publish --without-publish --before-script ./scripts/clean-shrinkwrap.sh --temp-dir clean
14+
npx --yes clean-publish --without-publish --before-script ./scripts/clean-shrinkwrap.sh --temp-dir clean
1515
echo "Ran clean-publish --without-publish."
1616
echo "Packaging cleaned firebase-tools..."
1717
cd ./clean

0 commit comments

Comments
 (0)