Releasing a Prerelease
August 17, 2026 ยท View on GitHub
Use this checklist for a new 0.1.0-alpha.* or 0.1.0-beta.* package release. Released versions are immutable: do not republish, overwrite, or unpublish a version to correct documentation. Publish a new version instead.
- Start with a clean tree and run
pnpm run check. - Update the version, both README files,
NOTICE,THIRD_PARTY_NOTICES.md, and this release guidance as needed; rebuild solib/carries the version. - Inspect
npm pack --dry-runand require the rootREADME.md, the Chinese document underdocs/, and no localized README beside the root README. - Confirm npm 2FA is enabled, then publish with the matching
alphaorbetadist-tag (publishConfig.tagprevents a prerelease publish from implicitly changinglatest). - Verify the expected version, tags, and
readmeFilenamewithnpm view dsh-codex-connect-plus@beta version dist-tags readmeFilename --json(replacebetawhen publishing an Alpha), then perform an isolated DSH profile installation usingdsh-codex-connect-plus@<version>. - While no stable release exists, explicitly move
latestto the verified newest prerelease so the npm package page and default README do not lag:npm dist-tag add dsh-codex-connect-plus@<version> latest. After the first stable release,latestmust point only to stable releases. - Create the matching GitHub prerelease and share its notes in the project Discussion and Discord. The GitHub tag remains an npm-unavailable installation fallback.