no-mistakes 0.104.0 → 0.105.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "no-mistakes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.105.0",
|
|
4
4
|
"description": "Deterministic impact maps, test plans, Playwright coverage, and repository checks for coding agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
"optionalDependencies": {
|
|
69
|
-
"no-mistakes-darwin-arm64": "0.
|
|
70
|
-
"no-mistakes-linux-arm64-gnu": "0.
|
|
71
|
-
"no-mistakes-linux-x64-gnu": "0.
|
|
72
|
-
"no-mistakes-win32-x64-msvc": "0.
|
|
69
|
+
"no-mistakes-darwin-arm64": "0.105.0",
|
|
70
|
+
"no-mistakes-linux-arm64-gnu": "0.105.0",
|
|
71
|
+
"no-mistakes-linux-x64-gnu": "0.105.0",
|
|
72
|
+
"no-mistakes-win32-x64-msvc": "0.105.0"
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Unanalyzable } from "./traversal-types";
|
|
1
|
+
import type { Effort, Unanalyzable } from "./traversal-types";
|
|
2
2
|
|
|
3
3
|
/** Configuration for the `postgres-no-test-state-mutation` check rule. */
|
|
4
4
|
export interface PostgresNoTestStateMutationOptions {
|
|
@@ -11,6 +11,8 @@ export interface PostgresNoTestStateMutationOptions {
|
|
|
11
11
|
executorFactoryNames?: string[];
|
|
12
12
|
executorTypeNames?: string[];
|
|
13
13
|
trustedSqlTags?: { module: string; name: string }[];
|
|
14
|
+
/** `low` checks direct SQL syntax and one local const; `max` is the default. */
|
|
15
|
+
effort?: Effort;
|
|
14
16
|
unanalyzable?: Unanalyzable;
|
|
15
17
|
/** Legacy spelling; `fail` is accepted as `report`. */
|
|
16
18
|
unanalyzableSql?: "fail" | "ignore" | "advise";
|
|
@@ -14,6 +14,14 @@ export interface TestNoLiveRepositoryScanEnumerator {
|
|
|
14
14
|
export?: string;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
/** A shipped asset tree that production code reads at runtime. */
|
|
18
|
+
export interface TestNoLiveRepositoryScanRuntimeAsset {
|
|
19
|
+
/** Repository-relative directory, for example `assets/migrations`. No `..`, no leading `/`. */
|
|
20
|
+
root: string;
|
|
21
|
+
/** Why the tree is shipped input rather than a source or policy tree. Required. */
|
|
22
|
+
reason: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
17
25
|
/** Options for `test-no-live-repository-scan`. */
|
|
18
26
|
export interface TestNoLiveRepositoryScanOptions {
|
|
19
27
|
/** Traversal roots. Default: every Vitest project. */
|
|
@@ -26,4 +34,9 @@ export interface TestNoLiveRepositoryScanOptions {
|
|
|
26
34
|
enumerators?: TestNoLiveRepositoryScanEnumerator[];
|
|
27
35
|
/** How unresolved scan roots are reported; default: `"advise"`. They are never omitted. */
|
|
28
36
|
unresolvedRoot?: "advise" | "report";
|
|
37
|
+
/**
|
|
38
|
+
* Shipped asset roots. A literal read at or under one is listed as an advisory with
|
|
39
|
+
* target `runtime asset` instead of failing; other trees are still reported.
|
|
40
|
+
*/
|
|
41
|
+
runtimeAssets?: TestNoLiveRepositoryScanRuntimeAsset[];
|
|
29
42
|
}
|