no-mistakes 0.98.0 → 0.99.0
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/coverage-assertion-owner-types.d.ts +29 -0
- package/index.d.ts +2 -1
- package/package.json +5 -5
- package/report-types.d.ts +8 -0
- package/traversal-types.d.ts +1 -0
- package/types.d.ts +1 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Unanalyzable } from "./traversal-types";
|
|
2
|
+
|
|
3
|
+
/** An exact callable in the prepared TS/JS catalog. No whole-file roots. */
|
|
4
|
+
export interface CoverageProducerFunction {
|
|
5
|
+
file: string;
|
|
6
|
+
symbol: string;
|
|
7
|
+
}
|
|
8
|
+
/** Binding-aware assertion or modeled dispatch identity. */
|
|
9
|
+
export interface CoverageAssertionImport {
|
|
10
|
+
module: string;
|
|
11
|
+
export: string;
|
|
12
|
+
}
|
|
13
|
+
/** Explicit trusted callback/process contract; the owner must still reach an assertion. */
|
|
14
|
+
export interface CoverageAssertionOwnership {
|
|
15
|
+
producer: CoverageProducerFunction;
|
|
16
|
+
owner: CoverageProducerFunction;
|
|
17
|
+
via: CoverageAssertionImport;
|
|
18
|
+
}
|
|
19
|
+
/** Options for the opt-in coverage-producer-assertion-owner check rule. */
|
|
20
|
+
export interface CoverageProducerAssertionOwnerOptions {
|
|
21
|
+
producers: CoverageProducerFunction[];
|
|
22
|
+
assertions: CoverageAssertionImport[];
|
|
23
|
+
ownership?: CoverageAssertionOwnership[];
|
|
24
|
+
/** Positive canonical edge depth. Default: 64. Truncation is unanalyzable. */
|
|
25
|
+
maxDepth?: number;
|
|
26
|
+
/** Positive visited callable cap, including the producer. Default: 10000. */
|
|
27
|
+
maxNodes?: number;
|
|
28
|
+
unanalyzable?: Unanalyzable;
|
|
29
|
+
}
|
package/index.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ import type {
|
|
|
37
37
|
ResolvedConfig,
|
|
38
38
|
GraphEdge,
|
|
39
39
|
PlaywrightOptions,
|
|
40
|
+
PlaywrightCoverageReport,
|
|
40
41
|
PlaywrightRelatedOptions,
|
|
41
42
|
ProjectOptions,
|
|
42
43
|
QueueCheckFinding,
|
|
@@ -160,7 +161,7 @@ export function testsGraphMermaid(
|
|
|
160
161
|
): Promise<string>;
|
|
161
162
|
export function playwrightCheck(
|
|
162
163
|
options?: WithInvocationOptions<PlaywrightOptions>,
|
|
163
|
-
): Promise<
|
|
164
|
+
): Promise<PlaywrightCoverageReport>;
|
|
164
165
|
export function playwrightEdges(
|
|
165
166
|
options?: WithInvocationOptions<PlaywrightOptions>,
|
|
166
167
|
): Promise<unknown>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "no-mistakes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.99.0",
|
|
4
4
|
"description": "Deterministic impact maps, test plans, Playwright coverage, and repository checks for coding agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
"optionalDependencies": {
|
|
68
|
-
"no-mistakes-darwin-arm64": "0.
|
|
69
|
-
"no-mistakes-linux-arm64-gnu": "0.
|
|
70
|
-
"no-mistakes-linux-x64-gnu": "0.
|
|
71
|
-
"no-mistakes-win32-x64-msvc": "0.
|
|
68
|
+
"no-mistakes-darwin-arm64": "0.99.0",
|
|
69
|
+
"no-mistakes-linux-arm64-gnu": "0.99.0",
|
|
70
|
+
"no-mistakes-linux-x64-gnu": "0.99.0",
|
|
71
|
+
"no-mistakes-win32-x64-msvc": "0.99.0"
|
|
72
72
|
}
|
|
73
73
|
}
|
package/report-types.d.ts
CHANGED
|
@@ -27,6 +27,14 @@ export interface PlaywrightRelatedOptions extends PlaywrightOptions {
|
|
|
27
27
|
files: string[];
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/** Playwright coverage output; matcher uncertainty is never complete coverage. */
|
|
31
|
+
export interface PlaywrightCoverageReport {
|
|
32
|
+
/** Config-file and property-line diagnostics, omitted for fully known matchers. */
|
|
33
|
+
warnings?: string[];
|
|
34
|
+
/** Other coverage fields retain their existing opaque JSON contract. */
|
|
35
|
+
[field: string]: unknown;
|
|
36
|
+
}
|
|
37
|
+
|
|
30
38
|
export interface GraphEdge {
|
|
31
39
|
from: string;
|
|
32
40
|
to: string;
|
package/traversal-types.d.ts
CHANGED
package/types.d.ts
CHANGED