Skip to content

Move 'lighthouse' and 'nodegit' to 'optionalDependencies'#9675

Merged
flarnie merged 1 commit intofacebook:masterfrom
flarnie:makeBenchmarkingDependenciesOptional
May 12, 2017
Merged

Move 'lighthouse' and 'nodegit' to 'optionalDependencies'#9675
flarnie merged 1 commit intofacebook:masterfrom
flarnie:makeBenchmarkingDependenciesOptional

Conversation

@flarnie
Copy link
Copy Markdown
Contributor

@flarnie flarnie commented May 12, 2017

what is the change?:
See title.

why make this change?:
Both these dependencies were causing issues when working on React internally at
FB.

'lighthouse' requires node >=6 and we don't want to folks working on React to
using that version of node.
https://github.com/GoogleChrome/lighthouse/blob/master/package.json#L11

'nodegit' for me throws an error related to libssh2 and it's annoying to make
this work in every OS. See nodegit/nodegit#1266

test plan:
npm/yarn install
Runs with no errors on my CentOS machine and also on MacOSX laptop.

issue:
This is blocking work related to #9398

**what is the change?:**
See title.

**why make this change?:**
Both these dependencies were causing issues when working on React internally at
FB.

'lighthouse' requires node >=6 and we don't want to folks working on React to
using that version of node.
https://github.com/GoogleChrome/lighthouse/blob/master/package.json#L11

'nodegit' for me throws an error related to libssh2 and it's annoying to make
this work in every OS. See nodegit/nodegit#1266

**test plan:**
`npm/yarn install`
Runs with no errors on my CentOS machine and also on MacOSX laptop.

**issue:**
This is blocking work related to facebook#9398
@flarnie flarnie merged commit 0f12997 into facebook:master May 12, 2017
@flarnie flarnie deleted the makeBenchmarkingDependenciesOptional branch May 25, 2018 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants