Skip to content

fix(cli): skip unavailable components for add --all - #11563

Open
meetdhruva wants to merge 1 commit into
shadcn-ui:mainfrom
meetdhruva:fix/add-all-skip-unavailable-style-components
Open

fix(cli): skip unavailable components for add --all#11563
meetdhruva wants to merge 1 commit into
shadcn-ui:mainfrom
meetdhruva:fix/add-all-skip-unavailable-style-components

Conversation

@meetdhruva

Copy link
Copy Markdown

Summary

  • preflight add --all candidates against the configured style
  • skip candidates that return RegistryNotFoundError and warn with their names
  • preserve failures for explicit add <component> calls and all non-404 registry errors
  • add coverage for a global-index item that is missing from the selected style

Closes #11562

Validation

  • pnpm --filter shadcn exec vitest run src/commands/add.test.ts
  • pnpm --filter shadcn typecheck

@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

@meetdhruva is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown
Contributor

Can you sign the commits please? See https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits. Thank you.

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.

[bug]: add --all aborts for components unavailable in the selected style

1 participant