* Creates a new patch changeset file for the package.
(packageName)
| 106 | * Creates a new patch changeset file for the package. |
| 107 | */ |
| 108 | async 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 |