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

Improve support for --include-filtered-dependencies #581

Merged

Conversation

roblg
Copy link
Contributor

@roblg roblg commented Feb 7, 2017

  • Adds support to ls,exec,run
  • Removes need for additional instance variable on BootstrapCommand, CleanCommand
  • Adds tests for ls, exec, run

This PR looks huge because I had to change whitespace in a couple of tests, and added new fixtures, but the "actual" work is mostly in Command.js, with some find-and-replace in BootstrapCommand.js, and CleanCommand.js.

* Adds support to `ls`,`exec`,`run`
* Removes need for additional instance variable on BootstrapCommand, CleanCommand
* Adds tests for ls, exec, run
@evocateur
Copy link
Member

Add a ?w=1 querystring to the file diff to ignore whitespace: https://github.com/lerna/lerna/pull/581/files?w=1

Liking this so far!

Copy link
Member

@evocateur evocateur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great refactoring!

@evocateur
Copy link
Member

(Oddly enough, ignoring whitespace made the additions in the ExecCommand test to disappear, so it's not rocket surgery...)

@evocateur evocateur merged commit eb02684 into lerna:master Feb 7, 2017
callback();
});

describe.only("with --include-filtered-dependencies", () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we need to lint for this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doh, yeah :/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh. I swear I checked for this this time :(

@lock
Copy link

lock bot commented Dec 27, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants