Skip to content

Commit 8b38ae9

Browse files
committed
docs(only-allow-pnpm): added node version compatibility
1 parent 9a1f35e commit 8b38ae9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/only-allow-pnpm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ title: Only Allow PNPM
55

66
When many developers are working on the same project together, you need a failsafe in case someone accidentally runs commands with another package manager (like NPM, Yarn, or Bun).
77

8-
To prevent dependency management conflicts between package managers:
8+
As of Node v16.9.0 (backported to v14.19.0), to prevent dependency management conflicts between package managers:
99

1010
1. Create a file, if it doesn't already exist, named `.npmrc` at the root of your project.
11-
2. Toggle the following configuration variable in your `.npmrc` on:
11+
2. Set the following configuration variable in your `.npmrc` to `true`:
1212

1313
```
1414
engine-strict=true

0 commit comments

Comments
 (0)