@releasekit/notes 0.7.48 → 0.8.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.
@@ -307,7 +307,18 @@ var CIConfigSchema = z.object({
307
307
  major: "release:major",
308
308
  minor: "release:minor",
309
309
  patch: "release:patch"
310
- })
310
+ }),
311
+ /**
312
+ * Map of scope labels to package patterns.
313
+ * When a PR has a label matching a key, only packages matching the corresponding pattern will be released.
314
+ */
315
+ scopeLabels: z.record(z.string(), z.string()).optional(),
316
+ /**
317
+ * Default scope to use when no scope label is found on the merged PR.
318
+ * Must reference a key from scopeLabels (e.g., "scope:shared").
319
+ * Only applies when scopeLabels is configured.
320
+ */
321
+ defaultScope: z.string().optional()
311
322
  });
312
323
  var ReleaseCIConfigSchema = z.object({
313
324
  skipPatterns: z.array(z.string().min(1)).optional(),
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createNotesCommand
4
- } from "./chunk-Y4S5UWCL.js";
4
+ } from "./chunk-5B2RYLOK.js";
5
5
  import {
6
6
  readPackageVersion
7
7
  } from "./chunk-7TJSPQPW.js";
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  processInput,
18
18
  runPipeline,
19
19
  saveAuth
20
- } from "./chunk-Y4S5UWCL.js";
20
+ } from "./chunk-5B2RYLOK.js";
21
21
  import {
22
22
  aggregateToRoot,
23
23
  detectMonorepo,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@releasekit/notes",
3
- "version": "0.7.48",
3
+ "version": "0.8.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",
@@ -66,8 +66,8 @@
66
66
  "tsup": "^8.5.1",
67
67
  "typescript": "^5.9.3",
68
68
  "vitest": "^4.1.2",
69
- "@releasekit/core": "0.0.0",
70
- "@releasekit/config": "0.0.0"
69
+ "@releasekit/config": "0.0.0",
70
+ "@releasekit/core": "0.0.0"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=20"