This repository was archived by the owner on Aug 4, 2021. It is now read-only.
Repository navigation
Add fix to symlinked packages - #82
Merged
Merged
Conversation
Closed
Contributor
Author
|
I have no idea why the error is thrown by the CI in this PR when the code is running on Node.js v. 0.12.18. environment. |
Contributor
Author
|
Node v. 0.12 is no longer LTS: #85 (comment) |
Contributor
|
Thank you! Sorry for the delay, released as 2.1.0 |
Contributor
Author
|
Thank you too for the merge ;) |
This was referenced Mar 19, 2018
|
Need help. I use lerna. Same problem: B, C - libraries, A - browser application. C is not symlinked - this is external dependency and described in dependency sections of B and A, like react Rollup loads both C. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request fixes #67.
Fix adds support for the symlinked packages which are used by Lerna and some other multi-package tools.
I'm not sure whether these lines can be improved. If yes, please give me some insight about the cases that this improvement doesn't solve.
I added pretty simple test which describes the problem very well.
The solved problem:
Package A requires B and C
Package B requires C
All packages are symlinked between each other.
Now references to files in package C differs between A and B which breaks e.g singletons, instanceof checks and equality checks.
Thanks!