Repository navigation
Add Independent mode - #36
Merged
Merged
Conversation
Contributor
Author
|
@hzoo Would you feel okay merging this now? I've been depending on this branch at work and it's been working fine. |
Contributor
Author
|
I'm just going to merge this for now since the next release is going to be 2.0 and I want to make sure everything works with it. |
gigabo
added a commit
to gigabo/lerna
that referenced
this pull request
Jan 18, 2017
* Resurrect @rygine's groundwork for common dep hoisting This is taken from the base commit on the "enhanced bootstrap" PR. * Whitespace for legibility Easier on my old eyes while I'm trying to grok this. :) * Update a logger statement This method was renamed while this change set was in flight. * Always warn on un-shared dep (even if already installed) * Only install deps in the root if not already satisfied * Simplify most common version determination * Simplify getDependenciesToInstall Mostly just so I'm sure I understand it. * Pass dependents back from getDependenciesToInstall We'll need those to link binaries from the root. * Actually hoist * Update commentary * Link binaries for hosted dependencies * Don't override an explicit root dependency * Gate hoisting with --hoist and --nohoist options * Update a test to expect slight change to install order * Add a test and fix a bug it uncovered :D Scoped packages weren't hoisted with `--hoist`. * Add a test for --nohoist * Prune hoisted deps from package dirs * Factor out dependent package fetch * Add some documentation about hoisting * Root version may have no dependents If it's depended on by the root package.json and others don't match. * Only warn about mismatch with root if ther's a root version * Start root installs first, since they're likely to take longest * Make tests expect root install first * Don't include null deps in root install These will be present when deps are already satisfied at the root. * Kill a vestigial comment
gigabo
added a commit
to gigabo/lerna
that referenced
this pull request
Jan 19, 2017
* Resurrect @rygine's groundwork for common dep hoisting This is taken from the base commit on the "enhanced bootstrap" PR. * Whitespace for legibility Easier on my old eyes while I'm trying to grok this. :) * Update a logger statement This method was renamed while this change set was in flight. * Always warn on un-shared dep (even if already installed) * Only install deps in the root if not already satisfied * Simplify most common version determination * Simplify getDependenciesToInstall Mostly just so I'm sure I understand it. * Pass dependents back from getDependenciesToInstall We'll need those to link binaries from the root. * Actually hoist * Update commentary * Link binaries for hosted dependencies * Don't override an explicit root dependency * Gate hoisting with --hoist and --nohoist options * Update a test to expect slight change to install order * Add a test and fix a bug it uncovered :D Scoped packages weren't hoisted with `--hoist`. * Add a test for --nohoist * Prune hoisted deps from package dirs * Factor out dependent package fetch * Add some documentation about hoisting * Root version may have no dependents If it's depended on by the root package.json and others don't match. * Only warn about mismatch with root if ther's a root version * Start root installs first, since they're likely to take longest * Make tests expect root install first * Don't include null deps in root install These will be present when deps are already satisfied at the root. * Kill a vestigial comment
gigabo
added a commit
to gigabo/lerna
that referenced
this pull request
Jan 19, 2017
* Resurrect @rygine's groundwork for common dep hoisting This is taken from the base commit on the "enhanced bootstrap" PR. * Whitespace for legibility Easier on my old eyes while I'm trying to grok this. :) * Update a logger statement This method was renamed while this change set was in flight. * Always warn on un-shared dep (even if already installed) * Only install deps in the root if not already satisfied * Simplify most common version determination * Simplify getDependenciesToInstall Mostly just so I'm sure I understand it. * Pass dependents back from getDependenciesToInstall We'll need those to link binaries from the root. * Actually hoist * Update commentary * Link binaries for hosted dependencies * Don't override an explicit root dependency * Gate hoisting with --hoist and --nohoist options * Update a test to expect slight change to install order * Add a test and fix a bug it uncovered :D Scoped packages weren't hoisted with `--hoist`. * Add a test for --nohoist * Prune hoisted deps from package dirs * Factor out dependent package fetch * Add some documentation about hoisting * Root version may have no dependents If it's depended on by the root package.json and others don't match. * Only warn about mismatch with root if ther's a root version * Start root installs first, since they're likely to take longest * Make tests expect root install first * Don't include null deps in root install These will be present when deps are already satisfied at the root. * Kill a vestigial comment
gigabo
added a commit
to gigabo/lerna
that referenced
this pull request
Jan 28, 2017
* Resurrect @rygine's groundwork for common dep hoisting This is taken from the base commit on the "enhanced bootstrap" PR. * Whitespace for legibility Easier on my old eyes while I'm trying to grok this. :) * Update a logger statement This method was renamed while this change set was in flight. * Always warn on un-shared dep (even if already installed) * Only install deps in the root if not already satisfied * Simplify most common version determination * Simplify getDependenciesToInstall Mostly just so I'm sure I understand it. * Pass dependents back from getDependenciesToInstall We'll need those to link binaries from the root. * Actually hoist * Update commentary * Link binaries for hosted dependencies * Don't override an explicit root dependency * Gate hoisting with --hoist and --nohoist options * Update a test to expect slight change to install order * Add a test and fix a bug it uncovered :D Scoped packages weren't hoisted with `--hoist`. * Add a test for --nohoist * Prune hoisted deps from package dirs * Factor out dependent package fetch * Add some documentation about hoisting * Root version may have no dependents If it's depended on by the root package.json and others don't match. * Only warn about mismatch with root if ther's a root version * Start root installs first, since they're likely to take longest * Make tests expect root install first * Don't include null deps in root install These will be present when deps are already satisfied at the root. * Kill a vestigial comment
gigabo
added a commit
to gigabo/lerna
that referenced
this pull request
Jan 30, 2017
* Resurrect @rygine's groundwork for common dep hoisting This is taken from the base commit on the "enhanced bootstrap" PR. * Whitespace for legibility Easier on my old eyes while I'm trying to grok this. :) * Update a logger statement This method was renamed while this change set was in flight. * Always warn on un-shared dep (even if already installed) * Only install deps in the root if not already satisfied * Simplify most common version determination * Simplify getDependenciesToInstall Mostly just so I'm sure I understand it. * Pass dependents back from getDependenciesToInstall We'll need those to link binaries from the root. * Actually hoist * Update commentary * Link binaries for hosted dependencies * Don't override an explicit root dependency * Gate hoisting with --hoist and --nohoist options * Update a test to expect slight change to install order * Add a test and fix a bug it uncovered :D Scoped packages weren't hoisted with `--hoist`. * Add a test for --nohoist * Prune hoisted deps from package dirs * Factor out dependent package fetch * Add some documentation about hoisting * Root version may have no dependents If it's depended on by the root package.json and others don't match. * Only warn about mismatch with root if ther's a root version * Start root installs first, since they're likely to take longest * Make tests expect root install first * Don't include null deps in root install These will be present when deps are already satisfied at the root. * Kill a vestigial comment
|
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
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.
Resolves #20