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

Remove optional dependency and have rush install skip optional #175

Merged
merged 3 commits into from
May 9, 2017

Conversation

nickpape
Copy link
Contributor

@nickpape nickpape commented May 5, 2017

No description provided.

@nickpape nickpape requested review from octogonz and qz2017 May 5, 2017 04:04
@@ -180,7 +176,7 @@ export default class InstallManager {
console.log(os.EOL + 'Running "npm install" in ' + npmToolFolder);

// NOTE: Here we use whatever version of NPM we happen to find in the PATH
Utilities.executeCommandWithRetry('npm', ['install'], MAX_INSTALL_ATTEMPTS, npmToolFolder);
Utilities.executeCommandWithRetry('npm', ['install', '--no-optional'], MAX_INSTALL_ATTEMPTS, npmToolFolder);
Copy link
Collaborator

@octogonz octogonz May 5, 2017

Choose a reason for hiding this comment

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

'--no-optional' [](start = 59, length = 15)

This was the outcome of a long discussion. It will seem odd to someone who's reading the code and trying to understand why we chose that behavior.

Could you add some code comments explaining this design decision?

@nickpape-msft

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also, what was the outcome of your shrinkwrap-diffing experiment?


In reply to: 115061095 [](ancestors = 115061095)

@octogonz
Copy link
Collaborator

octogonz commented May 5, 2017

:shipit:

Approved with PullApprove Approved with PullApprove

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants