Skip to content

feat!: adopt cli-core 1.0 and cli-base 1.0 - #224

Merged
leemour merged 3 commits into
mainfrom
release/1.0
Nov 25, 2026
Merged

leemour merged 3 commits into
mainfrom
release/1.0

Conversation

@leemour

@leemour leemour commented Nov 25, 2026

Copy link
Copy Markdown
Member

The adoption of cli-core 1.0 and cli-base 1.0 (stable core and experimental parts, store version 73). cli-core parity builds this branch against cli-core 1.0 (cli-core#3288 and its successor), so this draft stays open until cli-core 1.0.0 is on npm. Then the branch moves to the published version and merges, and this CLI releases with the rest in one batch.

Do not merge before cli-core 1.0.0: the store migrates to version 73, which 0.x tools refuse.

🤖 Generated with Claude Code

@socket-security

socket-security Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​wirecat/​cli-base@​0.126.1 ⏵ 1.0.098100100 +196 +170
Updated@​wirecat/​cli-core@​0.722.0 ⏵ 1.0.097100100 +19670

View full report

leemour and others added 3 commits November 25, 2026 11:46
- Bump @wirecat/cli-base to 1.0.0-rc.0.
- Seeds: generated API files import their types from @wirecat/cli-base/codegen/runtime, the
  WordPress seed's spec-model.ts uses ModelOverride, and the GraphQL seed's test takes
  SchemaNode from /codegen/runtime.
- Config seed: a new test that a sync which would mark every post deleted stays held, with
  --rescan too, until --allow-deletions names the count.
- contracts/help.snap lists attio, from cli-core 1.0's catalog of WireCat CLIs; new CLIs
  copy this snapshot.

Checked against the cli-core 1.0 tarball (33d5d69f0): typecheck, lint, deps:check,
docs:check, lint:commands, contracts:check and all 237 tests pass. kit:e2e passes with the
generated CLIs on cli-core 1.0.0-rc.0 (demo, acme-workspace, and the crm, tracker and
wordpress CLIs from a config), with their test timeout raised to 120 s: at the default 15 s,
three crmSyncContract tests timed out on this loaded machine (load average 25-35).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The release/1.0 branch built against a packed cli-core 1.0 tarball while
package.json still named cli-core 0.722.0, so the branch's own CI was red.
Both release candidates are now on npm under the next tag. A new CLI
copies these pins.

- @wirecat/cli-core 1.0.0-rc.0 and @wirecat/cli-base 1.0.0-rc.1, exact
  pins as before; the lockfile follows.
- The shared, graphql and wp-json seeds' scripts/generate.ts drop
  coreImport: cli-base rc.1 defaults it to
  @wirecat/cli-base/codegen/runtime, the value they passed.
- The changelog fragment names cli-core 1.0 and cli-base 1.0 instead of
  the rc.0 build.

Checked locally: typecheck, lint, deps:check, docs:check,
generate:check, contracts:check and kit/test/seeds.test.ts. kit:e2e and
the full suite are left to CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both 1.0.0 releases are on npm under latest, so release/1.0 leaves the
release candidates. A new CLI copies these pins: kit/src/new.ts takes the
root package.json's dependencies, and the kit has no version of its own.
The branch is rebased on main (0.35.0 and the release CI fix).

- @wirecat/cli-core 1.0.0 and @wirecat/cli-base 1.0.0, exact pins as
  before; the lockfile follows with one cli-base copy.
- The changelog fragment names cli-core 1.0.0 and cli-base 1.0.0.

Checked locally: typecheck, kit:typecheck, lint, docs:check, deps:check,
build, generate:check, contracts:check, pnpm peers check,
scripts/one-cli-base.ts, the family audit, scripts/release.test.ts and
kit/test/seeds.test.ts. kit:e2e is left to CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour marked this pull request as ready for review November 25, 2026 11:35
@leemour
leemour merged commit 96ba6de into main Nov 25, 2026
16 checks passed
@leemour
leemour deleted the release/1.0 branch November 25, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant