mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
1c07d7d29a
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).
29 lines
603 B
JSON
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"]
|
|
}
|