chore (docs): add pnpm to list of supported packagers for functions (#2766)

This commit is contained in:
David Barroso
2024-06-28 08:41:08 +02:00
committed by GitHub
parent b51986289d
commit cf6b712b20
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
'@nhost/docs': patch
---
chore: add pnpm to list of supported packagers for functions

View File

@@ -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`.