Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nvuillam/sfdx-change-dependency-version
Plugin SFDX to update sfdx project and change the dependency version number with external managed packages
https://github.com/nvuillam/sfdx-change-dependency-version
dependency managed-package sfdx sfdx-plugin version
Last synced: 24 days ago
JSON representation
Plugin SFDX to update sfdx project and change the dependency version number with external managed packages
- Host: GitHub
- URL: https://github.com/nvuillam/sfdx-change-dependency-version
- Owner: nvuillam
- License: gpl-3.0
- Created: 2018-06-13T09:34:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:45:33.000Z (about 1 year ago)
- Last Synced: 2024-10-28T06:47:46.908Z (2 months ago)
- Topics: dependency, managed-package, sfdx, sfdx-plugin, version
- Language: TypeScript
- Homepage:
- Size: 390 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
sfdx-change-dependency-version
==============================Allows to change the external packages dependencies versions in local sfdx project files files
[![Version](https://img.shields.io/npm/v/sfdx-change-dependency-version.svg)](https://npmjs.org/package/sfdx-change-dependency-version)
[![Downloads/week](https://img.shields.io/npm/dw/sfdx-change-dependency-version.svg)](https://npmjs.org/package/sfdx-change-dependency-version)
[![License](https://img.shields.io/npm/l/sfdx-change-dependency-version.svg)](https://github.com/nvuillam/sfdx-change-dependency-version/blob/master/package.json)# INSTALLATION
```
sfdx plugins:install sfdx-change-dependency-version
```- Windows users: [sfdx plugin generator](https://github.com/forcedotcom/sfdx-plugin-generate) is bugged on windows (hardcode call of linux rm instruction) , so you may use [Git Bash](https://gitforwindows.org/) to run this code ( at least while it installs the plugin dependencies )
## `change-dependency:execute`
Allows to change an external package dependency version
```
USAGE
$ change-dependency:execute OPTIONSOPTIONS
-f, --folder=folder SFDX project folder containing files
-j, --majorversion=majorversion Major version
-m, --minorversion=minorversion Minor version
-n, --namespace=namespace Namespace of the managed packageDESCRIPTION
EXAMPLE
$ sfdx change-dependency:execute -n FinServ -j 214 -m 7
```_See code: [src/commands/change-dependency/execute.ts](https://github.com/nvuillam/sfdx-change-dependency-version/blob/master/src/commands/change-dependency/execute.ts)_