sf-sfdx
v1.0.7
Published
SS-17
Downloads
35
Maintainers
Readme
SS-17
About The Project
The Source Delta Deploy module is going to make your salesforce deployments a lot faster, as you propably have already noticed on the saleseforce project you are working, the repository is getting bigger and bigger and as a result the time of the deployments is increasing dramaticaly. Despite the time required to make a deployment, there is also a problem that its impossible to avoid easlily, the 'too many files in zip'. So what does sf-sfdx do, is deploying each time the modified files and not the whole repository. in most cases the deploy can finish in seconds.
This module is addressed to salesforce project that use sfdx format repository.
Technologies Used
Getting Started
In Order to install these feature on your repository follow the steps below!
Prerequisites
tools required
- npm
npm install npm@latest -g
- salesforce cli
https://developer.salesforce.com/tools/sfdxcli
- git
https://git-scm.com/downloads
Installation
install module globally
npm i sf-sfdx -g
Add on .gitignore file the delta_deploy folder
Run the following command that generates a package just with the modified files from the targetbranch
sf-sfdx -d targetbranch
In case you want also to deploy after the creation of the package use the following commands
sf-sfdx -d targetbranch -c -u orgToDeploy -l RunLocalTests
Where:
-l determines the test level
-c determines if its check only
-u determines the org that the package will be deployed
Usage
Used to increase the speed of the deployments.
Contributing
In case you want to contribute to the project and extend its funcationality please be free.
- Fork the Project
- Create your Feature Branch (
git checkout -b scpdd/MyContribution
) - Commit your Changes (
git commit -m 'Added my small Contribution'
) - Push to the Branch (
git push origin scpdd/MyContribution
) - Open a Pull Request
Contact
Silvan Sholla - (https://www.linkedin.com/in/silvan-sholla-1155bb162/)
Project Link: (https://github.com/Skidrow17/salesforce-delta-deploy-source-format)