MCPcopy Create free account
hub / github.com/NomicFoundation/hardhat / createChangeset

Function createChangeset

scripts/version-alpha.ts:108–119  ·  view source on GitHub ↗

* Creates a new patch changeset file for the package.

(packageName)

Source from the content-addressed store, hash-verified

106 * Creates a new patch changeset file for the package.
107 */
108async function createChangeset(packageName) {
109 const changesetPath = path.join(changesetDir, `${randomUUID()}.md`);
110
111 const releaseChangesetContent = [
112 "---",
113 `"${packageName}": patch`,
114 "---",
115 "",
116 ].join("\n");
117
118 await writeFile(changesetPath, releaseChangesetContent);
119}
120
121/**
122 * Use changeset via pnpm to bump versions across packages

Callers 1

versionAlphaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected