testguard-cli 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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.1] - 2026-09-17
11
+
12
+ ### Fixed
13
+
14
+ - **0.1.0 did not run when installed.** `ajv`, which validates every document
15
+ against the spec, was declared as a devDependency, so `testguard` crashed on
16
+ startup from npm, `npx`, `pip` and Homebrew. It is now an exact-pinned
17
+ runtime dependency — the project's one dependency.
18
+ - CI and the release job now pack the tarball, install it into a scratch
19
+ project with production dependencies only, and run the CLI from there
20
+ (`npm run test:install`). The suite alone runs from the checkout and could
21
+ not see this class of defect.
22
+
23
+ ### Changed
24
+
25
+ - Homebrew formula carries the sha256 of the published tarball; description
26
+ shortened to satisfy `brew audit --strict`.
27
+
10
28
  ## [0.1.0] - 2026-09-17
11
29
 
12
30
  First release. A claim verifier, not a test generator.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![PyPI](https://img.shields.io/pypi/v/testguard-cli.svg)](https://pypi.org/project/testguard-cli/)
6
6
  [![node](https://img.shields.io/node/v/testguard-cli.svg)](https://nodejs.org)
7
7
  [![license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
8
- [![zero deps](https://img.shields.io/badge/runtime%20deps-0-brightgreen.svg)](./package.json)
8
+ [![deps](https://img.shields.io/badge/runtime%20deps-1%20pinned-brightgreen.svg)](./package.json)
9
9
 
10
10
  > Proves that a test suite actually defends the claims a project makes — by
11
11
  > injecting the faults those claims say cannot happen, and reporting every
@@ -43,7 +43,7 @@ on known-broken code. The largest gap was a compliance-critical path with
43
43
  | npm | `npm i -D testguard-cli` then `npx testguard probe` |
44
44
  | pip | `pip install testguard-cli` then `testguard probe` (needs Node ≥ 20) |
45
45
  | Homebrew | `brew tap raccioly/tap && brew install testguard` |
46
- | GitHub Action | `uses: raccioly/testguard@v0.1.0` — see [`action.yml`](./action.yml) |
46
+ | GitHub Action | `uses: raccioly/testguard@v0.1.1` — see [`action.yml`](./action.yml) |
47
47
  | pre-commit | `repo: https://github.com/raccioly/testguard`, hooks `testguard-claims`, `testguard-probe` |
48
48
 
49
49
  ## How it works
@@ -123,7 +123,7 @@ through every verdict.
123
123
 
124
124
  **v0.1.** Four commands, vitest runner, hand-authored faults. The contract
125
125
  spine — six JSON Schemas shared with the other Guard tools — is under
126
- [`spec/`](spec/). Zero runtime dependencies; Node ≥ 20.
126
+ [`spec/`](spec/). One exact-pinned runtime dependency (`ajv`, for schema validation); Node ≥ 20.
127
127
 
128
128
  Not yet: test generation (the two-gate acceptance loop), other runners,
129
129
  mechanical fault producers, and calibration of fault classes against real
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testguard-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Proves a test suite defends the claims a project makes: injects the faults those claims forbid and reports every one the tests fail to detect.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -28,7 +28,8 @@
28
28
  "test:spec": "vitest run spec/conformance",
29
29
  "self:probe": "node cli/testguard.mjs probe . --budget 180000",
30
30
  "release:sync": "node .github/scripts/sync-release-version.mjs",
31
- "prepublishOnly": "node cli/testguard.mjs --version && node .github/scripts/sync-release-version.mjs --check"
31
+ "prepublishOnly": "node cli/testguard.mjs --version && node .github/scripts/sync-release-version.mjs --check",
32
+ "test:install": "node .github/scripts/install-smoke.mjs"
32
33
  },
33
34
  "keywords": [
34
35
  "testing",
@@ -45,7 +46,6 @@
45
46
  "quality-gate"
46
47
  ],
47
48
  "devDependencies": {
48
- "ajv": "^8.20.0",
49
49
  "vitest": "^5.0.1"
50
50
  },
51
51
  "bin": {
@@ -62,5 +62,8 @@
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public"
65
+ },
66
+ "dependencies": {
67
+ "ajv": "8.20.0"
65
68
  }
66
69
  }