@dk/hipp 0.1.32 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,8 @@ This creates a **State Conflict**:
|
|
|
25
25
|
**HIPP makes Git tags the source of truth** - the version is always extracted
|
|
26
26
|
from the tag, not `package.json`. You can leave `package.json` at `0.0.0` (HIPP
|
|
27
27
|
rewrites it during publish) or keep it in sync with your tag (HIPP verifies the
|
|
28
|
-
match).
|
|
28
|
+
match). The published package always has the correct semver from your git tag —
|
|
29
|
+
downstream consumers see normal versions and `npm install` works as expected.
|
|
29
30
|
|
|
30
31
|
---
|
|
31
32
|
|
|
@@ -40,6 +41,9 @@ your latest tag. The git tag is always the source of truth.
|
|
|
40
41
|
{ "name": "your-package", "version": "0.0.0" }
|
|
41
42
|
```
|
|
42
43
|
|
|
44
|
+
`0.0.0` is preferred — it eliminates version-bump commits and merge conflicts.
|
|
45
|
+
If your tooling requires a real version, leave it in sync with your latest tag.
|
|
46
|
+
|
|
43
47
|
Ensure `package-lock.json` exists and is tracked by git.
|
|
44
48
|
|
|
45
49
|
### Tag and Publish
|
|
@@ -254,21 +258,21 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
254
258
|
Verify this package with [@dk/hipp](https://www.npmjs.com/package/@dk/hipp):
|
|
255
259
|
|
|
256
260
|
```bash
|
|
257
|
-
npx @dk/hipp verify @dk/hipp@0.1.
|
|
261
|
+
npx @dk/hipp verify @dk/hipp@0.1.34
|
|
258
262
|
```
|
|
259
263
|
|
|
260
264
|
```json
|
|
261
265
|
{
|
|
262
266
|
"origin": "git@github.com:dmytri/hipp.git",
|
|
263
|
-
"tag": "v0.1.
|
|
264
|
-
"revision": "
|
|
265
|
-
"hash": "
|
|
266
|
-
"signature": "
|
|
267
|
+
"tag": "v0.1.34",
|
|
268
|
+
"revision": "55f9f1d7305d9d88eb46a3d8f619bca05979edf4",
|
|
269
|
+
"hash": "4c9d71d9d766442078d3ca2ea97cb36038567883c4ffbaa20ba57b38c75edd20",
|
|
270
|
+
"signature": "TUB/PMMp7wLSgqlkw2hkf2b5YdvjbZ852MdyQBn/uhE4k1VntUlJOuK5L6I6aX1Aalkteqw7zKUhOWyCyfq4Bg==",
|
|
267
271
|
"name": "Dmytri Kleiner",
|
|
268
272
|
"email": "dev@dmytri.to",
|
|
269
273
|
"npm": "11.12.1",
|
|
270
274
|
"node": "v25.8.2",
|
|
271
275
|
"git": "git version 2.47.3",
|
|
272
|
-
"hipp": "0.1.
|
|
276
|
+
"hipp": "0.1.34"
|
|
273
277
|
}
|
|
274
278
|
```
|