The best way to control Claude Code, Codex and more from any computer or phone

main
json 112 lines 5.35 KB
Raw
1 {
2 "extends": "../../tsconfig.base.json",
3 "include": [
4 "package.json",
5 "test",
6 // JSON modules imported by fixtures (plain `include: ["test"]` only
7 // sweeps .ts files).
8 "test/Cloudflare/Workers/fixtures/prisma-orm/generated/contract.json",
9 "test/Prisma/ORM/fixtures/client/generated/contract.json",
10 "test/Prisma/ORM/fixtures/psl/generated/contract.json",
11 "test/Prisma/ORM/fixtures/variants/generated/contract.json"
12 ],
13 "exclude": [
14 // Prisma migration packages are self-emitting Node scripts whose
15 // snapshot imports (`../../snapshots/<hash>/contract`) are extensionless
16 // and only resolve under Prisma's own toolchain — not this project.
17 "test/Cloudflare/Workers/fixtures/prisma-orm/migrations",
18 // Executed by the prisma CLI (which resolves its own toolchain types);
19 // its inferred config type is not portable from this project.
20 "test/Cloudflare/Workers/fixtures/prisma-orm/prisma.config.ts",
21 "test/Prisma/ORM/fixtures/client/migrations",
22 "test/Prisma/ORM/fixtures/client/prisma.config.ts",
23 "test/Prisma/ORM/fixtures/psl/prisma.config.ts",
24 "test/Prisma/ORM/fixtures/psl/migrations",
25 "test/Prisma/ORM/fixtures/variants/prisma.config.ts",
26 "test/Prisma/ORM/fixtures/variants/migrations",
27 // Resolves its `@playground/*` packages only once the test installs
28 // them into the cloned fixture's `node_modules`.
29 "test/Cloudflare/Website/vite-module-resolution-fixture",
30 // The plugin's playground sources, typed against workers-types globals.
31 "test/Cloudflare/Website/vite-node-compat-fixture",
32 // Imports the Prisma client the test generates into the cloned fixture.
33 "test/Cloudflare/Website/vite-prisma-fixture",
34 // Imports the route types `react-router typegen` generates.
35 "test/Cloudflare/Website/vite-react-router-fixture",
36 // C3 templates, typed by their own tsconfigs and `wrangler types`.
37 "test/Cloudflare/Website/vite-react-template-fixture",
38 "test/Cloudflare/Website/vite-vue-template-fixture",
39 "test/Cloudflare/Website/vite-tanstack-start-template-fixture",
40 "test/Cloudflare/Website/vite-redwood-template-fixture",
41 "test/Cloudflare/Website/vite-vike-template-fixture",
42 // Nuxt fixtures: server routes use nitro's auto-imported globals, which
43 // only type-check against the `.nuxt/` types a nuxt build generates.
44 "test/Cloudflare/Website/fixtures/nuxt-app",
45 "test/Cloudflare/Website/fixtures/nuxt-spa-app",
46 // Octane fixtures use octane's JSX runtime.
47 "test/Cloudflare/Website/fixtures/octane-app",
48 "test/Cloudflare/Website/fixtures/octane-spa-app",
49 // Nuxt fixtures: server routes use nitro's auto-imported globals
50 // (`defineEventHandler`), which only type-check against the `.nuxt/`
51 // types a nuxt build generates.
52 "test/AWS/Website/fixtures/nuxt-app",
53 // Octane fixture: `.tsx` components use octane's JSX runtime, not
54 // the react-jsx runtime this package compiles with.
55 "test/AWS/Website/fixtures/octane-app",
56 // SolidStart fixture: `.tsx` components use solid-js's JSX runtime,
57 // which conflicts with this package's default `@opentui/solid`
58 // jsxImportSource.
59 "test/AWS/Website/fixtures/solidstart-app",
60 // TanStack Start fixture: `src/routeTree.gen.ts` is generated by the
61 // router plugin at build/dev time (gitignored), so the route modules
62 // have nothing to resolve until a build has run.
63 "test/AWS/Website/fixtures/tanstack-start-app",
64 // React Router fixture: route modules resolve their prop types from the
65 // `.react-router/types` typegen output (gitignored) that a build or dev
66 // run produces, and the `.tsx` files use React's JSX runtime rather than
67 // this package's default `@opentui/solid` jsxImportSource.
68 "test/AWS/Website/fixtures/react-router-app",
69 // Foldkit mode overlays are copied over a clone of the SSR fixture;
70 // their imports resolve only inside that clone.
71 "test/Website/fixtures/foldkit-modes"
72 ],
73 "compilerOptions": {
74 "composite": true,
75 "noEmit": true,
76 "outDir": "./lib",
77 "rootDir": ".",
78 "module": "Preserve",
79 "moduleResolution": "Bundler",
80 "target": "ESNext",
81 "jsx": "react-jsx",
82 "lib": ["DOM", "DOM.Iterable", "ES2023"],
83 // Never emits; fixture Workers import their siblings relatively so the
84 // bundler resolves them without tsconfig paths.
85 "rewriteRelativeImportExtensions": false
86 },
87 "references": [
88 { "path": "../alchemy/tsconfig.json" },
89 { "path": "../sql/tsconfig.json" },
90 { "path": "../redis/tsconfig.json" },
91 { "path": "../docker/tsconfig.json" },
92 { "path": "../kubernetes/tsconfig.json" },
93 { "path": "../domain/tsconfig.json" },
94 { "path": "../aws/tsconfig.json" },
95 { "path": "../gcp/tsconfig.json" },
96 { "path": "../alchemy-test/tsconfig.json" },
97 { "path": "../git/tsconfig.json" },
98 { "path": "../acme/tsconfig.json" },
99 { "path": "../drizzle/tsconfig.json" },
100 { "path": "../axiom/tsconfig.json" },
101 { "path": "../turso/tsconfig.json" },
102 { "path": "../planetscale/tsconfig.json" },
103 { "path": "../neon/tsconfig.json" },
104 { "path": "../prisma/tsconfig.json" },
105 { "path": "../hetzner/tsconfig.json" },
106 { "path": "../railway/tsconfig.json" },
107 { "path": "../fly/tsconfig.json" },
108 { "path": "../github/tsconfig.json" },
109 { "path": "../stripe/tsconfig.json" },
110 { "path": "../cloudflare/tsconfig.json" }
111 ]
112 }