A
A
Andrey Prozorov2019-05-29 15:09:39
git
Andrey Prozorov, 2019-05-29 15:09:39

How to version in package.json?

Friends, help. I can’t find / make a product in any way. Google has already raped
I want git flow + version control in package.json I
use the git-flow-avh console
and the ngitflow node module for version control, but it's clumsy as hell.
Firstly, I can't set up squash merged fichavetok.
Secondly, bugfix/hotfix is ​​not supported by ngitflow and you have to manually bump versions.
but this is all nonsense compared to the fact that when I complete a feature branch, the version does not bump, but simply increments snapshot:
0.3.4-snapshot.0
finish feature
0.3.4-snapshot.1
How does anyone solve the issue with versioning automation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Robur, 2019-05-29
@Robur

we decided with this: https://github.com/conventional-changelog/standard...
no matter how the work in the git is organized, the main thing is to mark the commits correctly, where the feature is where the fix is, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question