Skip to content

Commit 9a1f35e

Browse files
replaced certain words with better synonyms
1 parent 4db6426 commit 9a1f35e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/only-allow-pnpm.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ When many developers are working on the same project together, you need a failsa
88
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. Write the following content into your `.npmrc`:
11+
2. Toggle the following configuration variable in your `.npmrc` on:
1212

1313
```
1414
engine-strict=true
1515
```
1616

17-
3. Write the following content into your `package.json`:
17+
3. Specify the following fields in your `package.json`:
1818

1919
```
2020
{
@@ -51,6 +51,8 @@ npm error EBADDEVENGINES }
5151
npm error A complete log of this run can be found in: /Users/username/.npm/_logs/2021-08-21T00_00_00_000Z-debug-0.log
5252
```
5353

54+
---
55+
5456
Alternatively, in your `package.json`, you can specify the following `preinstall` script:
5557

5658
```

0 commit comments

Comments
 (0)