diff --git a/.npmrc b/.npmrc index 25d25d0..745c1e2 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,3 @@ -shamefully-hoist=false +# Intentionally empty. pnpm defaults are fine for the ecosystem; +# avoid `shamefully-hoist=false` (the default anyway) because npm warns +# on unknown keys and the noise shows up in every `npm view`/`npm deprecate`. diff --git a/templates/dotfiles/npmrc b/templates/dotfiles/npmrc index 25d25d0..745c1e2 100644 --- a/templates/dotfiles/npmrc +++ b/templates/dotfiles/npmrc @@ -1 +1,3 @@ -shamefully-hoist=false +# Intentionally empty. pnpm defaults are fine for the ecosystem; +# avoid `shamefully-hoist=false` (the default anyway) because npm warns +# on unknown keys and the noise shows up in every `npm view`/`npm deprecate`.