| 1 | // The tsconfig `next build` type-checks with (see typescript.tsconfigPath in |
| 2 | // next.config.mjs). It scopes the check to the Next app code only: |
| 3 | // alchemy.run.ts and test/ import the `alchemy` workspace package, whose |
| 4 | // types resolve from packages/alchemy's built lib/ — not available in a |
| 5 | // source-only checkout. Those files are still type-checked by the repo-wide |
| 6 | // `tsc -b` (the root tsconfig references this example's tsconfig.json). |
| 7 | { |
| 8 | "extends": "./tsconfig.json", |
| 9 | "include": [ |
| 10 | "next-env.d.ts", |
| 11 | "app/**/*", |
| 12 | ".next/types/**/*.ts", |
| 13 | ".next/dev/types/**/*.ts" |
| 14 | ], |
| 15 | "exclude": ["node_modules"] |
| 16 | } |