@williamthorsen/release-kit 17.0.0 → 17.0.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.
- package/.meta/changelog.json +17 -0
- package/.readyup/kits/default.js +1 -1
- package/.readyup/manifest.json +7 -7
- package/CHANGELOG.md +6 -0
- package/README.md +2 -7
- package/dist/esm/parseCommitMessage.d.ts +1 -3
- package/dist/esm/parseCommitMessage.js +2 -15
- package/package.json +3 -3
package/.meta/changelog.json
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "17.0.1",
|
|
4
|
+
"date": "2026-11-08",
|
|
5
|
+
"sections": [
|
|
6
|
+
{
|
|
7
|
+
"title": "🐛 Bug fixes",
|
|
8
|
+
"audience": "all",
|
|
9
|
+
"items": [
|
|
10
|
+
{
|
|
11
|
+
"description": "Fixes the issue that `release-kit` did not match a change-record entry's type to a configured work-type key or alias that contains an uppercase letter. (#1216)",
|
|
12
|
+
"hash": "78108625e45ee74cb473b9a15104ef4d58698f5b",
|
|
13
|
+
"entry": 1
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
2
19
|
{
|
|
3
20
|
"version": "17.0.0",
|
|
4
21
|
"date": "2026-11-08",
|
package/.readyup/kits/default.js
CHANGED
|
@@ -234,7 +234,7 @@ var CREATE_GITHUB_RELEASE_WORKFLOW_HASH_SINGLE = "d6de961de913c67b08dfa7e07f7349
|
|
|
234
234
|
|
|
235
235
|
// .readyup/kits/default.ts
|
|
236
236
|
function getMinVersion() {
|
|
237
|
-
const picked = { "version": "17.0.
|
|
237
|
+
const picked = { "version": "17.0.1" };
|
|
238
238
|
if (typeof picked["version"] !== "string") {
|
|
239
239
|
throw new TypeError("release-kit/package.json: 'version' must be a string");
|
|
240
240
|
}
|
package/.readyup/manifest.json
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"kits": [
|
|
4
4
|
{
|
|
5
5
|
"bundledDependencies": {
|
|
6
|
-
"@williamthorsen/toolbelt.datetime": "4.1.
|
|
6
|
+
"@williamthorsen/toolbelt.datetime": "4.1.1",
|
|
7
7
|
"@williamthorsen/toolbelt.errors": "0.9.0",
|
|
8
8
|
"@williamthorsen/toolbelt.filesystem": "0.10.0",
|
|
9
|
-
"@williamthorsen/toolbelt.numbers": "7.3.
|
|
9
|
+
"@williamthorsen/toolbelt.numbers": "7.3.1",
|
|
10
10
|
"@williamthorsen/toolbelt.objects": "4.4.0",
|
|
11
11
|
"@williamthorsen/toolbelt.packaging": "0.7.0",
|
|
12
12
|
"@williamthorsen/toolbelt.terminal": "0.3.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"checklist": "release-kit",
|
|
27
27
|
"checks": [
|
|
28
28
|
"@williamthorsen/release-kit in devDependencies",
|
|
29
|
-
"@williamthorsen/release-kit >= 17.0.
|
|
29
|
+
"@williamthorsen/release-kit >= 17.0.1",
|
|
30
30
|
"release.yaml workflow exists",
|
|
31
31
|
"release.yaml matches template",
|
|
32
32
|
"release.yaml does not reference deprecated tag ref",
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"path": "lib/workflow-hashes.ts"
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
|
-
"hash": "
|
|
165
|
+
"hash": "040d3cd8",
|
|
166
166
|
"kind": "inline",
|
|
167
167
|
"path": "../package.json",
|
|
168
168
|
"paths": [
|
|
@@ -195,14 +195,14 @@
|
|
|
195
195
|
"readyupVersion": "0.45.0",
|
|
196
196
|
"source": "kits/default.ts",
|
|
197
197
|
"sourceHash": "56566d0b",
|
|
198
|
-
"targetHash": "
|
|
198
|
+
"targetHash": "ecbd486a"
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
"bundledDependencies": {
|
|
202
|
-
"@williamthorsen/toolbelt.datetime": "4.1.
|
|
202
|
+
"@williamthorsen/toolbelt.datetime": "4.1.1",
|
|
203
203
|
"@williamthorsen/toolbelt.errors": "0.9.0",
|
|
204
204
|
"@williamthorsen/toolbelt.filesystem": "0.10.0",
|
|
205
|
-
"@williamthorsen/toolbelt.numbers": "7.3.
|
|
205
|
+
"@williamthorsen/toolbelt.numbers": "7.3.1",
|
|
206
206
|
"@williamthorsen/toolbelt.objects": "4.4.0",
|
|
207
207
|
"@williamthorsen/toolbelt.packaging": "0.7.0",
|
|
208
208
|
"@williamthorsen/toolbelt.terminal": "0.3.0",
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 17.0.1 — 2026-11-08
|
|
6
|
+
|
|
7
|
+
### 🐛 Bug fixes
|
|
8
|
+
|
|
9
|
+
- Fixes the issue that `release-kit` did not match a change-record entry's type to a configured work-type key or alias that contains an uppercase letter. (#1216)
|
|
10
|
+
|
|
5
11
|
## 17.0.0 — 2026-11-08
|
|
6
12
|
|
|
7
13
|
### 🎉 Features
|
package/README.md
CHANGED
|
@@ -7,16 +7,11 @@ Version-bumping and changelog-generation toolkit for release workflows.
|
|
|
7
7
|
Provides a self-contained CLI that auto-discovers workspaces from `pnpm-workspace.yaml`, parses conventional commits, determines version bumps, updates `package.json` files, and generates changelogs from the same commit history that decides each bump (with optional [editorial overrides](docs/editorial-overrides.md)).
|
|
8
8
|
|
|
9
9
|
<!-- section:release-notes -->
|
|
10
|
-
## Release notes — v17.0.
|
|
11
|
-
|
|
12
|
-
### 🎉 Features
|
|
13
|
-
|
|
14
|
-
- 🚨 **Breaking:** Routes `release-kit` commands through the `toolbelt.cli` command parser, which renders help from each command's options and makes a usage error, such as an invalid `RELEASE_KIT_OUTPUT_STYLE` or a stray argument to `sync-labels sync`, exit 2 with a `Try` line instead of exit 1, and makes a bare `release-kit`, `release-kit overrides`, or `release-kit sync-labels` exit 2 instead of printing help and exiting 0. (#1186)
|
|
15
|
-
- Prefixes each handled error line written by `nmr` and its other bins, `release-kit`, and `v11y-check` with the name of the program that wrote it, as `<bin>: <message>` in place of `Error: <message>`, for usage errors such as an unknown command or option as well, and names `v11y` for both of the bins in `v11y-check`. (#1190)
|
|
10
|
+
## Release notes — v17.0.1 (2026-11-08)
|
|
16
11
|
|
|
17
12
|
### 🐛 Bug fixes
|
|
18
13
|
|
|
19
|
-
- Fixes the issue that
|
|
14
|
+
- Fixes the issue that `release-kit` did not match a change-record entry's type to a configured work-type key or alias that contains an uppercase letter. (#1216)
|
|
20
15
|
<!-- /section:release-notes -->
|
|
21
16
|
|
|
22
17
|
## Installation
|
|
@@ -55,7 +55,5 @@ export interface BreakingPolicyInputs {
|
|
|
55
55
|
* commit still parses.
|
|
56
56
|
*/
|
|
57
57
|
export declare function evaluateBreakingPolicy(inputs: BreakingPolicyInputs): boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Resolves a raw type string to its canonical type name using the record keys and aliases.
|
|
60
|
-
*/
|
|
58
|
+
/** Resolves a raw type string to its canonical type name through change-grammar, ignoring case on both sides. */
|
|
61
59
|
export declare function resolveType(rawType: string, workTypes: Record<string, WorkTypeConfig>): string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { compileTemplate, parse, TEMPLATE_CATALOGUE, } from '@williamthorsen/change-grammar';
|
|
1
|
+
import { canonicalizeType, compileTemplate, parse, TEMPLATE_CATALOGUE, } from '@williamthorsen/change-grammar';
|
|
2
2
|
const SUBJECT_TEMPLATES = [
|
|
3
3
|
compileTemplate(TEMPLATE_CATALOGUE.pipedScope),
|
|
4
4
|
compileTemplate(TEMPLATE_CATALOGUE.conventionalCommits),
|
|
@@ -54,20 +54,7 @@ export function evaluateBreakingPolicy(inputs) {
|
|
|
54
54
|
return hasPrefixBreaking || hasFooterBreaking;
|
|
55
55
|
}
|
|
56
56
|
export function resolveType(rawType, workTypes) {
|
|
57
|
-
|
|
58
|
-
for (const [key, config] of Object.entries(workTypes)) {
|
|
59
|
-
if (key === loweredType) {
|
|
60
|
-
return key;
|
|
61
|
-
}
|
|
62
|
-
if (config.aliases !== undefined) {
|
|
63
|
-
for (const alias of config.aliases) {
|
|
64
|
-
if (alias === loweredType) {
|
|
65
|
-
return key;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return undefined;
|
|
57
|
+
return canonicalizeType(rawType, adaptToTaxonomy(workTypes));
|
|
71
58
|
}
|
|
72
59
|
function adaptToTaxonomy(workTypes) {
|
|
73
60
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@williamthorsen/release-kit",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.1",
|
|
4
4
|
"description": "Version-bumping and changelog-generation toolkit for release workflows",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"changelog",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"templates"
|
|
52
52
|
],
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@williamthorsen/change-grammar": "0.
|
|
54
|
+
"@williamthorsen/change-grammar": "0.4.0",
|
|
55
55
|
"@williamthorsen/nmr-core": "0.16.0",
|
|
56
56
|
"@williamthorsen/toolbelt.errors": "0.9.0",
|
|
57
57
|
"json-stringify-pretty-compact": "4.0.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@types/semver": "7.8.0",
|
|
64
64
|
"@williamthorsen/toolbelt.filesystem": "0.10.0",
|
|
65
65
|
"@williamthorsen/toolbelt.testing": "0.8.0",
|
|
66
|
-
"@williamthorsen/toolbelt.vitest": "0.13.
|
|
66
|
+
"@williamthorsen/toolbelt.vitest": "0.13.2",
|
|
67
67
|
"actionlint": "2.0.6",
|
|
68
68
|
"esbuild": "0.28.2",
|
|
69
69
|
"readyup": "0.45.0",
|