Reputation: 11641
I want to increase the version in my project (without publish) just by command.
So I try lerna version 1.0.1
or lerna version
and the version is stay the same. (1.0.0), in lerna.json
and package.json
.
How to make it work? I need a lerna command that increase the version in lerna.json
and package.json
.
Upvotes: 4
Views: 19372
Reputation: 429
lerna version 1.0.1
When run, this command does the following:
So if there is no change in your package, it will not create new version.
If you really want to bump up all packages version use
lerna version --force-publish
Upvotes: 6