Files
Clément SAILLANT ae8f865f1f fix(web): fix excalidraw type imports + build for Next.js 14 / v0.18
- tsconfig.json: exclude aperant/ (Electron shims with external deps out of scope)
- excalidraw-canvas.tsx: import ExcalidrawImperativeAPI from /types subpath
- use-yjs-excalidraw.ts: import ExcalidrawElement from /element/types subpath
- package.json: add express, cors, @types/express, @types/cors, @types/ws
- Build compiles cleanly: 6 routes (/, /diagram, /pcb, /review, /api/ops/health)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 18:04:15 +01:00

43 lines
702 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"lib": [
"dom",
"dom.iterable",
"es2022"
],
"allowJs": false,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"baseUrl": ".",
"paths": {
"@/*": [
"./*"
]
},
"esModuleInterop": true
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules",
"aperant"
]
}