Performance improvements: - Cache node_modules in addition to ~/.npm to skip dependency installation - Add TypeScript incremental compilation caching with tsBuildInfoFile - Parallelize lint and typecheck steps to run concurrently - Add performance flags: --prefer-offline, --no-audit, --no-fund for npm ci - Increase Node.js memory limit to 4GB and thread pool size - Cache build output directory for faster rebuilds - Upgrade TypeScript target to ES2020 for faster compilation - Disable Next.js telemetry to reduce overhead Expected reduction: 5+ minutes → 2-3 minutes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
652 B
JSON
28 lines
652 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"tsBuildInfoFile": ".next/types/tsbuildinfo",
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
"exclude": ["node_modules"]
|
|
}
|