@releasekit/notes 0.17.1 → 0.19.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.
- package/dist/{chunk-KF3BKBF4.js → chunk-C4MRRHW7.js} +32 -3
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -136,7 +136,14 @@ var GitHubReleaseConfigSchema = z.object({
|
|
|
136
136
|
* Version-only tags (e.g. "v1.0.0") always use the tag as-is.
|
|
137
137
|
*/
|
|
138
138
|
/* biome-ignore lint/suspicious/noTemplateCurlyInString: default template value */
|
|
139
|
-
titleTemplate: z.string().default("${packageName}: ${version}")
|
|
139
|
+
titleTemplate: z.string().default("${packageName}: ${version}"),
|
|
140
|
+
/**
|
|
141
|
+
* Package names to exclude from GitHub release creation. Tags are still created
|
|
142
|
+
* (so changelog range detection still works on the next release) and npm publish
|
|
143
|
+
* still runs — only the `gh release create` call is skipped for these packages.
|
|
144
|
+
* Useful for internal/utility packages that shouldn't appear in the GitHub releases UI.
|
|
145
|
+
*/
|
|
146
|
+
skipPackages: z.array(z.string()).default([])
|
|
140
147
|
});
|
|
141
148
|
var VerifyRegistryConfigSchema = z.object({
|
|
142
149
|
enabled: z.boolean().default(true),
|
|
@@ -182,7 +189,8 @@ var PublishConfigSchema = z.object({
|
|
|
182
189
|
prerelease: "auto",
|
|
183
190
|
body: "auto",
|
|
184
191
|
/* biome-ignore lint/suspicious/noTemplateCurlyInString: default template value */
|
|
185
|
-
titleTemplate: "${packageName}: ${version}"
|
|
192
|
+
titleTemplate: "${packageName}: ${version}",
|
|
193
|
+
skipPackages: []
|
|
186
194
|
}),
|
|
187
195
|
verify: VerifyConfigSchema.default({
|
|
188
196
|
npm: {
|
|
@@ -289,6 +297,25 @@ var CILabelsConfigSchema = z.object({
|
|
|
289
297
|
minor: z.string().default("bump:minor"),
|
|
290
298
|
patch: z.string().default("bump:patch")
|
|
291
299
|
});
|
|
300
|
+
var StandingPrConfigSchema = z.object({
|
|
301
|
+
/** Branch name for the release PR. Default: 'release/next' */
|
|
302
|
+
branch: z.string().default("release/next"),
|
|
303
|
+
/** Title template for the release PR. Variables: ${count}, ${version}. Must start with 'chore: release' to match default skip pattern on merge. */
|
|
304
|
+
/* biome-ignore lint/suspicious/noTemplateCurlyInString: default template value */
|
|
305
|
+
title: z.string().default("chore: release ${count} package(s)"),
|
|
306
|
+
/** Labels to apply to the standing release PR */
|
|
307
|
+
labels: z.array(z.string()).default(["release"]),
|
|
308
|
+
/** Whether to auto-delete the release branch after PR merge. Default: true */
|
|
309
|
+
deleteBranchOnMerge: z.boolean().default(true),
|
|
310
|
+
/** Allow teams to edit the release notes section in the PR body before publishing. Default: false */
|
|
311
|
+
editableNotes: z.boolean().default(false),
|
|
312
|
+
/** Merge method to use when merging the standing release PR. Default: 'merge' */
|
|
313
|
+
mergeMethod: z.enum(["merge", "squash", "rebase"]).default("merge"),
|
|
314
|
+
/** Minimum age of the standing PR before it can be merged. Duration string (e.g. '6h', '30m', '1d'). Gate enforced via the releasekit/standing-pr status check. */
|
|
315
|
+
minAge: z.string().optional(),
|
|
316
|
+
/** Minimum number of packages with releasable changes required to create/maintain the standing PR. Below this threshold, the PR is closed and no new PR is created. */
|
|
317
|
+
minPackages: z.number().int().positive().optional()
|
|
318
|
+
});
|
|
292
319
|
var CIConfigSchema = z.object({
|
|
293
320
|
releaseStrategy: z.enum(["manual", "direct", "standing-pr", "scheduled"]).default("direct"),
|
|
294
321
|
releaseTrigger: z.enum(["commit", "label"]).default("label"),
|
|
@@ -314,7 +341,9 @@ var CIConfigSchema = z.object({
|
|
|
314
341
|
* Map of scope labels to package patterns.
|
|
315
342
|
* When a PR has a label matching a key, only packages matching the corresponding pattern will be released.
|
|
316
343
|
*/
|
|
317
|
-
scopeLabels: z.record(z.string(), z.string()).optional()
|
|
344
|
+
scopeLabels: z.record(z.string(), z.string()).optional(),
|
|
345
|
+
/** Configuration for the standing release PR feature. */
|
|
346
|
+
standingPr: StandingPrConfigSchema.optional()
|
|
318
347
|
});
|
|
319
348
|
var ReleaseCIConfigSchema = z.object({
|
|
320
349
|
skipPatterns: z.array(z.string().min(1)).optional(),
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@releasekit/notes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Release notes and changelog generation with LLM-powered enhancement and flexible templating",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"commander": "^14.0.3",
|
|
54
54
|
"ejs": "^4.0.1",
|
|
55
55
|
"handlebars": "^4.7.9",
|
|
56
|
-
"liquidjs": "^10.25.
|
|
56
|
+
"liquidjs": "^10.25.7",
|
|
57
57
|
"minimatch": "^10.0.0",
|
|
58
58
|
"openai": "^6.33.0",
|
|
59
59
|
"smol-toml": "^1.6.1",
|