@releasekit/notes 0.25.0 → 0.26.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-NSKMI5F2.js → chunk-E63A2Q5L.js} +26 -0
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
|
@@ -79,6 +79,16 @@ var VersionCargoConfigSchema = z.object({
|
|
|
79
79
|
enabled: z.boolean().default(true),
|
|
80
80
|
paths: z.array(z.string()).optional()
|
|
81
81
|
});
|
|
82
|
+
var VersionGroupSchema = z.object({
|
|
83
|
+
/**
|
|
84
|
+
* Package patterns (exact names, `@scope/*`, or globs) whose matched packages form this group.
|
|
85
|
+
* The same matching rules as `version.packages` apply.
|
|
86
|
+
*/
|
|
87
|
+
packages: z.array(z.string()).min(1),
|
|
88
|
+
/** `fixed`: all members release together at the group version. `linked`: only changed members
|
|
89
|
+
* release, all at the same version. See the version.groups reference for the full semantics. */
|
|
90
|
+
sync: z.enum(["fixed", "linked"])
|
|
91
|
+
});
|
|
82
92
|
var VersionConfigSchema = z.object({
|
|
83
93
|
tagTemplate: z.string().default("v{version}"),
|
|
84
94
|
/**
|
|
@@ -100,7 +110,21 @@ var VersionConfigSchema = z.object({
|
|
|
100
110
|
}).optional(),
|
|
101
111
|
packageSpecificTags: z.boolean().default(false),
|
|
102
112
|
preset: z.string().default("conventional"),
|
|
113
|
+
/**
|
|
114
|
+
* Global lockstep versioning. `true` is sugar for one implicit `fixed` group of every package
|
|
115
|
+
* (all packages version together) — it shares the exact same mechanism as `version.groups`.
|
|
116
|
+
* When `version.groups` is set, `sync` should be `false`; an explicit `sync: true` alongside
|
|
117
|
+
* groups is treated as the implicit all-packages fixed group taking precedence and is reported
|
|
118
|
+
* as a config conflict.
|
|
119
|
+
*/
|
|
103
120
|
sync: z.boolean().default(true),
|
|
121
|
+
/**
|
|
122
|
+
* Named version groups, each binding a set of package patterns to a `fixed` or `linked` sync
|
|
123
|
+
* mode. Packages not matched by any group version independently (per-package). A package may
|
|
124
|
+
* belong to at most one group; overlapping patterns that assign a package to two groups are a
|
|
125
|
+
* config error. See the `version.groups` reference for fixed vs linked semantics.
|
|
126
|
+
*/
|
|
127
|
+
groups: z.record(z.string(), VersionGroupSchema).optional(),
|
|
104
128
|
packages: z.array(z.string()).default([]),
|
|
105
129
|
mainPackage: z.string().optional(),
|
|
106
130
|
updateInternalDependencies: z.enum(["major", "minor", "patch", "no-internal-update"]).default("minor"),
|
|
@@ -113,6 +137,8 @@ var VersionConfigSchema = z.object({
|
|
|
113
137
|
versionPrefix: z.string().default(""),
|
|
114
138
|
prereleaseIdentifier: z.string().optional(),
|
|
115
139
|
strictReachable: z.boolean().default(false),
|
|
140
|
+
/** Pre-1.0 inferred-breaking bump policy ('spec' | 'strict'). See docs/configuration.md#versionzeromajor. */
|
|
141
|
+
zeroMajor: z.enum(["spec", "strict"]).default("spec"),
|
|
116
142
|
cargo: VersionCargoConfigSchema.optional()
|
|
117
143
|
});
|
|
118
144
|
var NpmConfigSchema = z.object({
|
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.26.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",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@anthropic-ai/sdk": "^0.
|
|
50
|
+
"@anthropic-ai/sdk": "^0.102.0",
|
|
51
51
|
"@octokit/request-error": "^7.1.0",
|
|
52
52
|
"@octokit/rest": "^22.0.1",
|
|
53
53
|
"chalk": "^5.6.2",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"jsonc-parser": "^3.3.1",
|
|
58
58
|
"liquidjs": "^10.27.0",
|
|
59
59
|
"minimatch": "^10.0.0",
|
|
60
|
-
"openai": "^6.
|
|
60
|
+
"openai": "^6.42.0",
|
|
61
61
|
"smol-toml": "^1.6.1",
|
|
62
62
|
"zod": "^4.4.3"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@biomejs/biome": "^2.4.16",
|
|
66
66
|
"@types/ejs": "^3.1.5",
|
|
67
|
-
"@types/node": "^22.19.
|
|
67
|
+
"@types/node": "^22.19.20",
|
|
68
68
|
"@vitest/coverage-v8": "^4.1.8",
|
|
69
69
|
"tsup": "^8.5.1",
|
|
70
70
|
"typescript": "^5.9.3",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@releasekit/core": "0.0.0"
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
|
-
"node": ">=
|
|
76
|
+
"node": ">=22"
|
|
77
77
|
},
|
|
78
78
|
"scripts": {
|
|
79
79
|
"build": "tsup",
|