tsconfig.client.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. // Client-side typecheck aggregate: packages/client tests (.ts and .tsx).
  3. // Split from the host aggregate because both sides merge cordis Context
  4. // under the same keys (sessions, loader) with different services; shared
  5. // leaves (session/llm/tools/apiproxy/...) build once and are referenced by
  6. // both programs through each client package's own references.
  7. "extends": "./tsconfig.base.client.json",
  8. "compilerOptions": {
  9. "noEmit": true,
  10. "rewriteRelativeImportExtensions": false,
  11. // Tests execute under vitest on node (e2e files spawn processes); browser
  12. // purity of package src is each package's own tsconfig plus
  13. // scripts/client-bundle-purity.spec.ts.
  14. "types": ["node"]
  15. },
  16. "include": [
  17. "packages/client/*/tests/**/*.ts",
  18. "packages/client/*/tests/**/*.tsx",
  19. "packages/client/tsdown.client.ts",
  20. "scripts/client-bundle-purity.spec.ts"
  21. ],
  22. "references": [
  23. // Shared leaf: web e2e boots the real host webserver (fixture + real-host
  24. // smoke policy). webserver has zero workspace deps and no cordis merge,
  25. // so it cannot drag host-side Context augmentation into this program.
  26. { "path": "./packages/host/webserver" },
  27. { "path": "./packages/client/ui-slots" },
  28. { "path": "./packages/client/ui-primitives" },
  29. { "path": "./packages/client/web-react" },
  30. { "path": "./packages/client/modules" },
  31. { "path": "./packages/client/hmr" },
  32. { "path": "./packages/client/connection" },
  33. { "path": "./packages/client/runtime" },
  34. { "path": "./packages/client/ui-layout" },
  35. { "path": "./packages/client/ui-sidebar" },
  36. { "path": "./packages/client/ui-conversation" },
  37. { "path": "./packages/client/ui-workspace" },
  38. { "path": "./packages/client/ui-question" },
  39. { "path": "./packages/client/ui-trajectory" },
  40. { "path": "./packages/client/ui-theme" },
  41. { "path": "./packages/client/ui-settings" },
  42. { "path": "./packages/client/ui-settings-general" },
  43. { "path": "./packages/client/ui-models" },
  44. { "path": "./packages/client/locale" },
  45. { "path": "./packages/client/web" },
  46. { "path": "./apps/web" }
  47. ]
  48. }