supercov 0.0.14 → 0.0.15

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 +25 -25
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -100,29 +100,29 @@ CLI queries instead of loading the complete derived model into context.
100
100
  ```sh
101
101
  # Orient using only a few lines.
102
102
  npx supercov runs --limit 5
103
- npx supercov runs latest coverage
104
- npx supercov runs latest coverage --filter passed
105
- npx supercov runs latest coverage --filter failed
106
- npx supercov runs latest coverage kinds
107
- npx supercov runs latest coverage runners
108
- npx supercov runs latest coverage scope
109
- npx supercov runs latest coverage --kind e2e
110
- npx supercov runs latest coverage files
111
- npx supercov runs latest coverage gaps
112
- npx supercov runs latest coverage gaps --metric mcdc
113
- npx supercov runs latest coverage gaps --kind e2e
103
+ npx supercov runs latest
104
+ npx supercov runs latest --filter passed
105
+ npx supercov runs latest --filter failed
106
+ npx supercov runs latest kinds
107
+ npx supercov runs latest runners
108
+ npx supercov runs latest scope
109
+ npx supercov runs latest --kind e2e
110
+ npx supercov runs latest files
111
+ npx supercov runs latest gaps
112
+ npx supercov runs latest gaps --metric mcdc
113
+ npx supercov runs latest gaps --kind e2e
114
114
 
115
115
  # Drill into one target selected from the gap list.
116
- npx supercov runs latest coverage file app/routes/example.ts
117
- npx supercov runs latest coverage file app/routes/example.ts --metric mcdc
118
- npx supercov runs latest coverage decision app/routes/example.ts:42
119
- npx supercov runs latest coverage covers app/routes/example.ts:57
116
+ npx supercov runs latest file app/routes/example.ts
117
+ npx supercov runs latest file app/routes/example.ts --metric mcdc
118
+ npx supercov runs latest decision app/routes/example.ts:42
119
+ npx supercov runs latest line app/routes/example.ts:57
120
120
 
121
121
  # Understand redundancy/contribution and validate a newly written test. Replace
122
122
  # "latest" with the immutable run ID when an agent continues work later.
123
- npx supercov runs latest coverage test "test title fragment"
124
- npx supercov runs latest coverage minimize --filter passed
125
- npx supercov runs latest coverage minimize --filter passed --metric mcdc --target 80
123
+ npx supercov runs latest test "test title fragment"
124
+ npx supercov runs latest minimize --filter passed
125
+ npx supercov runs latest minimize --filter passed --metric mcdc --target 80
126
126
  npx supercov diff <older-run> <newer-run>
127
127
 
128
128
  # Combine compatible shards without deleting their immutable source runs.
@@ -133,7 +133,7 @@ npx supercov merge <first-run-id> <second-run-id>
133
133
  missing disposable query view from the run's immutable evidence before printing
134
134
  that row; whether the view was already available is never exposed in the CLI.
135
135
  `supercov runs <run-id>` prints the same summary as
136
- `supercov runs <run-id> coverage`.
136
+ `supercov runs <run-id>`.
137
137
 
138
138
  Coverage queries use `--filter all` by default, matching conventional coverage
139
139
  tools: every executed attempt contributes, including attempts that later fail.
@@ -149,14 +149,14 @@ run. `latest` is a convenience selector for interactive use. Every query
149
149
  accepts `--json` and—where the result can be long—`--limit` and `--offset`.
150
150
  Every collection is paginated at 20 items by default and prints its range plus
151
151
  a copyable next-page command; generated commands omit the default limit.
152
- Agents targeting one coverage dimension can pass `--metric` to `coverage
153
- files`, `coverage gaps`, or `coverage file`; this ranks and narrows the existing
152
+ Agents targeting one coverage dimension can pass `--metric` to `files`, `gaps`,
153
+ or `file`; this ranks and narrows the existing
154
154
  resource instead of requiring a separate MC/DC-specific command.
155
155
  Measurement limitations use the same drill-down commands as ordinary gaps.
156
156
  The coverage summary reports whether the measured denominator is complete,
157
- `coverage files` and `coverage gaps` include per-file limitation counts and
158
- kinds, and `coverage file <path>` returns the bounded source locations, reasons,
159
- and denominator effect. `coverage scope` attaches the same counts to included,
157
+ `files` and `gaps` include per-file limitation counts and kinds, and `file
158
+ <path>` returns bounded gap lines with consolidated obligations and exact `line
159
+ <file:line>` drill-down commands. `scope` attaches the same counts to included,
160
160
  excluded, and ambiguous source entries. A 100% metric with a blocking limitation
161
161
  is therefore never reported as structurally complete.
162
162
  The summary also exposes provider-neutral transport counters. If Supercov
@@ -207,7 +207,7 @@ For a JavaScript or TypeScript project, the CLI:
207
207
  2. inventories first-party source from package entry points, workspaces,
208
208
  conventional source directories, and TypeScript roots. Every candidate is
209
209
  retained as included, excluded, or ambiguous; ambiguity blocks a complete
210
- verdict and is inspectable with `coverage scope`. Set
210
+ verdict and is inspectable with `scope`. Set
211
211
  `SUPERCOV_SOURCE_ROOTS` for an explicit authoritative scope;
212
212
  3. instruments through the existing Vite graph when available, or instruments
213
213
  only the disposable source copy before the project's unchanged
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supercov",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Zero-edit, runner-aware coverage completeness for JavaScript test suites",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -63,12 +63,12 @@
63
63
  "prepublishOnly": "npm run release:check"
64
64
  },
65
65
  "optionalDependencies": {
66
- "@supercov/cli-darwin-arm64": "0.0.14",
67
- "@supercov/cli-darwin-x64": "0.0.14",
68
- "@supercov/cli-linux-arm64-gnu": "0.0.14",
69
- "@supercov/cli-linux-arm64-musl": "0.0.14",
70
- "@supercov/cli-linux-x64-gnu": "0.0.14",
71
- "@supercov/cli-linux-x64-musl": "0.0.14"
66
+ "@supercov/cli-darwin-arm64": "0.0.15",
67
+ "@supercov/cli-darwin-x64": "0.0.15",
68
+ "@supercov/cli-linux-arm64-gnu": "0.0.15",
69
+ "@supercov/cli-linux-arm64-musl": "0.0.15",
70
+ "@supercov/cli-linux-x64-gnu": "0.0.15",
71
+ "@supercov/cli-linux-x64-musl": "0.0.15"
72
72
  },
73
73
  "peerDependencies": {
74
74
  "@playwright/test": ">=1.55.0",