@releasekit/release 0.4.1 → 0.6.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.
|
@@ -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: {
|
|
@@ -571,7 +578,7 @@ async function runRelease(inputOptions) {
|
|
|
571
578
|
let publishOutput;
|
|
572
579
|
if (!options.skipPublish) {
|
|
573
580
|
info("Publishing...");
|
|
574
|
-
publishOutput = await runPublishStep(versionOutput, options, releaseNotes
|
|
581
|
+
publishOutput = await runPublishStep(versionOutput, options, releaseNotes, notesFiles);
|
|
575
582
|
success("Publish complete");
|
|
576
583
|
}
|
|
577
584
|
return { versionOutput, notesGenerated, packageNotes, releaseNotes, publishOutput };
|
package/dist/cli.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createReleaseCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4SIZK7PB.js";
|
|
5
5
|
import {
|
|
6
6
|
runPreview
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-H4NI763A.js";
|
|
8
8
|
import {
|
|
9
9
|
EXIT_CODES,
|
|
10
10
|
readPackageVersion
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VAYTUKM7.js";
|
|
12
12
|
|
|
13
13
|
// src/cli.ts
|
|
14
14
|
import { realpathSync } from "fs";
|
package/dist/dispatcher.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createReleaseCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4SIZK7PB.js";
|
|
5
5
|
import {
|
|
6
6
|
EXIT_CODES,
|
|
7
7
|
error,
|
|
8
8
|
info,
|
|
9
9
|
readPackageVersion,
|
|
10
10
|
success
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VAYTUKM7.js";
|
|
12
12
|
|
|
13
13
|
// src/dispatcher.ts
|
|
14
14
|
import { realpathSync } from "fs";
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@releasekit/release",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.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.
|
|
54
|
-
"@releasekit/
|
|
55
|
-
"@releasekit/
|
|
53
|
+
"@releasekit/publish": "0.6.0",
|
|
54
|
+
"@releasekit/notes": "0.6.0",
|
|
55
|
+
"@releasekit/version": "0.6.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/
|
|
66
|
-
"@releasekit/
|
|
65
|
+
"@releasekit/config": "0.0.0",
|
|
66
|
+
"@releasekit/core": "0.0.0"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=20"
|