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