feat(cli): upgrade next and elysia (#533)

This commit is contained in:
Aman Varshney
2025-08-24 23:29:15 +05:30
committed by GitHub
parent d28a2daea4
commit da2bef7088
8 changed files with 34 additions and 51 deletions

View File

@@ -2731,20 +2731,6 @@ describe("create-better-t-stack smoke", () => {
});
};
const runCodegen = async (pm: "bun" | "pnpm" | "npm", cwd: string) => {
if (pm === "bun")
return execa("bunx", ["convex", "codegen"], {
cwd,
stdio: "inherit",
});
if (pm === "pnpm")
return execa("pnpm", ["dlx", "convex", "codegen"], {
cwd,
stdio: "inherit",
});
return execa("npx", ["convex", "codegen"], { cwd, stdio: "inherit" });
};
for (const dirName of projectNames) {
it(`builds ${dirName}`, async () => {
const projectDir = join(workdir, dirName);
@@ -2801,10 +2787,6 @@ describe("create-better-t-stack smoke", () => {
);
return;
}
consola.start("Running Convex codegen in packages/backend ...");
const backendDir = join(projectDir, "packages", "backend");
const codegenRes = await runCodegen(pm, backendDir);
expect(codegenRes.exitCode).toBe(0);
}
if (scripts.build) {