Sitelet https://github.com/react/react/pull/9675
Skip to content

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

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

flarnie merged 1 commit into
react:masterfrom
flarnie:makeBenchmarkingDependenciesOptional

Conversation

@flarnie

@flarnie flarnie commented May 12, 2017

Copy link
Copy Markdown
Contributor

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 react#9398
@flarnie
flarnie merged commit 0f12997 into react:master May 12, 2017
@flarnie
flarnie deleted the makeBenchmarkingDependenciesOptional branch May 25, 2018 17:50
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
**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 react#9398
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