Create a Monorepo for Web Projects
This guide will bootstrap a monorepo for web projects, with the following features:
- Building using pnpm
Setup project
Create a new directory for the project and change directory into it
Create a package.json
Create a PNPM workspace
Create a pnpm-workspace.yaml
with the paths of packages you want to be part of the workspace.
Create a .npmrc
and enable hoisting, some tools need it.
Last update:
August 11, 2023
Created: June 3, 2023
Created: June 3, 2023