Valks-Games / io-game

Synchronizing various RPG elements over the network with sockets.
MIT License
20 stars 3 forks source link

Dynamic Versioning #9

Closed valkyrienyanko closed 4 years ago

valkyrienyanko commented 4 years ago

How do you get release-it working?

How do you change the version automatically in package.json?

aeuu commented 4 years ago

I probably wouldn't use release-it. NPM provides automatic version bumping tool by default. Yarn has a nice prompt as well:

npm version <major|minor|patch>
# major will bump x.0.0, minor will bump 0.x.0, and patch will bump 0.0.x.
# A major bump will reset minor and patch to 0, and a minor bump will set patch to 0.

yarn version
# Follow the instructions!
# Yarn version bumping will also create git tags for you.