N
N
NikKoster2019-04-07 09:17:31
npm
NikKoster, 2019-04-07 09:17:31

Should I update the npm package version on minor changes?

I created npm package version 1.0.0
After that, I made several commits with minor minor edits on the design:
- in the readme file
- documentation (JSDoc) in the js file
Do I need to update the npm package version after that? What are the general rules for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2019-04-07
@NikKoster

You can't publish changes outside of the new version - npm just won't let you.
Minor changes that do not break backward compatibility change the third number in the version, that is, you should have 1.0.1. And the general rules are googled according to the words semantic versioning.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question