-
Notifications
You must be signed in to change notification settings - Fork 713
full-app tsc #227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
full-app tsc #227
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
app/lib/runtime/action-runner.ts
Outdated
|
|
||
| { | ||
| // Typecheck convex functions and deploy | ||
| const convexProc = await container.spawn('npx', ['convex', 'dev', '--once']); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
No description provided.