@releasekit/notes 0.32.0 → 0.32.1
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.
|
@@ -117,6 +117,9 @@ var VersionConfigSchema = z.object({
|
|
|
117
117
|
sharedPackages: z.array(z.string()).optional().describe(
|
|
118
118
|
'Foundational packages whose changes belong in every package\u2019s changelog. A commit touching only a shared package (exact name or glob) is classified as repo-level and surfaced under "Project-wide changes" rather than attributed to that one package. Default: none \u2014 no package is treated as shared unless declared.'
|
|
119
119
|
),
|
|
120
|
+
sharedChangelogFloor: z.enum(["union", "sinceLastRelease"]).default("union").describe(
|
|
121
|
+
`How the "Project-wide changes" block is bounded in package-specific-tag mode. "union" (default): repo-level commits accrue from the union of the releasing packages' ranges, floored by the OLDEST unreleased baseline \u2014 so a genuinely-global commit recurs in every release until the oldest-baselined package is released past it. "sinceLastRelease": floor the block by the single nearest tag reachable across the repo, so global commits already shown by the most recent release don't recur (recommended for per-package-tag monorepos). No effect in sync mode, where one shared tag already consumes repo-level commits on each release.`
|
|
122
|
+
),
|
|
120
123
|
mainPackage: z.string().optional().describe("Package to use for version determination"),
|
|
121
124
|
updateInternalDependencies: z.enum(["major", "minor", "patch", "no-internal-update"]).default("minor").describe("How to bump internal dependencies"),
|
|
122
125
|
skip: z.array(z.string()).optional().describe("Packages to exclude from versioning"),
|
|
@@ -127,6 +130,9 @@ var VersionConfigSchema = z.object({
|
|
|
127
130
|
mismatchStrategy: z.enum(["error", "warn", "ignore", "prefer-package", "prefer-git"]).default("warn").describe("How to handle version mismatches"),
|
|
128
131
|
versionPrefix: z.string().default("").describe("Prefix for version tags"),
|
|
129
132
|
prereleaseIdentifier: z.string().optional().describe("Identifier for prerelease versions (e.g., 'alpha', 'beta')"),
|
|
133
|
+
allowFirstBump: z.boolean().default(false).describe(
|
|
134
|
+
'Acknowledge applying a bump on a first release with an already-stable manifest. On a first release (no prior tag), `--stable --bump <type>` applies the bump (e.g. 1.0.0 \u2192 2.0.0) rather than graduating, which can silently overshoot the staged first version. By default this is flagged per `mismatchStrategy` (warn, or abort under "error"); set true (or pass --allow-first-bump) to apply the bump silently \u2014 legitimate when importing a package with prior external version history.'
|
|
135
|
+
),
|
|
130
136
|
strictReachable: z.boolean().default(false).describe("Only use reachable tags"),
|
|
131
137
|
zeroMajor: z.enum(["spec", "strict"]).default("spec").describe(
|
|
132
138
|
"Pre-1.0 handling of commit-inferred breaking changes. 'spec' (default): bump the 0.x minor (0.24.0 \u2192 0.25.0), per semver \xA74. 'strict': bump the next major (\u2192 1.0.0). Inferred path only \u2014 explicit overrides (--bump major, bump:major) always graduate to 1.0.0."
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED