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 "test/Cli/fixtures/shutdown-feedback-fixture.ts",
28 "test/Local/fixtures/rpc-server-entry.ts",
29 "test/Local/fixtures/rpc-server-entry-b.ts",
30 "test/Local/fixtures/rpc-server-logs.ts",
31 "test/Local/fixtures/rpc-spawner-parent.ts",
32 "test/Local/fixtures/rpc-spawner-devserver-parent.ts",
33 // Nuxt fixtures: server routes use nitro's auto-imported globals
34 // (`defineEventHandler`), which only type-check against the `.nuxt/`
35 // types a nuxt build generates.
36 "test/Cloudflare/Website/fixtures/nuxt-app",
37 "test/AWS/Website/fixtures/nuxt-app",
38 "test/Cloudflare/Website/fixtures/nuxt-spa-app",
39 // Octane fixture: `.tsx` components use octane's JSX runtime, not
40 // the react-jsx runtime this package compiles with.
41 "test/Cloudflare/Website/fixtures/octane-app",
42 "test/Cloudflare/Website/fixtures/octane-spa-app",
43 "test/AWS/Website/fixtures/octane-app",
44 // SolidStart fixture: `.tsx` components use solid-js's JSX runtime,
45 // which conflicts with this package's default `@opentui/solid`
46 // jsxImportSource.
47 "test/AWS/Website/fixtures/solidstart-app",
48 // TanStack Start fixture: `src/routeTree.gen.ts` is generated by the
49 // router plugin at build/dev time (gitignored), so the route modules
50 // have nothing to resolve until a build has run.
51 "test/AWS/Website/fixtures/tanstack-start-app",
52 // React Router fixture: route modules resolve their prop types from the
53 // `.react-router/types` typegen output (gitignored) that a build or dev
54 // run produces, and the `.tsx` files use React's JSX runtime rather than
55 // this package's default `@opentui/solid` jsxImportSource.
56 "test/AWS/Website/fixtures/react-router-app"
57 ],
58 "compilerOptions": {
59 "composite": true,
60 "noEmit": true,
61 "outDir": "./lib",
62 "rootDir": ".",
63 "module": "Preserve",
64 "moduleResolution": "Bundler",
65 "target": "ESNext",
66 "paths": {
67 "@/*": ["./src/*"]
68 },
69 "jsx": "react-jsx",
70 "lib": ["DOM", "DOM.Iterable", "ES2023"]
71 },
72 "references": [
73 {
74 "path": "./tsconfig.json"
75 },
76 {
77 "path": "../alchemy-test/tsconfig.json"
78 }
79 ]
80}