Skip to content
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

Merged
merged 8 commits into from
Sep 5, 2022

Conversation

IThinkThatsKirby
Copy link
Contributor

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.

IThinkThatsKirby and others added 2 commits August 30, 2022 17:55
unregexed.

Co-authored-by: Tobbe Lundberg <[email protected]>
unregexed

Co-authored-by: Tobbe Lundberg <[email protected]>
@IThinkThatsKirby IThinkThatsKirby requested a review from Tobbe August 30, 2022 23:00
@callingmedic911 callingmedic911 added the release:fix This PR is a fix label Aug 31, 2022
Copy link
Contributor

@dac09 dac09 left a 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!

@dac09 dac09 assigned dac09 and unassigned callingmedic911 Aug 31, 2022
@IThinkThatsKirby IThinkThatsKirby marked this pull request as draft August 31, 2022 16:12
@IThinkThatsKirby IThinkThatsKirby requested review from dac09 and Tobbe and removed request for Tobbe and dac09 August 31, 2022 17:18
@IThinkThatsKirby IThinkThatsKirby marked this pull request as ready for review August 31, 2022 17:44
Copy link
Contributor Author

@IThinkThatsKirby IThinkThatsKirby left a 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

@dac09
Copy link
Contributor

dac09 commented Sep 5, 2022

Thank you @IThinkThatsKirby - I'll add some more unit tests for this, but looking promising!

Copy link
Contributor

@dac09 dac09 left a 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 🤣

@dac09 dac09 enabled auto-merge (squash) September 5, 2022 17:53
@dac09 dac09 merged commit 7fece05 into redwoodjs:main Sep 5, 2022
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone Sep 5, 2022
@dac09 dac09 changed the title issue#5852 added windows fix for nodeFileTrace fix(deploy): added windows fix for nodeFileTrace when deploying to serverless Sep 5, 2022
jtoar pushed a commit that referenced this pull request Sep 8, 2022
* 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]>
jtoar pushed a commit that referenced this pull request Sep 8, 2022
* 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]>
dac09 added a commit to dac09/redwood that referenced this pull request Sep 9, 2022
* '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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix This PR is a fix
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants