Skip to content

Conversation

@boracomet
Copy link

Summary
This PR includes two focused improvements:

Stabilizes integration test execution by ensuring the shadcn CLI is built before test commands run (when index.js is missing).
Fixes a Next.js lint warning by replacing next/script beforeInteractive usage in DarkModeScript with a native <script> tag.
Changes
Added a build guard in test helpers to auto-build CLI on demand.
Added a helper-level test to verify CLI execution via --version.
Updated dark mode forwarding script implementation to remove @next/next/no-before-interactive-script-outside-document warning.
Validation
helpers.test.ts
pnpm --filter=tests typecheck
pnpm --filter=shadcn test
pnpm lint

Bora Ata Türkoğlu and others added 3 commits February 8, 2026 04:34
@vercel
Copy link
Contributor

vercel bot commented Feb 8, 2026

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

A member of the Team first needs to authorize it.

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