brunopenso / yarnworkspaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yarn Workspaces

Config:

mkdir prj
cd prj
yarn set version berry

Create a package.json with this part included

{
  ....
  "private": true,
  "workspaces": [
    "packages/*"
  ]
  ...
}

Initialize a package

mkdir packages
cd packages
mkdir sharedLib
cd sharedLib
yarn init -y

Dependencies

To install new dependencies...

About


Languages

Language:JavaScript 100.0%