Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jongpie/sfdx-bummer-plugin
https://github.com/jongpie/sfdx-bummer-plugin
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jongpie/sfdx-bummer-plugin
- Owner: jongpie
- License: mit
- Created: 2022-02-05T05:50:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-27T15:54:12.000Z (8 months ago)
- Last Synced: 2024-10-08T09:58:19.363Z (29 days ago)
- Language: TypeScript
- Homepage:
- Size: 20.5 KB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SFDX Bummer Plugin
A plugin for SFDX CLI to help update `sfdx-project.json` with package versions in your devhub.
## Setup
### Install as plugin
1. Install plugin: `sfdx plugins:install @jongpie/sfdx-bummer-plugin`
### Install from source
1. Install the SDFX CLI.
2. Clone the repository: `git clone [email protected]:jongpie/sfdx-bummer-plugin.git`
3. Install npm modules: `npm install` or `yarn install`
4. Link the plugin: `sfdx plugins:link` .
## Commands
### `sfdx bummer:package:aliases:sort`
Sorts `packageAliases` in `sfdx-project.json`, based on each package's name, major version, minor version, patch version, and build number
### `sfdx bummer:package:versions:retrieve`
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 in `sfdx-project.json`
- `--maxversions 10`: Limits the number of package versions to retrieve per package