A collection of personal and technical notes.
List all of the globally installed modules. --depth=0
will exclude listing the
dependencies.
pnpm list --global --depth=0
Download and install dependencies
pnpm install
Install a <package>
into the target <workspace>
.
pnpm install <package> --filter <workspace>
Fix a broken pnpm-lock.yaml
file.
# First, delete all of the affected node_modules directory of the monorepo.
# Then, re-install all of the dependencies.
$ pnpm install
Check the versions used of the project.
pnpx next info
Check the installed version of the Next
framework.
pnpx next version