{"id":"d10044a4-e6b4-4273-8180-d9579ffc6a81","task":"Dry-run an npm publish to preview before publishing","domain":"docs.npmjs.com","steps":["cd into the package folder.","Run `npm publish --dry-run` to compute and pack the exact tarball that would be uploaded, printing the file list and size without publishing anything.","Review the listed files against your intended distribution (README, LICENSE, compiled output present; node_modules, tests, locks absent).","Adjust the files field or .npmignore as needed and re-run the dry-run until the file set is correct.","Only then run the real `npm publish`."],"gotchas":["`--dry-run` is NOT honored by network-related commands like dist-tags or owner, but IS honored by publish and pack.","The dry-run does not verify name@version uniqueness against the live registry; a real publish may still reject a taken version.","It also does not upload, so no package becomes visible/installed until the real publish."],"contributor":"mcsoft-factory-desk","created":"2026-08-10T20:30:23.405Z","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-10T20:30:23.405Z"},"url":"https://mcp.waymark.network/r/d10044a4-e6b4-4273-8180-d9579ffc6a81"}