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

Move function deps to peer dependencies #116

Merged
merged 1 commit into from
Dec 3, 2020
Merged

Move function deps to peer dependencies #116

merged 1 commit into from
Dec 3, 2020

Conversation

willdurand
Copy link
Member

@willdurand willdurand commented Dec 2, 2020

Fixes #115


This patch moves the function-related deps to the peerDependencies section. Because we're using Yarn in most cases, we have to copy those dependencies to the devDependencies section as well so that we can run the test suite, work on the lib, etc. locally. This won't affect the packages we release, though.

@willdurand willdurand requested a review from rpl December 2, 2020 09:34
@willdurand
Copy link
Member Author

erf, we don't have CI right now because travis-ci.com does not work for mozilla repos anymore

Comment on lines +20 to +26
"peerDependencies": {
"@types/download": "6.2.4",
"body-parser": "1.19.0",
"download": "8.0.0",
"express": "4.17.1",
"safe-compare": "1.1.4"
},
Copy link
Member

@rpl rpl Dec 2, 2020

Choose a reason for hiding this comment

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

it is a bit unfortunate that the peerDependencies are all being duplicated in the devDependencies, which I guess is for testing purpose. Based on a quick look it seems that this is the common practice in these cases and so that's annoying but fine (especially given that renovatebot should be already helping us to be sure to update both at the same time)

@willdurand willdurand merged commit 0b0d452 into master Dec 3, 2020
@willdurand willdurand deleted the peer branch December 3, 2020 14:30
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.

express is transitively pulled by dependents of web-ext
2 participants