yarn workspaces using npm version code example Example: yarn workspaces // package.json root { "private": true, "workspaces": ["packages/*"] }