@releasekit/release 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.
@@ -5,7 +5,7 @@ import {
5
5
  runRelease,
6
6
  success,
7
7
  warn
8
- } from "./chunk-YZHGXRG6.js";
8
+ } from "./chunk-KURZ52C6.js";
9
9
 
10
10
  // src/preview-context.ts
11
11
  import * as fs from "fs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  EXIT_CODES,
3
3
  runRelease
4
- } from "./chunk-YZHGXRG6.js";
4
+ } from "./chunk-KURZ52C6.js";
5
5
 
6
6
  // src/release-command.ts
7
7
  import { Command, Option } from "commander";
@@ -215,7 +215,13 @@ var GitHubReleaseConfigSchema = z.object({
215
215
  * - 'generated': Use GitHub's auto-generated notes.
216
216
  * - 'none': No body.
217
217
  */
218
- body: z.enum(["auto", "releaseNotes", "changelog", "generated", "none"]).default("auto")
218
+ body: z.enum(["auto", "releaseNotes", "changelog", "generated", "none"]).default("auto"),
219
+ /**
220
+ * Template string for the GitHub release title when a package name is resolved.
221
+ * Available variables: ${packageName} (original scoped name), ${version} (e.g. "v1.0.0").
222
+ * Version-only tags (e.g. "v1.0.0") always use the tag as-is.
223
+ */
224
+ titleTemplate: z.string().default("${packageName}: ${version}")
219
225
  });
220
226
  var VerifyRegistryConfigSchema = z.object({
221
227
  enabled: z.boolean().default(true),
@@ -259,7 +265,8 @@ var PublishConfigSchema = z.object({
259
265
  draft: true,
260
266
  perPackage: true,
261
267
  prerelease: "auto",
262
- body: "auto"
268
+ body: "auto",
269
+ titleTemplate: "${packageName}: ${version}"
263
270
  }),
264
271
  verify: VerifyConfigSchema.default({
265
272
  npm: {
package/dist/cli.js CHANGED
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createReleaseCommand
4
- } from "./chunk-WNKYXS62.js";
4
+ } from "./chunk-G44TLD4A.js";
5
5
  import {
6
6
  runPreview
7
- } from "./chunk-I5CGC253.js";
7
+ } from "./chunk-ABFX2PAH.js";
8
8
  import {
9
9
  EXIT_CODES,
10
10
  readPackageVersion
11
- } from "./chunk-YZHGXRG6.js";
11
+ } from "./chunk-KURZ52C6.js";
12
12
 
13
13
  // src/cli.ts
14
14
  import { realpathSync } from "fs";
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createReleaseCommand
4
- } from "./chunk-WNKYXS62.js";
4
+ } from "./chunk-G44TLD4A.js";
5
5
  import {
6
6
  EXIT_CODES,
7
7
  error,
8
8
  info,
9
9
  readPackageVersion,
10
10
  success
11
- } from "./chunk-YZHGXRG6.js";
11
+ } from "./chunk-KURZ52C6.js";
12
12
 
13
13
  // src/dispatcher.ts
14
14
  import { realpathSync } from "fs";
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  runPreview
3
- } from "./chunk-I5CGC253.js";
3
+ } from "./chunk-ABFX2PAH.js";
4
4
  import {
5
5
  runRelease
6
- } from "./chunk-YZHGXRG6.js";
6
+ } from "./chunk-KURZ52C6.js";
7
7
  export {
8
8
  runPreview,
9
9
  runRelease
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@releasekit/release",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "description": "Unified release pipeline: version, changelog, and publish in a single command",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
@@ -50,9 +50,9 @@
50
50
  "commander": "^14.0.3",
51
51
  "smol-toml": "^1.6.1",
52
52
  "zod": "^4.3.6",
53
- "@releasekit/publish": "0.4.1",
54
- "@releasekit/version": "0.4.1",
55
- "@releasekit/notes": "0.4.1"
53
+ "@releasekit/notes": "0.5.0",
54
+ "@releasekit/version": "0.5.0",
55
+ "@releasekit/publish": "0.5.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@biomejs/biome": "^2.4.6",
@@ -62,8 +62,8 @@
62
62
  "tsup": "^8.5.1",
63
63
  "typescript": "^5.9.3",
64
64
  "vitest": "^4.1.0",
65
- "@releasekit/core": "0.0.0",
66
- "@releasekit/config": "0.0.0"
65
+ "@releasekit/config": "0.0.0",
66
+ "@releasekit/core": "0.0.0"
67
67
  },
68
68
  "engines": {
69
69
  "node": ">=20"