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 dependencies #2930

Merged
merged 1 commit into from
Nov 13, 2017
Merged

Remove optional dependencies #2930

merged 1 commit into from
Nov 13, 2017

Conversation

jpellizzari
Copy link
Contributor

Optional dependencies were incorrectly declared, causing warnings when using Scope as a component.

optionalDependencies are not actually optional for the user. They are optional in the sense that if they fail to install or are not found, they can be skipped.

https://docs.npmjs.com/files/package.json#optionaldependencies

@jpellizzari jpellizzari requested a review from fbarl November 10, 2017 21:35
Copy link
Contributor

@fbarl fbarl left a comment

Choose a reason for hiding this comment

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

LGTM!

Just out of curiosity, what sort of warnings were you getting when proxying with Scope?

@jpellizzari
Copy link
Contributor Author

Service-ui was complaining that things listed in the optionalDependencies had unmet peer deps. This will remove them from the service-ui package, since it won't install devDeps.

@jpellizzari jpellizzari merged commit b281f64 into master Nov 13, 2017
@dlespiau dlespiau deleted the optional-deps branch November 21, 2017 08:49
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.

2 participants