no-mistakes 0.92.0 → 0.94.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/check-report-types.d.ts +5 -0
- package/package.json +5 -5
- package/swift-command-types.d.ts +8 -0
- package/test-types.d.ts +18 -0
- package/types.d.ts +1 -0
package/check-report-types.d.ts
CHANGED
|
@@ -10,6 +10,11 @@ export interface CheckReport {
|
|
|
10
10
|
runnerConfigDeadlines?: RunnerConfigDeadlineEvidence[];
|
|
11
11
|
codebase: UniqueExportFinding[];
|
|
12
12
|
warnings: string[];
|
|
13
|
+
/**
|
|
14
|
+
* SQL-looking member `.query` calls that were not proven to be executors.
|
|
15
|
+
* Omitted when zero. Not a failure and not part of `warnings`.
|
|
16
|
+
*/
|
|
17
|
+
unprovenMemberQuerySql?: number;
|
|
13
18
|
advisories: RuleFinding[];
|
|
14
19
|
/** Present when `includeSuppressed` is requested; empty when no directives matched. */
|
|
15
20
|
suppressed?: SuppressedFinding[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "no-mistakes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.94.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.94.0",
|
|
69
|
+
"no-mistakes-linux-arm64-gnu": "0.94.0",
|
|
70
|
+
"no-mistakes-linux-x64-gnu": "0.94.0",
|
|
71
|
+
"no-mistakes-win32-x64-msvc": "0.94.0"
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Literal per-package Swift runner argv from `tests.swift.baseCommands`.
|
|
3
|
+
* Keys are declared `tests.swift.packages` paths. Omitted packages use
|
|
4
|
+
* `["swift", "test"]`.
|
|
5
|
+
*/
|
|
6
|
+
export interface SwiftPackageBaseCommands {
|
|
7
|
+
[packageRoot: string]: string[];
|
|
8
|
+
}
|
package/test-types.d.ts
CHANGED
|
@@ -101,6 +101,18 @@ export interface TestsTargetsOptions {
|
|
|
101
101
|
files: string[];
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
/**
|
|
105
|
+
* Why dependency coverage in a plan is unfinished.
|
|
106
|
+
* `fallbackTriggered` is not a substitute for this marker.
|
|
107
|
+
*/
|
|
108
|
+
export type TestPlanIncompletenessKind = "dependency-baseline-missing";
|
|
109
|
+
|
|
110
|
+
export interface TestPlanIncompleteness {
|
|
111
|
+
kind: TestPlanIncompletenessKind;
|
|
112
|
+
/** Root-relative manifests or lockfiles that had no comparison baseline. */
|
|
113
|
+
files: string[];
|
|
114
|
+
}
|
|
115
|
+
|
|
104
116
|
export interface TestPlan {
|
|
105
117
|
/** Complete deterministic changed-file inventory, relative to the request root. */
|
|
106
118
|
changedFiles: string[];
|
|
@@ -109,6 +121,11 @@ export interface TestPlan {
|
|
|
109
121
|
warnings: TestPlanWarning[];
|
|
110
122
|
fallbackTriggered: boolean;
|
|
111
123
|
fallbackReason?: string | null;
|
|
124
|
+
/**
|
|
125
|
+
* Present when dependency coverage is unfinished. A scoped fallback can
|
|
126
|
+
* still set `fallbackTriggered` without covering these files.
|
|
127
|
+
*/
|
|
128
|
+
incomplete?: TestPlanIncompleteness[];
|
|
112
129
|
executionTargets?: GroupedExecutionTarget[];
|
|
113
130
|
comment?: string | null;
|
|
114
131
|
}
|
|
@@ -139,6 +156,7 @@ export interface TestExecutionTarget {
|
|
|
139
156
|
project?: string | null;
|
|
140
157
|
/** Path-prefix display name, such as a Swift package root. */
|
|
141
158
|
name?: string;
|
|
159
|
+
/** Swift uses {@link SwiftPackageBaseCommands} or `["swift", "test"]`. */
|
|
142
160
|
baseCommand: string[];
|
|
143
161
|
runnerArgs: string[];
|
|
144
162
|
}
|
package/types.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./analyze-project-types";
|
|
|
4
4
|
export * from "./flow-types";
|
|
5
5
|
export * from "./import-usage-types";
|
|
6
6
|
export * from "./test-types";
|
|
7
|
+
export * from "./swift-command-types";
|
|
7
8
|
export * from "./test-audit-types";
|
|
8
9
|
export * from "./report-types";
|
|
9
10
|
export * from "./server-contract-types";
|