-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: document manage-package-manager-versions
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -779,6 +779,21 @@ Added in: v9.2.0 | |
|
||
When enabled, pnpm will fail if its version doesn't exactly match the version specified in the `packageManager` field of `package.json`. | ||
|
||
### manage-package-manager-versions | ||
|
||
Added in: v9.7.0 | ||
|
||
* Default: **false** | ||
* Type: **Boolean** | ||
|
||
When enabled, pnpm will automatically download and run the version of pnpm specified in the `packageManager` field of `package.json`. This is the same field used by Corepack. Example: | ||
|
||
```json | ||
{ | ||
"packageManager": "[email protected]" | ||
} | ||
``` | ||
|
||
## Build Settings | ||
|
||
### ignore-scripts | ||
|
8f379b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zkochan Which directory does it download to? Is it cached if the same version is run twice? How long is it cached?
8f379b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is cached forever currently. It is downloaded to
$PNPM_HOME/.tools