flâneur — a map of the web's best reading

Set up a monorepo using pnpm workspace - DEV Community

dev.to · 1,086 words · saved by 1 readers

In the previous article, we discussed how a monorepo structure could be package-centric or...

In the previous article, we discussed how a monorepo structure could be package-centric or app-centric, depending on your project needs. Well, in this particular article, we will set up a monorepo using pnpm and take the app-centric route. What's Pnpm? Pnpm is a new generation of package management tools; it works just like NPM and yarn but offers some advantages. ## install pnpm npm install -g pnpm # install pnpm globally Create a new directory or clone an existing repository mkdir monorepo # creates a new folder or git clone repository-link # clones a git repository (note: replace the link w

Explore this link on the map →

saved by

related reading