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