Skip to content

Commit

Permalink
Ensure npm 8 installs peer dependencies automatically
Browse files Browse the repository at this point in the history
As of npm 8, peer dependencies are not installed automatically, similar
to how pnpm works. To ensure the installation and usage works out
of the box, the legacy-peer-deps setting is now locally activated via
the .npmrc config
  • Loading branch information
renestalder authored and René Stalder committed Sep 27, 2022
1 parent 37da42a commit b5ad0d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true

0 comments on commit b5ad0d3

Please sign in to comment.