-
Notifications
You must be signed in to change notification settings - Fork 1k
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
fix(deploy): added windows fix for nodeFileTrace when deploying to serverless #6325
fix(deploy): added windows fix for nodeFileTrace when deploying to serverless #6325
Conversation
unregexed. Co-authored-by: Tobbe Lundberg <[email protected]>
unregexed Co-authored-by: Tobbe Lundberg <[email protected]>
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.
Leaving a couple of small comments, thank you for your help with 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.
no longer need changes to web.ts or api.ts
Thank you @IThinkThatsKirby - I'll add some more unit tests for this, but looking promising! |
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.
All looking good! Thank you so much for your help with this @IThinkThatsKirby
PS I'm very pleased with my kitten utils tests 🤣
* issue#5852 added windows fix for nodeFileTrace * Update packages/internal/src/build/api.ts unregexed. Co-authored-by: Tobbe Lundberg <[email protected]> * Update packages/internal/src/build/web.ts unregexed Co-authored-by: Tobbe Lundberg <[email protected]> * issue# 5852 now only the import files are changed. * issue #5852 only import files changed. * Adds test for src-alias plugin - unlikely to work on Windows Co-authored-by: Tobbe Lundberg <[email protected]> Co-authored-by: Daniel Choudhury <[email protected]>
* issue#5852 added windows fix for nodeFileTrace * Update packages/internal/src/build/api.ts unregexed. Co-authored-by: Tobbe Lundberg <[email protected]> * Update packages/internal/src/build/web.ts unregexed Co-authored-by: Tobbe Lundberg <[email protected]> * issue# 5852 now only the import files are changed. * issue #5852 only import files changed. * Adds test for src-alias plugin - unlikely to work on Windows Co-authored-by: Tobbe Lundberg <[email protected]> Co-authored-by: Daniel Choudhury <[email protected]>
* 'main' of github.com:redwoodjs/redwood: fix(deps): update dependency @graphql-yoga/common to v2.12.12 (redwoodjs#6349) fix(test-project): revert @redwoodjs/core to rc Update yarn.lock v2.2.4 bugfix replace slash in tailwind config on windows (redwoodjs#6203) bugfix replace slash in tailwind config on windows (redwoodjs#6203) chore(deps): update dependency @testing-library/dom to v8.17.1 (redwoodjs#6351) Update yarn.lock Use try/catch to access unauthenticated (redwoodjs#6358) issue#5852 added windows fix for nodeFileTrace (redwoodjs#6325) Handle special props `ref` and `key` in path and search params (redwoodjs#5537) Use try/catch to access unauthenticated (redwoodjs#6358) feat(codemod): Add codemod to make relation resolvers partial (redwoodjs#6342)
This should fix the issue windows users where having when building. #5852
In short nodeFileTrace could not find needed dependencies on windows because of windows pathing and the way babel handles results.code output when running on windows.