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

chore: remove peer deps #623

Merged
merged 13 commits into from
Apr 9, 2021
Merged

chore: remove peer deps #623

merged 13 commits into from
Apr 9, 2021

Conversation

achingbrain
Copy link
Member

We added ipfs, the http client etc as peer deps to signal to the user
that they should add the modules they depend on as deps of their project.

Starting with npm7 all peer deps get installed automatically which
defeats the purpose of our use of peer deps, so let's remove them.

We added ipfs, the http client etc as peer deps to signal to the user
that they should add the modules they depend on as deps of their project.

Starting with npm7 all peer deps get installed automatically which
defeats the purpose of our use of peer deps, so let's remove them.
@achingbrain
Copy link
Member Author

Also removes the pre-commit hooks because we don't use them any more, and the thing just caused me to lose a commit message as it errored out trying to run a command.

@achingbrain
Copy link
Member Author

achingbrain commented Apr 8, 2021

Getting some weird behaviour from yarn while installing deps in CI:

error registry.npmjs.org/@leichtgewicht/readable-stream/-/readable-stream-3.6.0.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, chmod '/home/runner/.cache/yarn/v6/.tmp/6fb5c27151ebc79d92adfda8e6b6674c/LICENSE'"

@achingbrain
Copy link
Member Author

Not massively helpful: yarnpkg/yarn#6312

@achingbrain achingbrain merged commit 31d36ab into master Apr 9, 2021
@achingbrain achingbrain deleted the chore/do-not-use-peer-deps branch April 9, 2021 11:11
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