Skip to content

Conversation

@thomasballinger
Copy link
Collaborator

No description provided.

@vercel
Copy link

vercel bot commented Apr 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
chef ✅ Ready (Inspect) Visit Preview Apr 10, 2025 4:03am


{
// Typecheck convex functions and deploy
const convexProc = await container.spawn('npx', ['convex', 'dev', '--once']);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might it be a little better to do something like...

spawn('sh', ['-c', 'tsc --noEmit -p tsconfig.app.json && convex dev --once'])

so we have a single process?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and that still short-circuits, sure we can do that

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm worried about changing the order to do app typescript first because we need to codegen first but I'm not sure how codegen works for CONVEX_DEPLOY_KEY etc., it's just a different flow that we've done all week

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm worried about changing the order, we need a codegen to typecheck and I'm not sure if typecheck deals with all the CONVEX_DEPLOY_KEY well.

@thomasballinger thomasballinger added this pull request to the merge queue Apr 10, 2025
Merged via the queue into staging with commit 70d6eed Apr 10, 2025
2 checks passed
@thomasballinger thomasballinger deleted the tsc branch April 10, 2025 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants