Skip to content

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

Draft
leemour wants to merge 5 commits into
mainfrom
release/1.0
Draft

leemour wants to merge 5 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

- Bump @wirecat/cli-base to 1.0.0-rc.0.
- Generated API files import their types from @wirecat/cli-base/codegen/runtime, and
  scripts/spec-model.ts takes ModelOverride from there.
- Document the held sync: docs/commands.md lists --allow-deletions <count>, docs/usage.md
  explains when a sync is held and how to let it through.
- New test: a sync that would mark every post deleted stays held, with --rescan too, until
  --allow-deletions names the count.

The new test and the --allow-deletions docs need cli-core 1.0; cli-core stays at 0.718.0
until 1.0 is on npm, so that test fails against 0.718.0. Checked against the 1.0 tarball:
typecheck, lint, docs check and all 405 tests pass (with a longer test timeout on a loaded
machine).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@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.718.0 ⏵ 1.0.097100100 +19670

View full report

leemour and others added 4 commits November 25, 2026 04:36
The release/1.0 branch built against a packed cli-core 1.0 tarball while
package.json still named cli-core 0.718.0, so the branch's own CI was red.
Both release candidates are now on npm under the next tag.

- @wirecat/cli-core 1.0.0-rc.0 and @wirecat/cli-base 1.0.0-rc.1, exact
  pins as before; the lockfile follows.
- scripts/generate.ts drops coreImport: cli-base rc.1 defaults it to
  @wirecat/cli-base/codegen/runtime, the value it passed. generate.ts
  --check shows no change in the generated files.
- The changelog fragment names cli-core 1.0 and cli-base 1.0 instead of
  the rc.0 build.

Checked locally: typecheck, lint, docs:check, build, commands.md and the
manifest check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cli-core 1.0.0-rc.0 adds attio to the "Works with" list in --help, so
contracts:check failed on the help snapshot in CI. The snapshot now
matches dist/bin/wordpress.js --help.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cli-core 1.0.0-rc.0 adds --allow-deletions to the shared content sync,
so test:matrix:check found the matrix one option short in CI. The new
row and counts are the ones CI generated.

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. main is already in release/1.0, so no rebase.

- @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, lint, docs:check, build, generate:check,
contracts:check, pnpm peers check, scripts/one-cli-base.ts and the
family audit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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