Skip to main content
Version: 2.23 (prerelease)

Monorepo workspaces

Package manager workspace management


Modern versions of package managers introduce similar concepts of "workspaces", a list of Nodejs packages all contained within the same code repository.

Pants support all three flavors of package managers and understands the configuration settings specific for each tool:

  • pnpm pnpm-workspaces.yaml
  • yarn and npm "workspaces" setting in package.json
Use workspaces!

It is encouraged by the Pants team to utilize this project setup to only have to deal with and maintain one resolve. Pants aims to provide full integration with these monorepo settings.