@releasekit/notes 0.36.0 → 0.38.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.
@@ -3,8 +3,8 @@ import {
3
3
  detectMonorepo,
4
4
  splitByPackage,
5
5
  writeMonorepoChangelogs
6
- } from "./chunk-UDVQUE2N.js";
7
- import "./chunk-IC4SXXRM.js";
6
+ } from "./chunk-SY2YT6H3.js";
7
+ import "./chunk-JIYLIQQ6.js";
8
8
  export {
9
9
  aggregateToRoot,
10
10
  detectMonorepo,
@@ -5,12 +5,13 @@ import {
5
5
  error,
6
6
  formatVersion,
7
7
  info,
8
+ parseGitHubOwnerRepo,
8
9
  setLogLevel,
9
10
  setQuietMode,
10
11
  success,
11
12
  warn,
12
13
  writeMarkdown
13
- } from "./chunk-IC4SXXRM.js";
14
+ } from "./chunk-JIYLIQQ6.js";
14
15
 
15
16
  // ../config/dist/index.js
16
17
  import * as fs from "fs";
@@ -282,7 +283,10 @@ var ChangelogConfigSchema = z.object({
282
283
  "Where to write changelog files. root: repo root only. packages: per-package (monorepos). both: repo root and per-package. When omitted entirely (no changelog config), defaults to root."
283
284
  ),
284
285
  file: z.string().optional().describe("Changelog file name override (default: CHANGELOG.md)"),
285
- templates: TemplateConfigSchema.optional().describe("Template configuration for changelog")
286
+ templates: TemplateConfigSchema.optional().describe("Template configuration for changelog"),
287
+ refs: z.enum(["strip", "escape", "link"]).default("link").describe(
288
+ "How `#NNN` issue/PR refs in the changelog are rendered. 'link' (default): the PR and the issues it closed are labelled as `(PR #503 \xB7 closes #500)`, where the PR links to its canonical /pull/ URL with `PR #503` as the visible text \u2014 this keeps the GitHub hovercard but stops the bare-token rich inline card that duplicated the entry; closed issues link to /issues/. An entry with no identifiable PR (a non-squash commit, or a non-GitHub repo) falls back to a plain ref list. 'escape': plain text \\#NNN (no link, no hovercard, no PR/closes labelling). 'strip': refs are removed entirely. Scoped-package / @user mentions in entry text are always neutralised regardless of this setting."
289
+ )
286
290
  }).describe("Changelog file configuration");
