fix(repo): prevent integration tests from installing Core 3 packages#7985
fix(repo): prevent integration tests from installing Core 3 packages#7985jacekradko merged 1 commit intorelease/core-2from
Conversation
Remove proxy: npmjs from @clerk/* packages in verdaccio.install.yaml so integration tests only install locally published Core 2 packages instead of resolving higher Core 3 versions from npm.
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/elements
@clerk/clerk-expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/clerk-react
@clerk/react-router
@clerk/remix
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/themes
@clerk/types
@clerk/upgrade
@clerk/vue
commit: |
Summary
proxy: npmjsfrom@clerk/*packages inverdaccio.install.yamlso integration tests only install locally published Core 2 packages instead of resolving higher Core 3 versions from the npm registryContext
After Core 3 was published to npm, the
release/core-2integration tests started failing because:@clerk/backend@2.33.0) to a local Verdaccio registryverdaccio.install.yamlwhich proxies@clerk/*to npmjs.org@clerk/backend— pnpm resolves Core 3 (3.0.1) from npm since it's a higher version than the locally published Core 2 (2.33.0)The fix mirrors what
verdaccio.publish.yamlalready does — no npm proxy for@clerk/*scoped packages. Non-clerk dependencies continue to proxy to npm normally.Test plan