Created
August 23, 2023 14:19
-
-
Save aidan-harding/8ca36333e86fd6ec1a8502b1fd767035 to your computer and use it in GitHub Desktop.
Install SFDX project dependencies using jq and the CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jq '.packageDirectories[] | select(.default == true) | .dependencies[].package' sfdx-project.json | xargs -p -I {} zsh -c "sf package install --publish-wait 20 --wait 20 --no-prompt --package '{}'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment