Skip to content

Commit

Permalink
docs(auto-install): add pnpm to package manager option (#1436)
Browse files Browse the repository at this point in the history
* fix readme

* docs: refine change

---------

Co-authored-by: Andrew Powell <[email protected]>
  • Loading branch information
cunzaizhuyi and shellscape authored Apr 4, 2023
1 parent abda5cf commit 7eb2fbc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/auto-install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,14 @@ Specifies the location on disk of the target `package.json` file. If the file do

### `manager`

Type: `String`<br>
Default: `see below`
Type: `'pnpm'|'yarn'|'npm'`<br>
Default: determined at runtime

Specifies the package manager to use. If not specified:

Specifies the package manager to use; `npm` or `yarn`. If not specified, the plugin will default to `yarn` if `yarn.lock` exists, or `npm` otherwise.
- `'pnpm'` if `pnpm-lock.yaml` exists
- `'yarn'` if `yarn.lock` exists
- `'npm'` otherwise

## Credits

Expand Down

0 comments on commit 7eb2fbc

Please sign in to comment.