draftName

tcmts.vscode.releases.draftName · #td6iz5ff · term · runs anywhere

The draft of a package's next release, as tcm names it: release-.md (a scope's @ and / dropped).

export const draftName = (pkg: string) => `release-${pkg.replace(/^@/, "").replace("/", "-")}.md`

used by