When you want to add a new feature, fix a bug, or push out a breaking API change, you need to take Semantic Versioning into account. In this lesson, learn what each number means as well as how to push out a new version of your library.
npm version (in this case
npm version minor) would simplify this workflow. See https://docs.npmjs.com/cli/version .