t3code
t3code copied to clipboard
Drop seven dependencies that have no importer
Seven declared packages have no importer.
| Package | Declared in | Evidence |
|---|---|---|
electron-store |
apps/desktop/package.json:28 |
no reference anywhere in the repo |
@expo/metro-runtime |
apps/mobile/package.json:52 |
its own package.json entry and the pnpm-workspace catalog pin, nothing else |
expo-auth-session |
apps/mobile/package.json:80 |
same |
expo-dev-client |
apps/mobile/package.json:87 |
same, and no developmentClient in apps/mobile/app.config.ts |
react-native-worklets |
apps/mobile/package.json:127 |
same, plus one unrelated comment at .cursor/rules/cursor-cloud.mdc:55 |
react-native-nitro-modules |
apps/mobile/package.json:120 |
package.json, a patch entry at pnpm-workspace.yaml:265, and third-party-licenses.config.json:487. The code imports react-native-nitro-markdown, not this one |
drizzle-kit |
infra/relay/package.json:30 |
no drizzle.config.ts exists in the repo and no script invokes it. Migrations are committed SQL under infra/relay/migrations/postgres/ |
react-native-nitro-modules is the least certain of the seven. The patch entry is the only other trace and it may just be a copy-paste in the workspace file.
Removing a dependency also means dropping its pnpm-workspace catalog pin. Nitro-modules additionally needs the patch entry and the third-party-licenses entry removed.
Checked and confirmed live, so nobody removes these by accident:
cross-env, used atapps/desktop/vite.config.ts:34expo-asset,expo-build-properties,expo-fontandexpo-web-browser, all four referenced in theapps/mobile/app.config.tsplugins arrays at lines 316, 416, 318 and 357@clerk/electron-passkeys, used atapps/desktop/src/app/DesktopClerk.ts:83,apps/desktop/src/preload.ts:32andscripts/verify-preload-bundle.mjs:15,140babel-plugin-react-compiler, pulled in throughreactCompilerPreset()atapps/web/vite.config.ts:181
Re-check this list with dependencies installed before landing the removals. knip.jsonc is already in the repo and CI runs knip:check, so that pass should catch anything missed here.