-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.npmrc
More file actions
22 lines (16 loc) · 763 Bytes
/
.npmrc
File metadata and controls
22 lines (16 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Enforces strict version checks for Node.js and package engines.
engine-strict=true
# Uses `hoisted` linker, similar to npm’s node_modules structure.
node-linker=isolated
link-workspace-packages=true
# Hoists all dependencies to the root node_modules, akin to npm's default behavior.
shamefully-hoist=true
# Generates a lockfile shared across the entire workspace.
shared-workspace-lockfile=true
# Sets pnpm to act as a single store per project, similar to npm.
shared-workspace-shrinkwrap=true
# Ensures that `pnpm install` installs only `dependencies` and `devDependencies`,
# ignoring `optionalDependencies`, which aligns with npm.
strict-peer-dependencies=false
# To make pnpm resolve local dependencies similarly to npm.
prefer-frozen-lockfile=false