You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This provides a plugin for Hatch that uses a `package.json` file to determine (and update) project versions.
7
+
This provides a [version source plugin](https://hatch.pypa.io/latest/plugins/version-source/) for Hatch that uses a `package.json` file to determine (and update) project versions.
8
+
9
+
The semver specification defines the following version sections:
In order to ensure round-trip support, and ensure semantic consistency between NodeJS and Python, this plugin only accepts the common version parts:
26
+
-`major`
27
+
-`minor`
28
+
-`patch`
29
+
-`pre-release`
30
+
31
+
e.g. `1.2.3-rc0`.
8
32
9
-
As the semver specification only specifies an addition prerelease segment (and build segment) to the release segment, this plugin restricts versions to these segments, i.e. `major.minor.patch-(pre)0`.
0 commit comments