authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-09-07 15:00:38-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-07 15:00:38-07:00
logb491e41da366beb03c54b585745318553f1239c5
treeba480cbc87e74e05b2b98b2e49a959ddf5d6e8b0
parente279e402c12b002cedcd8c4ea19476fc33783dac
signature Signed by PGP key B5690EEEBB952194

ci(knip): enforce desktop exports (#10269)


2 files changed, 3 insertions(+), 3 deletions(-)

docs/operations/development.md+2-2
...@@ -74,8 +74,8 @@ Windows investigation while that suite is not a required gate....@@ -74,8 +74,8 @@ Windows investigation while that suite is not a required gate.
74### Unused code74### Unused code
7575
76`vp run knip:check` checks unused files and dependencies across the repo, then76`vp run knip:check` checks unused files and dependencies across the repo, then
77unused runtime exports in `apps/web` and every internal package under `packages/`.77unused runtime exports in `apps/desktop`, `apps/web`, and every internal package under
78CI enforces both checks.78`packages/`. CI enforces both checks.
79Exported types and Effect schemas are allowed without consumers. The schema preprocessor79Exported types and Effect schemas are allowed without consumers. The schema preprocessor
80recognizes schema types, including aliases and schema classes; functions that create or decode80recognizes schema types, including aliases and schema classes; functions that create or decode
81schemas remain checked. Completely unused files remain checked too.81schemas remain checked. Completely unused files remain checked too.
package.json+1-1
...@@ -26,7 +26,7 @@...@@ -26,7 +26,7 @@
26 "tc": "vp run -r --concurrency-limit 2 typecheck",26 "tc": "vp run -r --concurrency-limit 2 typecheck",
27 "lint": "vp lint --report-unused-disable-directives",27 "lint": "vp lint --report-unused-disable-directives",
28 "knip": "knip --preprocessor ./scripts/knip-schemas.ts",28 "knip": "knip --preprocessor ./scripts/knip-schemas.ts",
29 "knip:check": "knip --include files,dependencies --no-config-hints && knip --workspace apps/web --workspace packages/client-runtime --workspace packages/contracts --workspace packages/effect-acp --workspace packages/effect-codex-app-server --workspace packages/shared --workspace packages/ssh --workspace packages/tailscale --exports --preprocessor ./scripts/knip-schemas.ts --no-config-hints",29 "knip:check": "knip --include files,dependencies --no-config-hints && knip --workspace apps/desktop --workspace apps/web --workspace packages/client-runtime --workspace packages/contracts --workspace packages/effect-acp --workspace packages/effect-codex-app-server --workspace packages/shared --workspace packages/ssh --workspace packages/tailscale --exports --preprocessor ./scripts/knip-schemas.ts --no-config-hints",
30 "knip:production": "knip --production --preprocessor ./scripts/knip-schemas.ts",30 "knip:production": "knip --production --preprocessor ./scripts/knip-schemas.ts",
31 "lint:mobile": "node scripts/mobile-native-static-check.ts",31 "lint:mobile": "node scripts/mobile-native-static-check.ts",
32 "test": "vp run -r test",32 "test": "vp run -r test",