chore(ui): add tsc-based build:declarations task#8627
Conversation
Matches the convention used by @clerk/shared (which also ships with tsdown). Produces declaration-only output via tsc against a dedicated tsconfig so other tooling (snapi) can build types without rerunning the full tsdown pipeline.
🦋 Changeset detectedLatest commit: 524f813 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR establishes a TypeScript declarations build pipeline for the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
Adds a declarations-only tsc emit for
@clerk/ui, mirroring what@clerk/sharedalready does.tsconfig.declarations.jsonextends ui's existing tsconfig withemitDeclarationOnly: trueand the standard test/spec excludes, andbuild:declarationsrunstsc -p tsconfig.declarations.json.Pulled out of #8621 so the snapi watcher there can start filtering on
@clerk/uiwithout the baseline worktree having to materialize the script itself.