tsp-verify 0.1.0 → 0.1.1

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 (2) hide show
  1. package/README.md +17 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -63,3 +63,20 @@ fixtures (ADR-0008: the spec owns the truth).
63
63
 
64
64
  Verification only: this package holds no private keys and signs nothing. Part of
65
65
  the `tsp-verify` family alongside the Python, Rust, and Go ports.
66
+
67
+ ## Releasing
68
+
69
+ Publishing is automated and runs **with npm provenance** (a signed attestation
70
+ tying the published tarball to this repo and the exact CI run — apt for a
71
+ provenance project). To cut a release:
72
+
73
+ 1. Bump `version` in `package.json` (e.g. `0.1.1`) and commit to `main`.
74
+ 2. Tag and push: `git tag v0.1.1 && git push origin v0.1.1`.
75
+
76
+ The `Release (npm)` workflow then runs the test + conformance suites, verifies
77
+ the tag matches `package.json`, and runs `npm publish --provenance --access public`.
78
+
79
+ One-time setup: add a repo secret **`NPM_TOKEN`** (npm Automation or
80
+ Granular-Access token with publish rights for `tsp-verify`) under
81
+ *Settings → Secrets and variables → Actions*. npm versions are immutable, so
82
+ each release needs a new version number.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsp-verify",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "JavaScript port of the Trust Standard Protocol (TSP) verifier core: RFC 8785 canonicalization, trust envelope + manifest validation, Ed25519 local verification, and offline license-artifact verification (tsp.license.v1). Zero dependencies.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",