Files
vercel__workflow/workbench/nitro-v2/tsconfig.json
Nathan Colosimo 1c07d7d29a fix(workbench): add @repo/* tsconfig alias to nitro-v2 (#2787)
The workbench workflows are shared across apps (nitro-v2/workflows
symlinks into files shared with workbench/example), and the shared
99_e2e.ts workflow imports @repo/lib/steps/paths-alias-test. nitro-v2's
tsconfig was missing the @repo/* path alias that nitro-v3 already has,
so building nitro-v2 with the Vercel preset failed at esbuild
resolution:

  ../example/workflows/99_e2e.ts: ERROR: Could not resolve
  "@repo/lib/steps/paths-alias-test"

Mirror nitro-v3's alias. Verified NITRO_PRESET=vercel pnpm build now
succeeds (was failing on main before this change).
2026-07-07 15:09:15 -07:00

29 lines
603 B
JSON

{
"compilerOptions": {
"target": "es2022",
"module": "NodeNext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"paths": {
"@/*": ["./*"],
"@repo/*": ["../../*"]
},
"plugins": [
{
"name": "workflow"
}
]
},
"include": ["**/*.ts", "**/*.tsx", "*.js"],
"exclude": ["node_modules"]
}