0.0.2 • Published 2 years ago

@boomerang-io/farmer v0.0.2

Weekly downloads
5
License
Apache-2
Repository
github
Last release
2 years ago

Farmer

Frontend App Repo ManagER

Farmer will update all package.json and package-lock.json files in a directory with a supplied dependency version and tag a new commit with an incremented patch version

Install & Use

$ npm install -g @boomerang-io/farmer
$ farmer -d <dependency> -v <version> -b <path/to/directory> -b <branch> -t (tag or not)

Use with npx

$ npx farmer -p -d <dependency> -v <version> <path/to/directory> -b <branch> -t (tag or not)

Flags

flagvaluedescriptiondefault
dstringdependency to update
vstringversion to set dependency to
pstringrelative path to directory to look for repos to updatecurrent directory
bstringbranch to make changes against. The branch will be created locally if it doesn't exist.main
tbooleanboolean to git tag the commit to new version using semantic versioning "patch" e.g. 1.2.3 -> 1.2.4false

Assumptions

  • repos use package.json file to manage dependencies
  • npm is used as the dependency manager
  • repos have a develop branch
  • repos follow semantic versioning for releases via git tags e.g. 1.2.3