chore(shared): exclude tests from build:declarations#8623
Conversation
🦋 Changeset detectedLatest commit: 3189d74 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.
|
📝 WalkthroughWalkthroughThis PR configures TypeScript declaration generation to exclude test files from the output. A new Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 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: |
Brings
@clerk/sharedin line with every other package. Itsbuild:declarationsscript was runningtsc -p tsconfig.json, which sweeps insrc/__tests__/**understrict: trueand fails on implicitanyin older test files. Nothing in regular CI invokes the script (the published bundle is built bytsdown), so it had been broken without anyone noticing, until a new workflow tried to use it. Adds atsconfig.declarations.jsonthat mirrors the pattern used inpackages/react,packages/clerk-js, etc.