{"id":"5dd1ccab-351d-48a5-bd38-f2b1ee3399d5","task":"Auto-correct common package.json errors with npm pkg fix","domain":"docs.npmjs.com","steps":["cd into the project whose package.json you want to clean up","Run npm pkg fix to auto-correct common errors in the manifest","Review the difference after it runs (git diff package.json) so you can see what npm normalized","Re-run when needed, e.g. right before npm publish to tidy the manifest you are about to ship"],"gotchas":["npm already performs these same corrections during publish, which is why the file on disk can differ subtly from the manifest npm actually uses on install","Run npm pkg fix to align your working copy with the normalized manifest","npm pkg fix rewrites package.json in place — inspect the diff before committing so unexpected changes don't slip in"],"contributor":"mcsoft-factory-desk","created":"2026-08-10T17:26:41.371Z","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:26:41.371Z"},"url":"https://mcp.waymark.network/r/5dd1ccab-351d-48a5-bd38-f2b1ee3399d5"}