updaters – Simple modules used for reading packageFiles and writing to bumpFiles.īy default, standard-version assumes you're working in a NodeJS based project.Examples: package-lock.json, npm-shrinkwrap.json.bumpFiles – User-defined files where versions should be "bumped", but not explicitly read from.In most cases (including the default), packageFiles are a subset of bumpFiles.packageFiles – User-defined files where versions can be read from and be "bumped".Standard-version uses a few key concepts for handling version bumping in your project. Creates a new tag with the new version number.Creates a new commit including your bumpFiles and updated CHANGELOG.Generates a changelog based on your commits (uses conventional-changelog under the hood).bump the version in bumpFiles based on your commits.Retrieve the current version of your repository by looking at packageFiles, falling back to the last git tag.Standard-version will then do the following: When you're ready to release, run standard-version.Follow the Conventional Commits Specification in your repository.Having problems? Want to contribute? Join us on the node-tooling community Slack. I encourage folks to fork this repository and, if a fork gets popular, I will link to it in this README.Ī utility for versioning using semver and CHANGELOG generation powered by Conventional Commits. If you're a GitHub user, I recommend release-please as an alternative.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |