UNPKG

@mlaursen/release-script

Version:

The release script I normally use for packages I publish to npm

9 lines (7 loc) 240 B
import confirm from "@inquirer/confirm"; export async function continueRelease(): Promise<void> { const confirmed = await confirm({ message: "Continue the release?" }); if (!confirmed) { throw new Error("Release cancelled"); } }