fix(cli): add @cloudflare/workers-types to devDependencies and update tsconfig for alchemy deployment

This commit is contained in:
Aman Varshney
2025-09-10 23:22:58 +05:30
parent e9f43fa4c1
commit ff4a088407
2 changed files with 12 additions and 6 deletions

View File

@@ -21,16 +21,22 @@
],
"paths": {
"@/*": ["./src/*"]
}
}{{#if (or (eq serverDeploy "alchemy") (eq webDeploy "alchemy"))}},
"types": [
"@cloudflare/workers-types"
]{{/if}}
},
"include": [
{{#if (eq serverDeploy "alchemy")}}
"../server/env.d.ts",
{{/if}}
{{#if (eq serverDeploy "wrangler")}}
"../server/worker-configuration.d.ts",
{{/if}}
"./next-env.d.ts",
"./**/*.ts",
"./**/*.tsx",
"./.next/types/**/*.ts",
{{#if (eq runtime "workers")}}
"../server/worker-configuration.d.ts"
{{/if}}
"./.next/types/**/*.ts"
],
"exclude": [
"./node_modules"