fix(cli): add cloudflare workers types in apps/server when server deploy is alchemy

This commit is contained in:
Aman Varshney
2025-08-23 06:37:15 +05:30
parent a37827047c
commit 921560aa6f
3 changed files with 10 additions and 3 deletions

View File

@@ -83,7 +83,13 @@ export async function setupAlchemyServerDeploy(
if (!(await fs.pathExists(serverDir))) return;
await addPackageDependency({
devDependencies: ["alchemy", "wrangler", "@types/node", "dotenv"],
devDependencies: [
"alchemy",
"wrangler",
"@types/node",
"dotenv",
"@cloudflare/workers-types",
],
projectDir: serverDir,
});