@releasekit/notes 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -124,7 +124,13 @@ var GitHubReleaseConfigSchema = z.object({
|
|
|
124
124
|
* - 'generated': Use GitHub's auto-generated notes.
|
|
125
125
|
* - 'none': No body.
|
|
126
126
|
*/
|
|
127
|
-
body: z.enum(["auto", "releaseNotes", "changelog", "generated", "none"]).default("auto")
|
|
127
|
+
body: z.enum(["auto", "releaseNotes", "changelog", "generated", "none"]).default("auto"),
|
|
128
|
+
/**
|
|
129
|
+
* Template string for the GitHub release title when a package name is resolved.
|
|
130
|
+
* Available variables: ${packageName} (original scoped name), ${version} (e.g. "v1.0.0").
|
|
131
|
+
* Version-only tags (e.g. "v1.0.0") always use the tag as-is.
|
|
132
|
+
*/
|
|
133
|
+
titleTemplate: z.string().default("${packageName}: ${version}")
|
|
128
134
|
});
|
|
129
135
|
var VerifyRegistryConfigSchema = z.object({
|
|
130
136
|
enabled: z.boolean().default(true),
|
|
@@ -168,7 +174,8 @@ var PublishConfigSchema = z.object({
|
|
|
168
174
|
draft: true,
|
|
169
175
|
perPackage: true,
|
|
170
176
|
prerelease: "auto",
|
|
171
|
-
body: "auto"
|
|
177
|
+
body: "auto",
|
|
178
|
+
titleTemplate: "${packageName}: ${version}"
|
|
172
179
|
}),
|
|
173
180
|
verify: VerifyConfigSchema.default({
|
|
174
181
|
npm: {
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED