Publish safety
Before every publish, xnpm checks what npm would actually ship. Sensitive files are blocked. The check runs again after the version bump, on the exact final state.
How it works
The publish path in xnpm is a gauntlet, not a formality. Every step must pass before the real npm publish command is called.
npm pack --dry-run --json and inspects every file that would be included in the package.
Guarantee