diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index afbe9b38..ac6ae935 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -37,7 +37,7 @@ You will need an LTS version of [Node.js](http://nodejs.org) and [pnpm](https:// After cloning the repo, run: ```bash -$ pnpm install # Install the dependencies of the project +$ pnpm install --frozen-lockfile # Install the dependencies of the project ``` A high level overview of tools used: diff --git a/website/README.md b/website/README.md index df072fae..6ec7ec2e 100644 --- a/website/README.md +++ b/website/README.md @@ -14,7 +14,7 @@ _Code is forked from the Sapphire Community's Website under the MIT license_ After forking/cloning this repo to a folder locally: -1. Install dependencies with `pnpm install`. +1. Install dependencies with `pnpm install --frozen-lockfile`. 2. Run `pnpm run start` to start the dev server ## Special thanks diff --git a/website/docs/Contributing.mdx b/website/docs/Contributing.mdx index f7216133..c637715f 100644 --- a/website/docs/Contributing.mdx +++ b/website/docs/Contributing.mdx @@ -24,7 +24,7 @@ channel. ### Install dependencies first -One of the most crucial steps is installing dependencies via `pnpm install`. This ensures that linting can be done, and +One of the most crucial steps is installing dependencies via `pnpm install --frozen-lockfile`. This ensures that linting can be done, and it also sets up the `git` hooks for building the `deno` types and automatically formatting/linting the code when you commit it.