Skip to content
TypeScript

fix(knip): mobile-e2e runs agent-device's CLI by path

Julius Marminge3e69171f9b03
diff --git a/knip.jsonc b/knip.jsonc
index ed757fe9c20..2938c045ecd 100644
--- a/knip.jsonc
+++ b/knip.jsonc
@@ -19,8 +19,9 @@
"scripts": {
// Knip loads its preprocessor through a CLI option; native verification and
// worktree setup (from t3.json) run directly. release-desktop.yml bundles the
- // Windows verify script with esbuild through a path knip does not trace, and
- // electron-builder loads the macOS signer by path.
+ // Windows verify script with esbuild through a path knip does not trace,
+ // electron-builder loads the macOS signer by path, and mobile-e2e.ts runs
+ // agent-device's CLI by path.
"entry": [
// These fixture scripts are injected into a browser page by path.
"fixtures/*/*.js",
@@ -30,7 +31,7 @@
"sign-macos.ts",
"verify-windows-desktop-artifact.ts",
],
- "ignoreDependencies": ["esbuild"],
+ "ignoreDependencies": ["agent-device", "esbuild"],
// The `t3` npm package's files: copied into the package, never imported.
// knip-schemas.test.ts writes a throwaway project to .knip-test-*, which a
// knip run beside it in check:changed must not report.