@williamthorsen/release-kit 16.1.0 → 16.1.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.
@@ -1,4 +1,32 @@
1
1
  [
2
+ {
3
+ "version": "16.1.1",
4
+ "date": "2026-11-05",
5
+ "sections": [
6
+ {
7
+ "title": "🐛 Bug fixes",
8
+ "audience": "all",
9
+ "items": [
10
+ {
11
+ "description": "Fixes the issue that the bin scripts of `nmr`, `release-kit`, and `v11y-check` reported every error other than missing build output as `<bin>: failed to load: <message>` without a stack, which hid where the fault occurred. (#1157)",
12
+ "hash": "ef1ed5f50bf0b01f19b6d6fe82a40322a8286002",
13
+ "entry": 2
14
+ }
15
+ ]
16
+ },
17
+ {
18
+ "title": "♻️ Refactoring",
19
+ "audience": "dev",
20
+ "items": [
21
+ {
22
+ "description": "Moves the CLI entries of `release-kit` and `v11y-check` from `src/bin/` to `src/cli.ts`, matching the layout of `nmr`, and renames the command module previously at `v11y-check`'s `src/cli.ts` to `src/commands.ts`. (#1154)",
23
+ "hash": "8ec4abd71b8952d9bee798031bd336c386fa7cf1",
24
+ "entry": 1
25
+ }
26
+ ]
27
+ }
28
+ ]
29
+ },
2
30
  {
3
31
  "version": "16.1.0",
4
32
  "date": "2026-11-03",
@@ -1,6 +1,6 @@
1
1
  /** @noformat -- @generated. Do not edit. Compiled by rdy. */
2
2
  /* eslint-disable */
3
- export const __readyupVersion = "0.44.0";
3
+ export const __readyupVersion = "0.45.0";
4
4
 
5
5
 
6
6
  // .readyup/kits/default.ts
@@ -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": "16.1.0" };
237
+ const picked = { "version": "16.1.1" };
238
238
  if (typeof picked["version"] !== "string") {
239
239
  throw new TypeError("release-kit/package.json: 'version' must be a string");
240
240
  }
@@ -1,6 +1,6 @@
1
1
  /** @noformat -- @generated. Do not edit. Compiled by rdy. */
2
2
  /* eslint-disable */
3
- export const __readyupVersion = "0.44.0";
3
+ export const __readyupVersion = "0.45.0";
4
4
 
5
5
 
6
6
  // .readyup/kits/npm-auto-publish.ts
@@ -7,7 +7,7 @@
7
7
  "checklist": "release-kit",
8
8
  "checks": [
9
9
  "@williamthorsen/release-kit in devDependencies",
10
- "@williamthorsen/release-kit >= 16.1.0",
10
+ "@williamthorsen/release-kit >= 16.1.1",
11
11
  "release.yaml workflow exists",
12
12
  "release.yaml matches template",
13
13
  "release.yaml does not reference deprecated tag ref",
@@ -63,7 +63,7 @@
63
63
  "path": "lib/workflow-hashes.ts"
64
64
  },
65
65
  {
66
- "hash": "b44f7148",
66
+ "hash": "1c9904c3",
67
67
  "kind": "inline",
68
68
  "path": "../package.json",
69
69
  "paths": [
@@ -98,10 +98,10 @@
98
98
  ],
99
99
  "name": "default",
100
100
  "path": "kits/default.js",
101
- "readyupVersion": "0.44.0",
101
+ "readyupVersion": "0.45.0",
102
102
  "source": "kits/default.ts",
103
103
  "sourceHash": "56566d0b",
104
- "targetHash": "5f810bb7"
104
+ "targetHash": "070a29f8"
105
105
  },
106
106
  {
107
107
  "checklistChecks": [
@@ -157,10 +157,10 @@
157
157
  ],
158
158
  "name": "npm-auto-publish",
159
159
  "path": "kits/npm-auto-publish.js",
160
- "readyupVersion": "0.44.0",
160
+ "readyupVersion": "0.45.0",
161
161
  "source": "kits/npm-auto-publish.ts",
162
162
  "sourceHash": "682fdd4a",
163
- "targetHash": "84f31b6d"
163
+ "targetHash": "52d15648"
164
164
  }
165
165
  ]
166
166
  }
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 16.1.1 — 2026-11-05
6
+
7
+ ### 🐛 Bug fixes
8
+
9
+ - Fixes the issue that the bin scripts of `nmr`, `release-kit`, and `v11y-check` reported every error other than missing build output as `<bin>: failed to load: <message>` without a stack, which hid where the fault occurred. (#1157)
10
+
11
+ ### ♻️ Refactoring
12
+
13
+ - Moves the CLI entries of `release-kit` and `v11y-check` from `src/bin/` to `src/cli.ts`, matching the layout of `nmr`, and renames the command module previously at `v11y-check`'s `src/cli.ts` to `src/commands.ts`. (#1154)
14
+
5
15
  ## 16.1.0 — 2026-11-03
6
16
 
7
17
  ### 🎉 Features
package/README.md CHANGED
@@ -7,13 +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 — v16.1.0 (2026-11-03)
10
+ ## Release notes — v16.1.1 (2026-11-05)
11
11
 
12
- ### 🎉 Features
12
+ ### 🐛 Bug fixes
13
13
 
14
- - Makes `prepare` and `publish` refuse a release, dry runs included, when a tarball packed from a clean checkout of HEAD lacks a file named by the package's `main`, `types`, `bin`, or `exports`, which keeps a package with missing build output from reaching the registry. (#1147)
15
- - Adds the `devExportConditions` config key, which lists the export conditions that resolve only inside the repo and whose targets the tarball check does not require, in addition to `source`. (#1147)
16
- - Adds a `content` label to the `common` label preset, for consumer-facing material such as copy, images, or displayed data rather than functionality. (#1150)
14
+ - Fixes the issue that the bin scripts of `nmr`, `release-kit`, and `v11y-check` reported every error other than missing build output as `<bin>: failed to load: <message>` without a stack, which hid where the fault occurred. (#1157)
17
15
  <!-- /section:release-notes -->
18
16
 
19
17
  ## Installation
@@ -1,11 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  try {
3
- await import('../dist/esm/bin/release-kit.js');
3
+ await import('../dist/esm/cli.js');
4
4
  } catch (error) {
5
- if (error.code === 'ERR_MODULE_NOT_FOUND') {
5
+ if (error?.code === 'ERR_MODULE_NOT_FOUND') {
6
6
  process.stderr.write('release-kit: build output not found; run `nmr build` first\n');
7
7
  } else {
8
- process.stderr.write(`release-kit: failed to load: ${error.message}\n`);
8
+ const message = typeof error?.message === 'string' && error.message !== '' ? error.message : String(error);
9
+ const lines = typeof error?.stack === 'string' ? error.stack.split('\n') : [];
10
+ const firstFrame = lines.findIndex((line) => /^\s+at /.test(line));
11
+ const frames = firstFrame === -1 ? '' : `${lines.slice(firstFrame).join('\n')}\n`;
12
+ process.stderr.write(`release-kit: internal error: ${message}\n${frames}`);
9
13
  }
10
14
  process.exit(1);
11
15
  }
@@ -1,29 +1,29 @@
1
1
  #!/usr/bin/env node
2
2
  import { parseArgsOrExit, reportError, resolveSelfVersion } from '@williamthorsen/nmr-core';
3
3
  import { describeError } from '@williamthorsen/toolbelt.errors';
4
- import { commitCommand } from "../commitCommand.js";
5
- import { configFlagSchema } from "../configFlagSchema.js";
6
- import { createGithubReleaseCommand } from "../createGithubReleaseCommand.js";
7
- import { enterRepoRoot } from "../enterRepoRoot.js";
8
- import { showInitHelp, showUpdateTemplatesHelp } from "../help/initHelp.js";
9
- import { showOverridesHelp, showOverridesValidateHelp } from "../help/overridesHelp.js";
10
- import { showPrepareHelp } from "../help/prepareHelp.js";
11
- import { showCommitHelp, showCreateGithubReleaseHelp, showPublishHelp, showPushHelp, showShowTagPrefixesHelp, showTagHelp, } from "../help/releaseStepsHelp.js";
12
- import { showSyncLabelsGenerateHelp, showSyncLabelsHelp, showSyncLabelsInitHelp, showSyncLabelsSyncHelp, } from "../help/syncLabelsHelp.js";
13
- import { showUsage } from "../help/usage.js";
14
- import { initCommand } from "../init/initCommand.js";
15
- import { updateTemplatesCommand } from "../init/updateTemplatesCommand.js";
16
- import { prepareCommand } from "../prepareCommand.js";
17
- import { publishCommand } from "../publishCommand.js";
18
- import { pushCommand } from "../pushCommand.js";
19
- import { resolveConfigFlag } from "../resolveConfigFlag.js";
20
- import { resolveStylesOrExit } from "../resolveStylesOrExit.js";
21
- import { showTagPrefixesCommand } from "../showTagPrefixesCommand.js";
22
- import { generateCommand } from "../sync-labels/generateCommand.js";
23
- import { syncLabelsInitCommand } from "../sync-labels/initCommand.js";
24
- import { syncLabelsCommand } from "../sync-labels/syncCommand.js";
25
- import { tagCommand } from "../tagCommand.js";
26
- import { validateOverridesCommand } from "../validateOverridesCommand.js";
4
+ import { commitCommand } from "./commitCommand.js";
5
+ import { configFlagSchema } from "./configFlagSchema.js";
6
+ import { createGithubReleaseCommand } from "./createGithubReleaseCommand.js";
7
+ import { enterRepoRoot } from "./enterRepoRoot.js";
8
+ import { showInitHelp, showUpdateTemplatesHelp } from "./help/initHelp.js";
9
+ import { showOverridesHelp, showOverridesValidateHelp } from "./help/overridesHelp.js";
10
+ import { showPrepareHelp } from "./help/prepareHelp.js";
11
+ import { showCommitHelp, showCreateGithubReleaseHelp, showPublishHelp, showPushHelp, showShowTagPrefixesHelp, showTagHelp, } from "./help/releaseStepsHelp.js";
12
+ import { showSyncLabelsGenerateHelp, showSyncLabelsHelp, showSyncLabelsInitHelp, showSyncLabelsSyncHelp, } from "./help/syncLabelsHelp.js";
13
+ import { showUsage } from "./help/usage.js";
14
+ import { initCommand } from "./init/initCommand.js";
15
+ import { updateTemplatesCommand } from "./init/updateTemplatesCommand.js";
16
+ import { prepareCommand } from "./prepareCommand.js";
17
+ import { publishCommand } from "./publishCommand.js";
18
+ import { pushCommand } from "./pushCommand.js";
19
+ import { resolveConfigFlag } from "./resolveConfigFlag.js";
20
+ import { resolveStylesOrExit } from "./resolveStylesOrExit.js";
21
+ import { showTagPrefixesCommand } from "./showTagPrefixesCommand.js";
22
+ import { generateCommand } from "./sync-labels/generateCommand.js";
23
+ import { syncLabelsInitCommand } from "./sync-labels/initCommand.js";
24
+ import { syncLabelsCommand } from "./sync-labels/syncCommand.js";
25
+ import { tagCommand } from "./tagCommand.js";
26
+ import { validateOverridesCommand } from "./validateOverridesCommand.js";
27
27
  const VERSION = resolveSelfVersion(import.meta.url);
28
28
  function enterRepoRootOrExit() {
29
29
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williamthorsen/release-kit",
3
- "version": "16.1.0",
3
+ "version": "16.1.1",
4
4
  "description": "Version-bumping and changelog-generation toolkit for release workflows",
5
5
  "keywords": [
6
6
  "changelog",
@@ -21,7 +21,7 @@
21
21
  "license": "ISC",
22
22
  "author": "William Thorsen <william@thorsen.dev> (https://github.com/williamthorsen)",
23
23
  "sideEffects": [
24
- "./dist/esm/bin/*.js"
24
+ "./dist/esm/cli.js"
25
25
  ],
26
26
  "type": "module",
27
27
  "exports": {
@@ -52,10 +52,10 @@
52
52
  ],
53
53
  "dependencies": {
54
54
  "@williamthorsen/change-grammar": "0.3.0",
55
- "@williamthorsen/nmr-core": "0.14.0",
55
+ "@williamthorsen/nmr-core": "0.15.0",
56
56
  "@williamthorsen/toolbelt.errors": "0.9.0",
57
57
  "json-stringify-pretty-compact": "4.0.0",
58
- "semver": "7.8.5",
58
+ "semver": "7.8.6",
59
59
  "yaml": "2.9.1",
60
60
  "zod": "4.6.7"
61
61
  },
@@ -66,9 +66,9 @@
66
66
  "@williamthorsen/toolbelt.vitest": "0.13.1",
67
67
  "actionlint": "2.0.6",
68
68
  "esbuild": "0.28.2",
69
- "readyup": "0.44.0",
69
+ "readyup": "0.45.0",
70
70
  "smol-toml": "1.9.1",
71
- "vitest": "5.0.5"
71
+ "vitest": "5.1.0"
72
72
  },
73
73
  "engines": {
74
74
  "node": ">=24.16.0"
File without changes