-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Add support for NODE_PRESERVE_SYMLINKS and --preserve-symlinks behavior #9976
Conversation
185664c
to
198e330
Compare
I assume #9732 can be closed now? Please do, if that's right |
What about this one: #7364? It's a bit older but tackles the same problem space |
@thymikee That PR is stale and was never finished but was attempting to do the same thing. |
d1ca473
to
ddfd51e
Compare
090c3cd
to
8742741
Compare
Pinging some other people to get some movement on this: @cpojer @pedrottimark |
I understand these are tough times for everyone. If there is anything I can do to help move this along please let me know. Happy to add more tests, documentation, or discuss alternative approaches if you aren't happy with this approach. It would be really awesome to get this landed to unblock everyone trying to use jest with bazel. |
I hope this PR will also be merged. |
@SimenB do you expect to get this merged anytime soon? (please 🙏 ) |
@SimenB can we move this PR forward? I think it makes total sense to respect the previously defined Node options or at least offer a default resolver config we can set just like webpack does 😃 |
Thanks @ganemone for your work. I'm sorry the Facebook/jest team doesn't seem to care to look at this very helpful contribution. |
any updates? |
⌛ |
Any updates on this? I found jest is the ONLY main stream tool that does not support this flag |
This PR is stale because it has been open 1 year with no activity. Remove stale label or comment or this will be closed in 30 days. |
This PR was closed because it has been stalled for 30 days with no activity. Please open a new PR if the issue is still relevant, linking to this one. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
This adds support for projects using jest with symlinked files via supporting both the NODE_PRESERVE_SYMLINKS environment variable and the
--preserve-symlinks
node flag.Test plan
The PR includes integration tests.