From 911f8bb192e0e1d330ce75ca39c68915bdf7f1c5 Mon Sep 17 00:00:00 2001 From: leemour Date: Mon, 23 Nov 2026 23:51:05 +0100 Subject: [PATCH 1/2] chore(release): 1.0.0-rc.0 The first release candidate of 1.0, published on npm's next tag. Only package.json and the CHANGELOG heading change. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57b8450..06d2029 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ Versions before 0.8.0 are in the [git tags](https://github.com/WireCatLabs/cli-b Every entry says what changed as a caller sees it, why, and what to watch for — the rules are [`docs/dev/CONVENTIONS.md`](docs/dev/CONVENTIONS.md#the-changelog). -## Unreleased +## 1.0.0-rc.0 — 23.11.2026 ### Added diff --git a/package.json b/package.json index 861dd87..18b06ac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wirecat/cli-base", - "version": "0.132.0", + "version": "1.0.0-rc.0", "description": "The parts every command line tool needs: output modes, terminal rendering, error model, exit codes, credentials, clocks", "license": "Apache-2.0", "author": "Viacheslav Ptsarev", From 12d9d25705792dccecf2dd0509e6e2ce4334ca1c Mon Sep 17 00:00:00 2001 From: leemour Date: Mon, 23 Nov 2026 23:52:47 +0100 Subject: [PATCH 2/2] test(wcat): the --version line accepts a pre-release version With package.json at 1.0.0-rc.0 the regex for a plain x.y.z failed. Co-Authored-By: Claude Opus 5.5 --- src/wcat/dispatch.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wcat/dispatch.test.ts b/src/wcat/dispatch.test.ts index 11eac2a..a7fd5ea 100644 --- a/src/wcat/dispatch.test.ts +++ b/src/wcat/dispatch.test.ts @@ -69,7 +69,7 @@ describe.skipIf(process.platform === "win32")("wcat's own commands", () => { it("prints its version and who runs it, then the list", async () => { expect(await wcat(["--version"])).toBe(0) - expect(out).toMatch(/^wcat \d+\.\d+\.\d+ \(@wirecat\/cli-base, run by wcat-alpha 1\.0\.0\)\n/) + expect(out).toMatch(/^wcat \d+\.\d+\.\d+(-[\w.]+)? \(@wirecat\/cli-base, run by wcat-alpha 1\.0\.0\)\n/) expect(out).toContain("Installed:") })