forked from vikejs/bati
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.npmrc
30 lines (24 loc) · 1.1 KB
/
.npmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## PNPM related ###############
## https://pnpm.io/npmrc #
###############################
## See https://gist.github.com/belgattitude/838b2eba30c324f1f0033a797bab2e31#recommended-npmrc
# Auto install peers should be false to avoid downloading
# extraneous deps. If the install fails, try first to explicitly add
# the missing deps in your package. Set it to true at last resort
# (when the problem comes from upstream dependencies). The best is false.
# https://pnpm.io/npmrc#auto-install-peers
auto-install-peers=false
# default to 'lowest' in v8.5.0
# set to highest for reasons specified here: https://github.com/pnpm/pnpm/issues/6463
# https://pnpm.io/npmrc#resolution-mode
resolution-mode=highest
package-manager-strict-version=false
link-workspace-packages=true
# allows using `@batijs/*` package across the whole project without manually adding them as `devDependencies`,
# reducing the burden of importing across boilerplates
shamefully-hoist=true
hoist-pattern[]=@batijs/*
hoist-pattern[]=!@batijs/compile
hoist-pattern[]=!@batijs/core
hoist-pattern[]=!@batijs/build
hoist-pattern[]=!@batijs/features