fonteva-sfpm
v0.1.0
Published
Salesforce Package Manager
Downloads
46
Readme
fonteva-sfpm
Salesforce Package Manager by Fonteva
Installation
Pre-requisites
- sfdx
- npm
To Install: $ sfdx plugins:install fonteva-sfpm
Commands
sfdx sfpm:install
Installs package(s) into your Salesforce project. Under the hood, the install command does the following
- run
npm install
to fetch the packages defined in package.json/dependencies - copies code from node_modules into your Salesforce package source tree
- for non-sfdx packages, package.xml is edited to include any new files
This command is idempotent - it can be run again and again with no side effects.
This command will install a new version of packages when their version number is updated in package.json.
USAGE
$ sfdx sfpm:install [packageName] [-s]
OPTIONS
-s, --save Passed-thru to `npm`. Adds an entry to your package.json file. Must pass a package name