A plugin for SFDX CLI to help update sfdx-project.json
with package versions in your devhub.
- Install plugin:
sfdx plugins:install @jongpie/sfdx-bummer-plugin
-
Install the SDFX CLI.
-
Clone the repository:
git clone git@github.com:jongpie/sfdx-bummer-plugin.git
-
Install npm modules:
npm install
oryarn install
-
Link the plugin:
sfdx plugins:link
.
Sorts packageAliases
in sfdx-project.json
, based on each package's name, major version, minor version, patch version, and build number
Scans the packageAliases
in sfdx-project.json
, and retrieves package versions for any packages listed. All 3 parameters are optional
--released
: Only include package versions that have been released--includeversionname
: appends the package version's name to the package version's alias insfdx-project.json
--maxversions 10
: Limits the number of package versions to retrieve per package