-
Notifications
You must be signed in to change notification settings - Fork 52
/
.npmrc
30 lines (22 loc) · 944 Bytes
/
.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
# Don't use the workspace protocol.
save-workspace-protocol=false
# This makes installations on branches that aren't up to date less stressful by
# preserving the latest version in the current workspace.
prefer-workspace-packages=true
# Set the publish branch to prevent unintentional publishing.
publish-branch="main"
# Version 5.2.0 introduces automatic hoisting of `@types/*`. I'm turning it off
# for now.
shamefully-hoist=false
# Support cross platform shell commands.
shell-emulator=true
# Added since the shell-emulator seems to remove colors from output. There is a
# warning against using this setting in the docs.
# https://pnpm.js.org/en/npmrc#color
color=always
# Don't check the workspace root when installing workspace dependencies
ignore-workspace-root-check=true
# peer dependencies to be automatically installed
auto-install-peers=true
# don't want pnpm to fail on peer dependency issues
strict-peer-dependencies=false