287
291
  var LLMOptionsSchema = z.object({
288
292
  timeout: z.number().int().optional().describe("Request timeout in ms"),
@@ -413,6 +417,9 @@ var CILabelsConfigSchema = z.object({
413
417
  graduate: z.string().default("release:graduate").describe(
414
418
  "Label that graduates a prerelease to its stable base version (e.g. 1.0.0-next.6 \u2192 1.0.0). A standalone release trigger in label/direct mode; in standing-pr mode it sets the next merge to graduate."
415
419
  ),
420
+ graduatePackagePrefix: z.string().default("graduate:").describe(
421
+ "Prefix for per-package graduate labels on the standing PR. A `graduate:<package>` label graduates just that prerelease package (and, atomically, any fixed/linked group it belongs to) to its stable base version on the next update, while other prerelease packages stay on their line. The whole-batch `graduate` label still graduates everything. Standing-pr mode only."
422
+ ),
416
423
  prerelease: z.string().default("channel:prerelease").describe("Label to create a prerelease"),
417
424
  skip: z.string().default("release:skip").describe("Label to suppress a release on this PR"),
418
425
  immediate: z.string().default("release:immediate").describe("Label to bypass the standing PR for one merge \u2014 triggers a direct release. Standing-pr mode only."),
@@ -467,6 +474,9 @@ var StandingPrConfigSchema = z.object({
467
474
  ),
468
475
  selection: z.enum(["streamlined", "granular"]).default("streamlined").describe(
469
476
  "How the selection list renders when primaryPackages is set. streamlined: one checkbox per primary, coupled members shown read-only in a collapsed pane, and a held-back primary cascades to its unit. granular: every package keeps its own checkbox, nested under its primary, with no cascade. No effect when primaryPackages is empty."
477
+ ),
478
+ combinedChangelogFooter: z.boolean().default(true).describe(
479
+ "Append the de-duplicated combined-changelog footer to the standing PR: every change listed once, flat across packages and grouped by change type (Added/Fixed/Changed). It complements the per-row changelogs co-located with each releasable row. Set false to suppress this redundant per-package summary \u2014 the per-row changelogs remain, project-wide (shared) changes are still shown in their own block, and sync releases (which have no per-row changelogs) always show the combined changelog regardless of this setting."
470
480
  )
471
481
  });
472
482
  var CIConfigSchema = z.object({
@@ -491,6 +501,7 @@ var CIConfigSchema = z.object({
491
501
  ),
492
502
  labels: CILabelsConfigSchema.default({
493
503
  graduate: "release:graduate",
504
+ graduatePackagePrefix: "graduate:",
494
505
  prerelease: "channel:prerelease",
495
506
  skip: "release:skip",
496
507
  immediate: "release:immediate",
@@ -774,6 +785,7 @@ function versionOutputToChangelogInput(data) {
774
785
  type: normalizeEntryType(entry.type),
775
786
  description: entry.description,
776
787
  issueIds: entry.issueIds,
788
+ prNumber: entry.prNumber,
777
789
  scope: entry.scope,
778
790
  originalType: entry.originalType,
779
791
  breaking: entry.breaking ?? entry.originalType?.includes("!") ?? false
@@ -2603,18 +2615,6 @@ async function withRetry(fn, options = {}) {
2603
2615
  }
2604
2616
 
2605
2617
  // src/core/pipeline.ts
2606
- function parseOwnerRepo(repoUrl) {
2607
- const scpMatch = repoUrl.match(/^git@github\.com:([^/]+)\/(.+?)(?:\.git)?$/);
2608
- if (scpMatch) return { owner: scpMatch[1], repo: scpMatch[2] };
2609
- try {
2610
- const url = new URL(repoUrl);
2611
- if (url.hostname !== "github.com") return null;
2612
- const parts = url.pathname.replace(/^\//, "").replace(/\.git$/, "").split("/");
2613
- if (parts.length >= 2) return { owner: parts[0], repo: parts[1] };
2614
- } catch {
2615
- }
2616
- return null;
2617
- }
2618
2618
  function findCompoundTagSepPos(tag) {
2619
2619
  let pos = tag.lastIndexOf("-");
2620
2620
  while (pos > 0) {
@@ -2842,7 +2842,7 @@ async function runPipeline(input, config, dryRun, pipelineOptions) {
2842
2842
  info("Processing with LLM enhancement");
2843
2843
  const examplesCount = llmConfig.examples ?? 3;
2844
2844
  const repoUrl = contexts[0]?.repoUrl ?? input.metadata?.repoUrl;
2845
- const ownerRepo = repoUrl ? parseOwnerRepo(repoUrl) : null;
2845
+ const ownerRepo = repoUrl ? parseGitHubOwnerRepo(repoUrl) : null;
2846
2846
  const examplesByPackage = /* @__PURE__ */ new Map();
2847
2847
  if (examplesCount > 0 && ownerRepo) {
2848
2848
  await Promise.all(
@@ -2899,7 +2899,8 @@ async function runPipeline(input, config, dryRun, pipelineOptions) {
2899
2899
  includePackageName: contexts.length > 1 || contexts.some((c) => c.packageName.includes("/")),
2900
2900
  categoryOrder: llmConfig?.categoryOrder,
2901
2901
  links: releaseNotesConfig?.links,
2902
- firstRelease: releaseNotesConfig?.firstRelease
2902
+ firstRelease: releaseNotesConfig?.firstRelease,
2903
+ refs: (changelogConfig !== false ? changelogConfig.refs : void 0) ?? "link"
2903
2904
  };
2904
2905
  if (!pipelineOptions?.skipChangelogs && changelogConfig !== false && changelogConfig.mode) {
2905
2906
  const fileName = changelogConfig.file ?? "CHANGELOG.md";
@@ -2921,7 +2922,13 @@ async function runPipeline(input, config, dryRun, pipelineOptions) {
2921
2922
  if (!dryRun) files.push(fileName);
2922
2923
  }
2923
2924
  if (mode === "packages" || mode === "both") {
2924
- const monoFiles = await writeMonorepoFiles(contexts, config, dryRun, changelogConfig.file ?? "CHANGELOG.md");
2925
+ const monoFiles = await writeMonorepoFiles(
2926
+ contexts,
2927
+ config,
2928
+ dryRun,
2929
+ changelogConfig.file ?? "CHANGELOG.md",
2930
+ fmtOpts.refs ?? "link"
2931
+ );
2925
2932
  files.push(...monoFiles);
2926
2933
  }
2927
2934
  } catch (error2) {
@@ -2932,7 +2939,7 @@ async function runPipeline(input, config, dryRun, pipelineOptions) {
2932
2939
  const dir = releaseNotesConfig.file.dir;
2933
2940
  info(`Generating release notes \u2192 ${dir}`);
2934
2941
  try {
2935
- const { detectMonorepo } = await import("./aggregator-KOMXAK6Y.js");
2942
+ const { detectMonorepo } = await import("./aggregator-GQ55YUGA.js");
2936
2943
  const nested = detectMonorepo(process.cwd()).isMonorepo || contexts.length > 1;
2937
2944
  const renderContent = (ctx) => {
2938
2945
  if (releaseNotesConfig.templates?.path) {
@@ -2993,8 +3000,8 @@ async function processInput(inputJson, config, dryRun, pipelineOptions) {
2993
3000
  const input = parseVersionOutput(inputJson);
2994
3001
  return runPipeline(input, config, dryRun, pipelineOptions);
2995
3002
  }
2996
- async function writeMonorepoFiles(contexts, config, dryRun, fileName) {
2997
- const { detectMonorepo, writeMonorepoChangelogs } = await import("./aggregator-KOMXAK6Y.js");
3003
+ async function writeMonorepoFiles(contexts, config, dryRun, fileName, refs) {
3004
+ const { detectMonorepo, writeMonorepoChangelogs } = await import("./aggregator-GQ55YUGA.js");
2998
3005
  const cwd = process.cwd();
2999
3006
  const detected = detectMonorepo(cwd);
3000
3007
  if (!detected.isMonorepo) return [];
@@ -3007,7 +3014,8 @@ async function writeMonorepoFiles(contexts, config, dryRun, fileName) {
3007
3014
  fileName
3008
3015
  },
3009
3016
  config,
3010
- dryRun
3017
+ dryRun,
3018
+ refs
3011
3019
  );
3012
3020
  return monoFiles;
3013
3021
  }
@@ -1,14 +1,53 @@
1
1
  // ../core/dist/index.js
2
- import * as fs from "fs";
3
- import * as path from "path";
2
+ import fs from "fs";
3
+ import path from "path";
4
+ import * as fs2 from "fs";
5
+ import * as path2 from "path";
4
6
  import { fileURLToPath } from "url";
5
7
  import chalk from "chalk";
6
8
  import { minimatch } from "minimatch";
9
+ function parseGitHubOwnerRepo(repoUrl) {
10
+ const scpMatch = repoUrl.match(/^git@github\.com:([^/]+)\/(.+?)(?:\.git)?$/);
11
+ if (scpMatch) return { owner: scpMatch[1], repo: scpMatch[2] };
12
+ try {
13
+ const url = new URL(repoUrl);
14
+ if (url.hostname !== "github.com") return null;
15
+ const parts = url.pathname.replace(/^\//, "").replace(/\.git$/, "").split("/");
16
+ if (parts.length >= 2 && parts[0] && parts[1]) return { owner: parts[0], repo: parts[1] };
17
+ } catch {
18
+ }
19
+ return null;
20
+ }
21
+ function renderIssueRefs(issueIds, mode, repoUrl, prNumber) {
22
+ if (mode === "strip") return "";
23
+ const ids = issueIds ?? [];
24
+ const allIds = prNumber && !ids.some((id) => Number(id.replace(/^#/, "")) === Number(prNumber.replace(/^#/, ""))) ? [prNumber, ...ids] : ids;
25
+ if (allIds.length === 0) return "";
26
+ const ownerRepo = mode === "link" && repoUrl ? parseGitHubOwnerRepo(repoUrl) : null;
27
+ if (ownerRepo && prNumber) {
28
+ const { owner, repo } = ownerRepo;
29
+ const pr = prNumber.replace(/^#/, "");
30
+ const prPart = `PR [#${pr}](https://github.com/${owner}/${repo}/pull/${pr})`;
31
+ const closes = allIds.map((raw) => raw.replace(/^#/, "")).filter((num) => Number(num) !== Number(pr));
32
+ if (closes.length === 0) return `(${prPart})`;
33
+ const closesPart = closes.map((num) => `[#${num}](https://github.com/${owner}/${repo}/issues/${num})`).join(", ");
34
+ return `(${prPart} \xB7 closes ${closesPart})`;
35
+ }
36
+ const rendered = allIds.map((raw) => {
37
+ const num = raw.replace(/^#/, "");
38
+ return ownerRepo ? `[#${num}](https://github.com/${ownerRepo.owner}/${ownerRepo.repo}/issues/${num})` : `\\#${num}`;
39
+ }).join(", ");
40
+ return rendered ? `(${rendered})` : "";
41
+ }
42
+ var CODE_SPAN_OR_MENTION = /`[^`]*`|(?<![0-9A-Za-z_@\\/])@[A-Za-z0-9][A-Za-z0-9-]*(?:\/[A-Za-z0-9._-]+)?/g;
43
+ function escapeChangelogMentions(text) {
44
+ return text.replace(CODE_SPAN_OR_MENTION, (match) => match.startsWith("`") ? match : `\\${match}`);
45
+ }
7
46
  function readPackageVersion(importMetaUrl) {
8
47
  try {
9
- const dir = path.dirname(fileURLToPath(importMetaUrl));
10
- const packageJsonPath = path.resolve(dir, "../package.json");
11
- const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf-8"));
48
+ const dir = path2.dirname(fileURLToPath(importMetaUrl));
49
+ const packageJsonPath = path2.resolve(dir, "../package.json");
50
+ const packageJson = JSON.parse(fs2.readFileSync(packageJsonPath, "utf-8"));
12
51
  return packageJson.version ?? "0.0.0";
13
52
  } catch {
14
53
  return "0.0.0";
@@ -106,8 +145,8 @@ var EXIT_CODES = {
106
145
  };
107
146
 
108
147
  // src/output/markdown.ts
109
- import * as fs2 from "fs";
110
- import * as path2 from "path";
148
+ import * as fs3 from "fs";
149
+ import * as path3 from "path";
111
150
  var DEFAULT_FIRST_RELEASE_TEXT = "_First release of ${packageName}._";
112
151
  function firstReleaseLine(context, config) {
113
152
  if (!context.isFirstRelease || config === false) return void 0;
@@ -136,26 +175,30 @@ function groupEntriesByType(entries) {
136
175
  return grouped;
137
176
  }
138
177
  function formatEntry(entry, opts) {
178
+ const description = escapeChangelogMentions(entry.description);
179
+ const scope = entry.scope ? escapeChangelogMentions(entry.scope) : void 0;
180
+ const leadIn = entry.leadIn ? escapeChangelogMentions(entry.leadIn) : void 0;
139
181
  let line;
140
- if (entry.leadIn && entry.breaking) {
141
- line = `- **BREAKING** **${entry.leadIn}**: ${entry.description}`;
142
- } else if (entry.leadIn) {
143
- line = `- **${entry.leadIn}**: ${entry.description}`;
144
- } else if (entry.breaking && entry.scope && !opts?.hideScope) {
145
- line = `- **BREAKING** **${entry.scope}**: ${entry.description}`;
182
+ if (leadIn && entry.breaking) {
183
+ line = `- **BREAKING** **${leadIn}**: ${description}`;
184
+ } else if (leadIn) {
185
+ line = `- **${leadIn}**: ${description}`;
186
+ } else if (entry.breaking && scope && !opts?.hideScope) {
187
+ line = `- **BREAKING** **${scope}**: ${description}`;
146
188
  } else if (entry.breaking) {
147
- line = `- **BREAKING** ${entry.description}`;
148
- } else if (entry.scope && !opts?.hideScope) {
149
- line = `- **${entry.scope}**: ${entry.description}`;
189
+ line = `- **BREAKING** ${description}`;
190
+ } else if (scope && !opts?.hideScope) {
191
+ line = `- **${scope}**: ${description}`;
150
192
  } else {
151
- line = `- ${entry.description}`;
193
+ line = `- ${description}`;
152
194
  }
153
- if (entry.issueIds && entry.issueIds.length > 0) {
154
- line += ` (${entry.issueIds.join(", ")})`;
195
+ const refs = renderIssueRefs(entry.issueIds ?? [], opts?.refs ?? "link", opts?.repoUrl ?? null, entry.prNumber);
196
+ if (refs) {
197
+ line += ` ${refs}`;
155
198
  }
156
199
  return line;
157
200
  }
158
- function formatCategorySection(name, entries) {
201
+ function formatCategorySection(name, entries, refOpts) {
159
202
  const lines = [];
160
203
  lines.push(`### ${name}`);
161
204
  const scopeCounts = /* @__PURE__ */ new Map();
@@ -168,7 +211,7 @@ function formatCategorySection(name, entries) {
168
211
  }
169
212
  if (groupedScopes.size === 0) {
170
213
  for (const entry of entries) {
171
- lines.push(formatEntry(entry));
214
+ lines.push(formatEntry(entry, refOpts));
172
215
  }
173
216
  } else {
174
217
  const byScope = /* @__PURE__ */ new Map();
@@ -184,13 +227,13 @@ function formatCategorySection(name, entries) {
184
227
  if (entry.scope && groupedScopes.has(entry.scope)) {
185
228
  if (!renderedScopes.has(entry.scope)) {
186
229
  renderedScopes.add(entry.scope);
187
- lines.push(`**${entry.scope}**:`);
230
+ lines.push(`**${escapeChangelogMentions(entry.scope)}**:`);
188
231
  for (const e of byScope.get(entry.scope) ?? []) {
189
- lines.push(formatEntry(e, { hideScope: true }));
232
+ lines.push(formatEntry(e, { ...refOpts, hideScope: true }));
190
233
  }
191
234
  }
192
235
  } else {
193
- lines.push(formatEntry(entry));
236
+ lines.push(formatEntry(entry, refOpts));
194
237
  }
195
238
  }
196
239
  }
@@ -289,6 +332,7 @@ function resolveLinks(entries, linksConfig) {
289
332
  }
290
333
  function formatVersion(context, options) {
291
334
  const lines = [];
335
+ const refOpts = { refs: options?.refs ?? "link", repoUrl: context.repoUrl };
292
336
  const versionLabel = options?.includePackageName && context.packageName ? `${context.packageName}@${context.version}` : context.version;
293
337
  const versionHeader = context.previousVersion ? `## [${versionLabel}]` : `## ${versionLabel}`;
294
338
  lines.push(`${versionHeader} - ${context.date}`);
@@ -311,7 +355,7 @@ function formatVersion(context, options) {
311
355
  categories = applyOrder(categories, options?.categoryOrder ?? []);
312
356
  for (const category of categories) {
313
357
  if (category.entries.length === 0) continue;
314
- lines.push(...formatCategorySection(category.name, category.entries));
358
+ lines.push(...formatCategorySection(category.name, category.entries, refOpts));
315
359
  }
316
360
  const links = resolveLinks(context.entries, options?.links);
317
361
  if (links.length > 0) {
@@ -327,7 +371,7 @@ function formatVersion(context, options) {
327
371
  if (entries.length === 0) continue;
328
372
  lines.push(`### ${TYPE_LABELS[type]}`);
329
373
  for (const entry of entries) {
330
- lines.push(formatEntry(entry));
374
+ lines.push(formatEntry(entry, refOpts));
331
375
  }
332
376
  lines.push("");
333
377
  }
@@ -353,8 +397,8 @@ function renderMarkdown(contexts, options) {
353
397
  }
354
398
  function prependVersion(existingPath, context, options) {
355
399
  let existing = "";
356
- if (fs2.existsSync(existingPath)) {
357
- existing = fs2.readFileSync(existingPath, "utf-8");
400
+ if (fs3.existsSync(existingPath)) {
401
+ existing = fs3.readFileSync(existingPath, "utf-8");
358
402
  const headerEnd = existing.indexOf("\n## ");
359
403
  if (headerEnd >= 0) {
360
404
  const header = existing.slice(0, headerEnd);
@@ -376,27 +420,28 @@ function writeMarkdown(outputPath, contexts, config, dryRun, options) {
376
420
  info(content);
377
421
  return;
378
422
  }
379
- const dir = path2.dirname(outputPath);
380
- if (!fs2.existsSync(dir)) {
381
- fs2.mkdirSync(dir, { recursive: true });
423
+ const dir = path3.dirname(outputPath);
424
+ if (!fs3.existsSync(dir)) {
425
+ fs3.mkdirSync(dir, { recursive: true });
382
426
  }
383
427
  if (outputPath === "-") {
384
428
  process.stdout.write(content);
385
429
  return;
386
430
  }
387
- if (config.updateStrategy !== "regenerate" && fs2.existsSync(outputPath) && contexts.length === 1) {
431
+ if (config.updateStrategy !== "regenerate" && fs3.existsSync(outputPath) && contexts.length === 1) {
388
432
  const firstContext = contexts[0];
389
433
  if (firstContext) {
390
434
  const updated = prependVersion(outputPath, firstContext, options);
391
- fs2.writeFileSync(outputPath, updated, "utf-8");
435
+ fs3.writeFileSync(outputPath, updated, "utf-8");
392
436
  }
393
437
  } else {
394
- fs2.writeFileSync(outputPath, content, "utf-8");
438
+ fs3.writeFileSync(outputPath, content, "utf-8");
395
439
  }
396
440
  success(`${label} written to ${outputPath}`);
397
441
  }
398
442
 
399
443
  export {
444
+ parseGitHubOwnerRepo,
400
445
  readPackageVersion,
401
446
  setLogLevel,
402
447
  setQuietMode,
@@ -5,7 +5,7 @@ import {
5
5
  prependVersion,
6
6
  renderMarkdown,
7
7
  success
8
- } from "./chunk-IC4SXXRM.js";
8
+ } from "./chunk-JIYLIQQ6.js";
9
9
 
10
10
  // src/monorepo/aggregator.ts
11
11
  import * as fs from "fs";
@@ -54,11 +54,11 @@ function aggregateToRoot(contexts) {
54
54
  }
55
55
  return aggregated;
56
56
  }
57
- function writeMonorepoChangelogs(contexts, options, config, dryRun) {
57
+ function writeMonorepoChangelogs(contexts, options, config, dryRun, refs = "link") {
58
58
  const files = [];
59
59
  if (options.mode === "root" || options.mode === "both") {
60
60
  const rootPath = path.join(options.rootPath, options.fileName ?? "CHANGELOG.md");
61
- const fmtOpts = { includePackageName: true };
61
+ const fmtOpts = { includePackageName: true, refs };
62
62
  info(`Writing root changelog to ${rootPath}`);
63
63
  let rootContent;
64
64
  if (config.updateStrategy !== "regenerate" && fs.existsSync(rootPath)) {
@@ -89,7 +89,7 @@ ${existing.slice(headerEnd + 1)}`;
89
89
  if (packageDir) {
90
90
  const changelogPath = path.join(packageDir, options.fileName ?? "CHANGELOG.md");
91
91
  info(`Writing changelog for ${packageName} to ${changelogPath}`);
92
- const pkgContent = config.updateStrategy !== "regenerate" && fs.existsSync(changelogPath) ? prependVersion(changelogPath, ctx) : renderMarkdown([ctx]);
92
+ const pkgContent = config.updateStrategy !== "regenerate" && fs.existsSync(changelogPath) ? prependVersion(changelogPath, ctx, { refs }) : renderMarkdown([ctx], { refs });
93
93
  if (writeFile(changelogPath, pkgContent, dryRun)) {
94
94
  files.push(changelogPath);
95
95
  }
package/dist/cli.js CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createNotesCommand
4
- } from "./chunk-S6VVXWXA.js";
4
+ } from "./chunk-J2CKYTB2.js";
5
5
  import {
6
6
  readPackageVersion
7
- } from "./chunk-IC4SXXRM.js";
7
+ } from "./chunk-JIYLIQQ6.js";
8
8
 
9
9
  // src/cli.ts
10
10
  import * as fs from "fs";
package/dist/index.js CHANGED
@@ -18,12 +18,12 @@ import {
18
18
  runPipeline,
19
19
  saveAuth,
20
20
  versionOutputToChangelogInput
21
- } from "./chunk-S6VVXWXA.js";
21
+ } from "./chunk-J2CKYTB2.js";
22
22
  import {
23
23
  aggregateToRoot,
24
24
  detectMonorepo,
25
25
  writeMonorepoChangelogs
26
- } from "./chunk-UDVQUE2N.js";
26
+ } from "./chunk-SY2YT6H3.js";
27
27
  import {
28
28
  debug,
29
29
  formatVersion,
@@ -31,7 +31,7 @@ import {
31
31
  renderMarkdown,
32
32
  success,
33
33
  writeMarkdown
34
- } from "./chunk-IC4SXXRM.js";
34
+ } from "./chunk-JIYLIQQ6.js";
35
35
 
36
36
  // src/output/json.ts
37
37
  import * as fs from "fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@releasekit/notes",
3
- "version": "0.36.0",
3
+ "version": "0.38.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",
@@ -69,10 +69,10 @@
69
69
  "tsup": "^8.5.1",
70
70
  "typescript": "^5.9.3",
71
71
  "vitest": "^4.1.9",
72
+ "@releasekit/forge": "0.0.0",
72
73
  "@releasekit/core": "0.0.0",
73
74
  "@releasekit/config": "0.0.0",
74
- "@releasekit/git": "0.0.0",
75
- "@releasekit/forge": "0.0.0"
75
+ "@releasekit/git": "0.0.0"
76
76
  },
77
77
  "engines": {
78
78
  "node": ">=22"