Skip to content

chore: upgrade all dependencies, migrate to pnpm, and update shadcn/ui to Base UI#32

Merged
AbianS merged 2 commits into
mainfrom
chore/upgrade-dependencies-and-migrate-to-pnpm
Apr 12, 2026
Merged

chore: upgrade all dependencies, migrate to pnpm, and update shadcn/ui to Base UI#32
AbianS merged 2 commits into
mainfrom
chore/upgrade-dependencies-and-migrate-to-pnpm

Conversation

@AbianS

@AbianS AbianS commented Apr 12, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Chores
    • Migrated package manager from npm to pnpm and updated CI/release workflows for faster installs and caching.
    • Upgraded core dependencies (Tauri, React, TypeScript, tooling) for improved stability and performance.
  • Style / UI
    • Switched animation and UI primitives, refreshing component visuals and interactions across the app.
    • Updated global theme, fonts, and layout variables for more consistent styling.
  • Config
    • Simplified build/config settings and linting/tooling configs.

@coderabbitai

coderabbitai Bot commented Apr 12, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 329fd160-c34b-4d58-bd70-dec0b7b7636c

📥 Commits

Reviewing files that changed from the base of the PR and between 0de18bc and 4ebaa35.

📒 Files selected for processing (3)
  • .github/workflows/ci.yml
  • .github/workflows/release.yml
  • package.json

Walkthrough

Large-scale UI primitive migration from Radix to Base UI across many components, switched CI and project scripts from npm to pnpm, updated numerous dependencies (frontend, Tauri, Rust), migrated motion imports to motion/react, introduced shared cn util, and adjusted CSS/theme and TypeScript/Vite configs.

Changes

Cohort / File(s) Summary
CI Workflows
.github/workflows/ci.yml, .github/workflows/release.yml
Replaced npm steps with pnpm setup/commands and pnpm caching; adjusted release tag pattern, quoting, and upgraded GitHub cache action.
Package & Dependency Manifests
package.json, src-tauri/Cargo.toml, biome.json, components.json
Added packageManager: "pnpm@10.33.0", swapped UI deps, bumped many JS/Rust dependency versions, updated Biome schema and components.json UI settings.
Tauri Config
src-tauri/tauri.conf.json
Changed build lifecycle commands from npm to pnpm.
Build / Tooling Config
tsconfig.json, tsconfig.node.json, vite.config.ts
Removed baseUrl, restricted TS types to node, and renamed Vite rollupOptionsrolldownOptions.
Global Styles
src/App.css
Added shadcn/tailwind and Geist font imports, set font variables and additional radius/theme variables, applied html font baseline.
Motion Import Updates
src/pages/create-container/components/DatabaseSelectionForm.tsx, src/pages/create-container/components/Stepper.tsx, src/pages/create-container/steps/database-selection-step.tsx, src/pages/create-container/steps/review-step.tsx
Replaced framer-motion imports with motion/react for animation usage.
Accordion Usage
src/pages/create-container/steps/container-configuration-step.tsx, src/pages/edit-container/components/EditContainerForm.tsx
Changed Accordion prop from type="multiple" to boolean multiple.
Tooltip / Edit Container UI
src/pages/edit-container/EditContainerPage.tsx, src/pages/edit-container/components/ContainerHeader.tsx
Replaced TooltipTrigger asChild compositions with render prop patterns; removed delayDuration usage on some tooltips.
Utilities
src/shared/utils/utils.ts
Added exported cn(...inputs) util using clsx + tailwind-merge.
Core UI Primitives: Radix → Base UI
src/shared/components/ui/* (many files: accordion.tsx, alert.tsx, badge.tsx, button.tsx, card.tsx, checkbox.tsx, dialog.tsx, dropdown-menu.tsx, form.tsx, input.tsx, label.tsx, progress.tsx, select.tsx, separator.tsx, sheet.tsx, switch.tsx, tabs.tsx, tooltip.tsx)
Systematic migration from @radix-ui/* primitives to @base-ui/* primitives: updated imports, prop typings, component APIs (render/useRender patterns replacing asChild/Slot), new/changed props (size, showCloseButton, orientation, variant, etc.), reorganized subcomponents and export orders, and adapted Tailwind classes/selectors to Base UI data attributes.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~70 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title clearly and concisely summarizes the three main changes: dependency upgrades, npm-to-pnpm migration, and UI component library migration from shadcn/ui to Base UI, matching the extensive changeset across workflows, dependencies, and component implementations.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/upgrade-dependencies-and-migrate-to-pnpm

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@AbianS
AbianS merged commit ebc4e2c into main Apr 12, 2026
2 checks passed
@AbianS
AbianS deleted the chore/upgrade-dependencies-and-migrate-to-pnpm branch April 12, 2026 18:26
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