no-mistakes 0.27.0 → 0.28.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/README.md CHANGED
@@ -65,7 +65,7 @@ const {
65
65
  });
66
66
  const plan = await testsPlan({
67
67
  root: process.cwd(),
68
- framework: "vitest", // also supports "playwright" and "swift"
68
+ framework: "vitest", // also supports "playwright", "dotnet", and "swift"
69
69
  changedFiles: ["src/utils.mts"],
70
70
  });
71
71
  const targetCommands = await testsTargets({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "no-mistakes",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "Static codebase analysis tools for TS/JS dependencies, dependents, and symbols",
5
5
  "license": "MIT",
6
6
  "repository": {
package/test-types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { SymbolEntrypoint } from "./traversal-types";
2
2
 
3
3
  export interface TestsPlanOptions {
4
- framework?: "vitest" | "playwright" | "swift";
4
+ framework?: "vitest" | "playwright" | "dotnet" | "swift";
5
5
  root?: string;
6
6
  config?: string;
7
7
  tsconfig?: string;
@@ -32,7 +32,7 @@ export interface TestsImpactOptions {
32
32
  }
33
33
 
34
34
  export interface TestsTargetsOptions {
35
- framework: "vitest" | "playwright" | "swift";
35
+ framework: "vitest" | "playwright" | "dotnet" | "swift";
36
36
  root?: string;
37
37
  config?: string;
38
38
  files: string[];
@@ -54,7 +54,7 @@ export interface SelectedTest {
54
54
  }
55
55
 
56
56
  export interface TestExecutionTarget {
57
- runner: "vitest" | "playwright" | "swift";
57
+ runner: "vitest" | "playwright" | "dotnet" | "swift";
58
58
  config?: string | null;
59
59
  project?: string | null;
60
60
  base_command: string[];
@@ -81,7 +81,7 @@ export interface TestPlanWarning {
81
81
  }
82
82
 
83
83
  export interface TestsTargetsReport {
84
- framework: "vitest" | "playwright" | "swift";
84
+ framework: "vitest" | "playwright" | "dotnet" | "swift";
85
85
  tests: TestTargetRow[];
86
86
  warnings: TestTargetWarning[];
87
87
  }
@@ -19,6 +19,7 @@ export type Relationship =
19
19
  | "process"
20
20
  | "asset"
21
21
  | "react"
22
+ | "dotnet"
22
23
  | "swift"
23
24
  | "terraform"
24
25
  | "all";