chore (docs): add pnpm to list of supported packagers for functions (#2766)
This commit is contained in:
5
.changeset/twenty-starfishes-kiss.md
Normal file
5
.changeset/twenty-starfishes-kiss.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@nhost/docs': patch
|
||||
---
|
||||
|
||||
chore: add pnpm to list of supported packagers for functions
|
||||
@@ -38,5 +38,6 @@ For Node.js, the following package managers are supported:
|
||||
|
||||
1. [npm](https://www.npmjs.com)
|
||||
2. [yarn](https://yarnpkg.com)
|
||||
3. [pnpm](https://pnpm.io)
|
||||
|
||||
To use one package manager or another, add the relevant lockfile (either `package-lock.json` for npm or `yarn.lock` for yarn) to the functions folder or a parent folder. If both lockfiles are present, `npm` will take precendence.
|
||||
To use one package manager or another, add the relevant lockfile (either `package-lock.json` for npm, `yarn.lock` for yarn or `pnpm-lock.yaml` for `pnpm`) to the functions folder or a parent folder. If multiple lockfiles are present, preference order is `npm` > `pnpm` > `yarn`.
|
||||
|
||||
Reference in New Issue
Block a user