no-mistakes 0.23.1 → 0.24.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
@@ -56,7 +56,7 @@ const {
56
56
  });
57
57
  const plan = await testsPlan({
58
58
  root: process.cwd(),
59
- framework: "vitest",
59
+ framework: "vitest", // also supports "playwright" and "swift"
60
60
  changedFiles: ["src/utils.mts"],
61
61
  });
62
62
  const projectCheck = await check({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "no-mistakes",
3
- "version": "0.23.1",
3
+ "version": "0.24.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";
4
+ framework?: "vitest" | "playwright" | "swift";
5
5
  root?: string;
6
6
  config?: string;
7
7
  tsconfig?: string;
@@ -47,7 +47,7 @@ export interface SelectedTest {
47
47
  }
48
48
 
49
49
  export interface TestExecutionTarget {
50
- runner: "vitest" | "playwright";
50
+ runner: "vitest" | "playwright" | "swift";
51
51
  config?: string | null;
52
52
  project?: string | null;
53
53
  base_command: string[];
@@ -17,6 +17,7 @@ export type Relationship =
17
17
  | "process"
18
18
  | "asset"
19
19
  | "react"
20
+ | "swift"
20
21
  | "all";
21
22
 
22
23
  export interface TraverseOptions {