@dk/hipp 0.1.35 → 0.1.36

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.
Files changed (3) hide show
  1. package/README.md +10 -10
  2. package/hipp.js +6 -6
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -140,10 +140,10 @@ npx @dk/hipp -- --access public --tag beta
140
140
  HIPP provides out-of-band verification to prove package integrity:
141
141
 
142
142
  ```bash
143
- npx @dk/hipp verify # auto-detect: local hipp repo → published version, else @dk/hipp
144
- npx @dk/hipp verify --self # always verifies @dk/hipp itself
145
- npx @dk/hipp verify @scope/package # verifies latest of a package
146
- npx @dk/hipp verify @scope/package@1.0.0 # verifies specific version
143
+ npx @dk/hipp --verify # auto-detect: local hipp repo → published version, else @dk/hipp
144
+ npx @dk/hipp --verify --self # always verifies @dk/hipp itself
145
+ npx @dk/hipp --verify @scope/package # verifies latest of a package
146
+ npx @dk/hipp --verify @scope/package@1.0.0 # verifies specific version
147
147
  ```
148
148
 
149
149
  ### How Verification Works
@@ -273,21 +273,21 @@ PERFORMANCE OF THIS SOFTWARE.
273
273
  Verify this package with [@dk/hipp](https://www.npmjs.com/package/@dk/hipp):
274
274
 
275
275
  ```bash
276
- npx @dk/hipp verify @dk/hipp@0.1.35
276
+ npx @dk/hipp --verify @dk/hipp@0.1.36
277
277
  ```
278
278
 
279
279
  ```json
280
280
  {
281
281
  "origin": "git@github.com:dmytri/hipp.git",
282
- "tag": "v0.1.35",
283
- "revision": "1867eb114a7c672dd23da33d6b6b4375077faf4d",
284
- "hash": "8a48b6de8cdfd06b93177720f9701b77dc96263b20c10902a8b5780f5941489a",
285
- "signature": "R5wbqWXbsV4269e78lDuN92FyWkWk0L4jSsQgLQSVc1/vOis/IKWA+UFMxdIKOfThczLLNm98YDpcu4QEITNBA==",
282
+ "tag": "v0.1.36",
283
+ "revision": "e3190c19274fd1dcf9c9f8d4f3a0af842214e4b7",
284
+ "hash": "af45dd66df7b54705c7c0c2a5e3bd24222727bc34668e2d89c8079175cdd1df4",
285
+ "signature": "hFkmTxDeTNHOhvvVlySj2Amg5Wq2vuFR1fJzBU0d4Th5ixMvkbpdLcYiHu719sZVAWsUycnu56pH2rXZCvN+BA==",
286
286
  "name": "Dmytri Kleiner",
287
287
  "email": "dev@dmytri.to",
288
288
  "npm": "11.12.1",
289
289
  "node": "v25.8.2",
290
290
  "git": "git version 2.47.3",
291
- "hipp": "0.1.35"
291
+ "hipp": "0.1.36"
292
292
  }
293
293
  ```
package/hipp.js CHANGED
@@ -564,7 +564,7 @@ async function runVerify(packageSpec) {
564
564
  stagedReadme = stagedReadme.trimEnd() + '\n\n## Verify\n\n' +
565
565
  'Verify this package with [@dk/hipp](https://www.npmjs.com/package/@dk/hipp):\n\n' +
566
566
  '```bash\n' +
567
- `npx @dk/hipp verify ${pkgName}@${tagVersion}\n` +
567
+ `npx @dk/hipp --verify ${pkgName}@${tagVersion}\n` +
568
568
  '```\n\n' +
569
569
  '```json\n' + JSON.stringify(manifest, null, 2) + '\n```\n';
570
570
  fs.writeFileSync(stagedReadmePath, stagedReadme);
@@ -746,7 +746,7 @@ async function run() {
746
746
  stagedReadme = stagedReadme.trimEnd() + '\n\n## Verify\n\n' +
747
747
  'Verify this package with [@dk/hipp](https://www.npmjs.com/package/@dk/hipp):\n\n' +
748
748
  '```bash\n' +
749
- `npx @dk/hipp verify ${pkg.name}@${version}\n` +
749
+ `npx @dk/hipp --verify ${pkg.name}@${version}\n` +
750
750
  '```\n\n' +
751
751
  '```json\n' + JSON.stringify(manifestJson, null, 2) + '\n```\n';
752
752
  fs.writeFileSync(stagedReadmePath, stagedReadme);
@@ -787,8 +787,8 @@ async function run() {
787
787
  }
788
788
  }
789
789
 
790
- const isVerify = process.argv.includes('verify');
791
- const verifyIndex = process.argv.indexOf('verify');
790
+ const isVerify = process.argv.includes('--verify');
791
+ const verifyIndex = process.argv.indexOf('--verify');
792
792
  const packageSpec = verifyIndex !== -1 ? process.argv[verifyIndex + 1] : null;
793
793
 
794
794
  if (isVerify) {
@@ -817,8 +817,8 @@ if (isVerify) {
817
817
 
818
818
  Usage:
819
819
  npx hipp [options] [-- npm-options]
820
- npx hipp verify [@package[@version]]
821
- npx hipp verify --self
820
+ npx hipp --verify [@package[@version]]
821
+ npx hipp --verify --self
822
822
 
823
823
  Without arguments: in a hipp repo (package.json version 0.0.0 or matching
824
824
  a semver tag on HEAD), verifies the published package at that version.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dk/hipp",
3
- "version": "0.1.35",
3
+ "version": "0.1.36",
4
4
  "description": "High Integrity Package Publisher",
5
5
  "main": "hipp.js",
6
6
  "bin": {