patch Node.js package version
I'm providing accompanying package that matches the version of the main NPM package, already in major.minor.patch
format (eg 1.3.1
).
I don't want to break version conformity between main and accompanying package. Is it possible to release intermediary subpatches for accompanying package that match
>=1.3.1 <1.3.2
semver constraint? Similar to 1.3.1.1
.
Even if not possible to match the constraint, what's the convention for the patch for 1.3.1
to make it not overlap 1.3.2
?
As http://semver.org/ states
Given a version number MAJOR.MINOR.PATCH, increment the:
As there is no sub-patches
in SemVer, you could label your version with a label, for example 1.3.2-alpha1
or similar.
npm
doesn't install labelled versions, commonly release candidates labeled with rc
, alphas, betas and so on without explicitly stating you want to install such version.
上一篇: 如何与Spring Batch一起使用@Configuration和@EnableScheduling
下一篇: 修补Node.js包版本