chore(frontend): migrate to the renamed @base-ui/react package - #149
Merged
Conversation
`@base-ui-components/react` is deprecated on npm ("Package was renamed to
@base-ui/react") and frozen at 1.0.0-rc.0. The Nebari design system registry
already moved to `@base-ui/react`, so consumers pulling components from it were
importing a package the registry no longer targets.
Swap the dependency for `@base-ui/react` ^1.6.0 and update the five import
specifiers. No API changes were required: build, all 40 tests, and biome check
pass unchanged.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@base-ui-components/reactis deprecated on npm — "Package was renamed to@base-ui/react" — and frozen at1.0.0-rc.0. The Nebari design system registry already migrated, so every component we pull from@nebariis authored against@base-ui/react.This swaps
frontend's dependency to@base-ui/react^1.6.0 and updates the five import specifiers.Changes
package.json:@base-ui-components/react@^1.0.0-rc.0→@base-ui/react@^1.6.0ui/button.tsx,ui/badge.tsx,ui/dialog.tsx,ui/input.tsx,ui/select.tsxNo API changes were needed — the rename is source-compatible for the primitives this app uses (
useRender,Dialog,Input,Select).Verification
npm run build— cleannpm test— 7 files, 40 tests passingnpm run check(biome) — clean🤖 Generated with Claude Code