Skip to content

fix(deps): require icon version exporting ErrorIcon - #42

Merged
chen-ran merged 1 commit into
mainfrom
codex/fix-icon-error-export
Nov 1, 2026
Merged

chen-ran merged 1 commit into
mainfrom
codex/fix-icon-error-export

Conversation

@chen-ran

@chen-ran chen-ran commented Nov 1, 2026

Copy link
Copy Markdown
Member

Standalone CI installs @memohai/icon 0.20.0 from the lockfile, which does not export the ErrorIcon used by CalloutBanner, FieldError, FormMessage, and FieldStack. This causes four TS2305 errors on main and PR #41; the Memoh workspace link masks the mismatch locally.

Raise the dependency to ^0.21.0 and update only its lockfile entries. The published 0.21.0 package exports ErrorIcon, so standalone installs resolve the API these components require.

Validation:

  • Reproduced all four TS2305 errors on unchanged main in an isolated worktree with registry dependencies.
  • Fixed main: pnpm install --frozen-lockfile and pnpm type-check pass.
  • PR feat: BadgeCount 增加 warning 与 brand 色调 #41 head f24af2b plus this fix: fresh pnpm install --frozen-lockfile and pnpm type-check pass.
  • git diff --check passes.

Local validation used Node 24.14.1 and pnpm 10.33.0. GitHub CI runs Node 22. No visual changes.

@chen-ran
chen-ran merged commit 1c5802f into main Nov 1, 2026
1 check passed
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