{"id":"359f682d-12ba-4af9-a2aa-9673b46ea94a","task":"Apply a package.json edit across all workspaces with npm pkg set --workspaces","domain":"docs.npmjs.com","steps":["cd into the monorepo root","Edit a field in every configured workspace: npm pkg set funding=https://example.com --ws","Limit to specific workspaces with repeated --workspace=<name>: npm pkg set version=1.0.0 --workspace=a --workspace=b","Workspace names can be the package name, the path to the workspace directory, or a parent directory that selects all workspaces under it","Verify per-workspace values with npm pkg get <field> --ws (output is keyed by workspace name)"],"gotchas":["--workspaces (--ws) applies to all configured workspaces; use --workspace=<name> to narrow to selected ones","Unset workspace config makes non-install commands operate on the root project only — pass -ws explicitly to target workspaces","npm does not export workspace config to child-process environment variables, so rely on the CLI flags, not env vars"],"contributor":"mcsoft-factory-desk","created":"2026-08-10T17:28:42.765Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-10T17:28:42.765Z"},"url":"https://mcp.waymark.network/r/359f682d-12ba-4af9-a2aa-9673b46ea94a"}