no-mistakes 0.43.3 → 0.44.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
@@ -68,7 +68,7 @@ const {
68
68
  });
69
69
  const plan = await testsPlan({
70
70
  root: process.cwd(),
71
- framework: "vitest", // also supports "playwright", "dotnet", and "swift"
71
+ framework: "vitest", // also python, go, cargo, rails, php, playwright, dotnet, swift
72
72
  changedFiles: ["src/utils.mts"],
73
73
  });
74
74
  // Complete changed-file inventory, including paths that selected no tests.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "no-mistakes",
3
- "version": "0.43.3",
3
+ "version": "0.44.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,6 +1,15 @@
1
1
  import type { SymbolEntrypoint } from "./traversal-types";
2
2
 
3
- type TestPlanFramework = "vitest" | "playwright" | "dotnet" | "swift";
3
+ type TestPlanFramework =
4
+ | "vitest"
5
+ | "playwright"
6
+ | "dotnet"
7
+ | "swift"
8
+ | "python"
9
+ | "go"
10
+ | "cargo"
11
+ | "rails"
12
+ | "php";
4
13
 
5
14
  interface TestsPlanOptionsBase {
6
15
  framework?: TestPlanFramework;
@@ -65,7 +74,7 @@ export interface TestsImpactOptions {
65
74
  }
66
75
 
67
76
  export interface TestsTargetsOptions {
68
- framework: "vitest" | "playwright" | "dotnet" | "swift";
77
+ framework: TestPlanFramework;
69
78
  /** Project root. Defaults to the current working directory. */
70
79
  root?: string;
71
80
  /** Path to the no-mistakes config file (e.g. .no-mistakes.yml). Auto-discovered in root if omitted. */
@@ -91,7 +100,7 @@ export interface SelectedTest {
91
100
  }
92
101
 
93
102
  export interface TestExecutionTarget {
94
- runner: "vitest" | "playwright" | "dotnet" | "swift";
103
+ runner: TestPlanFramework;
95
104
  config?: string | null;
96
105
  /** True when config is a Vitest workspace/project-array source rendered with --workspace. */
97
106
  workspace?: boolean;
@@ -150,7 +159,7 @@ export interface TestPlanWarning {
150
159
  }
151
160
 
152
161
  export interface TestsTargetsReport {
153
- framework: "vitest" | "playwright" | "dotnet" | "swift";
162
+ framework: TestPlanFramework;
154
163
  tests: TestTargetRow[];
155
164
  warnings: TestTargetWarning[];
156
165
  }
@@ -26,6 +26,11 @@ export type Relationship =
26
26
  | "dotnet"
27
27
  | "swift"
28
28
  | "terraform"
29
+ | "python"
30
+ | "go"
31
+ | "rust"
32
+ | "ruby"
33
+ | "php"
29
34
  | "resource"
30
35
  | "all";
31
36