freeCodeCamp/api-server
Oliver Eyton-Williams 16dec4ef86
feat: use pnpm to manage pm2 (#49574)
* fix(api): use pnpm to manage pm2

This means that pm2 will get the correct NODE_PATH environment variable.
Also, if we use pnpm to manage node, this ensure that pm2 will use that
node version.

* docs(devops): update api install and update docs

* feat: set node version via npmrc

This means that all scripts (pnpm run ...) will use this node version.
The only way to get other node versions is to invoke `node` directly.

* fix(docs): update api docs for pnpm installation

* feat: use pm2 from root

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-07 14:54:31 -08:00
..
src feat: migrate to pnpm for better workspace DX (#49293) 2023-03-02 18:17:44 +00:00
.babelrc feat(tools): remove eslint-plugin-prettier for prettier (#42438) 2021-10-06 21:02:21 +05:30
.gitignore fix(api): remove redirects from api 2020-09-01 11:35:44 +05:30
ecosystem.config.js feat: use pnpm to manage pm2 (#49574) 2023-03-07 14:54:31 -08:00
package.json feat: migrate to pnpm for better workspace DX (#49293) 2023-03-02 18:17:44 +00:00