Skip to content

Testing package managers on monorepos. Yarn workspaces, Yarn-PNP & PNPM

License

Notifications You must be signed in to change notification settings

DimitrK/monorepo-package-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Package managers

Testing how to set up and run package managers inside a monorepo and how well they work out of the box with existing code.

Each package manager resides in its own branch. The following are available:

Package manager branch
Yarn master
Yarn pnp pnp/yarn-v1
Yarn 2 pnp pnp/yarn-v2
PNPM pnpm

YARN Workspaces (v1.22.0)

Note: Make sure you have yarn v1.x installed. Run yarn -v. If yarn is not installed follow the instructions here

  1. remove any previously set up node modules
yarn run clean
  1. install pnp by running in your console
yarn isntall
  1. build to see if pnpm works out of the box
yarn build

tip: start individual app:

yarn workspace @acme/two start

About

Testing package managers on monorepos. Yarn workspaces, Yarn-PNP & PNPM

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published