-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Type-check generated server code when building #2778
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
Conversation
d0aa7ec
to
bc97d47
Compare
@infomiho this worked before merging the app runner for the headless tests, can you take a look? I think it's trying to run |
@cprecioso It's related to the building the server container, I believe we should maybe also copy the |
Deploying wasp-docs-on-main with
|
Latest commit: |
f96359b
|
Status: | ✅ Deploy successful! |
Preview URL: | https://fe7def56.wasp-docs-on-main.pages.dev |
Branch Preview URL: | https://cprecioso-push-rzywtyrurkqk.wasp-docs-on-main.pages.dev |
Ready for review! |
(waspProjectDir </> packageLockJsonInWaspProjectDir) | ||
packageLockJsonInBuildDir | ||
|
||
liftIO $ |
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'd add a comment that explains that we need this tsconfig.json
file since the server
config references the user TS config file. It took me a bit to figure this out when I was reviewing this.
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.
Works, looks okay, I'd just add a comment explaining why we need to copy the user tsconfig.json
to the build
dir.
Fixes #2458
This was approved in #2709, but forgot to keep that when that PR was closed. We bring it back here.