flxbl-io / sfp

A build system for modular development in Salesforce
https://docs.flxbl.io/sfp/
MIT License
31 stars 18 forks source link

cli command to manage sfdx-project.json version numbers #141

Open nkskaare opened 1 week ago

nkskaare commented 1 week ago

Could be useful with a tool as part of the sfp cli to help with managing and updating version numbers in sfdx-project.json. Doesn't need to be automated as part of any pipeline or anything, simply a helper tool.

Currently, I have a simple script in my repo which does this task with the options to update version number based on a diff to a git ref or based on the diff to a target org. It is also possible to specify single packages etc. It updates the version numbers in sfdx-project.json and optionally in the listed dependencies.

Image

Currently a fairly simple implementation in javascript, but nevertheless thinking of migrating to typescript and then it could be interesting to integrate as part of the sfp cli, if you agree.