Skip to content

chore: update package dependencies#7

Merged
phev8 merged 1 commit intomainfrom
con-21-c-ui
Mar 6, 2026
Merged

chore: update package dependencies#7
phev8 merged 1 commit intomainfrom
con-21-c-ui

Conversation

@phev8
Copy link
Contributor

@phev8 phev8 commented Mar 6, 2026

No description provided.

@greptile-apps
Copy link

greptile-apps bot commented Mar 6, 2026

Greptile Summary

This PR bumps several package dependencies and normalises Tailwind CSS class ordering across five UI components, likely as a side-effect of running the updated shadcn CLI after its upgrade.

Dependency changes (package.json / pnpm-lock.yaml)

  • Minor/patch bumps: @types/node (25.3.3 → 25.3.5), postcss (8.5.6 → 8.5.8), fumadocs-core/fumadocs-ui (16.6.8 → 16.6.10), lucide-react (0.575.0 → 0.577.0)
  • Major version bump: shadcn 3.8.5 → 4.0.0 — this is a CLI devDependency, but major bumps may carry breaking changes to CLI commands or component scaffolding behaviour; worth confirming the dev workflow (e.g. shadcn add, shadcn diff) still works as expected
  • Transitive updates are consistent and the lock file reflects all changes correctly

Component file changes (alert-dialog.tsx, field.tsx, input.tsx, label.tsx, separator.tsx)

  • All changes are pure Tailwind CSS class reorderings (base utilities first, then responsive/dark/state variants), matching the class-sorting convention that the new shadcn v4 CLI produces
  • No classes were added or removed; the rendered output is functionally identical to before

Confidence Score: 4/5

  • Safe to merge; all runtime-facing component changes are cosmetic and all transitive dependency updates are consistent.
  • The component changes are purely cosmetic Tailwind reorderings with no functional impact, and all minor/patch dependency bumps are low-risk. The one point of caution is the shadcn major version bump (3 → 4) which, while only a devDependency, may silently change CLI behaviour or component scaffolding templates — this should be verified locally before merge.
  • package.json — specifically the shadcn major version bump from ^3.8.5 to ^4.0.0.

Important Files Changed

Filename Overview
package.json Dependency bumps: minor/patch updates for most packages, but shadcn jumps from ^3.8.5 to ^4.0.0 (major version bump) which may carry breaking CLI changes.
pnpm-lock.yaml Lock file updated consistently with package.json dependency changes; all resolved versions match declared specifiers.
components/ui/alert-dialog.tsx Pure Tailwind class reordering for readability (base utilities first, then variants/pseudo-classes); no classes added or removed.
components/ui/field.tsx Tailwind class reordering across all field sub-components and fieldVariants CVA definition; functionally equivalent to the previous version.
components/ui/input.tsx Tailwind class string reorganised to follow base-utilities-first ordering; no functional change.
components/ui/label.tsx Tailwind class reordering only; class set is identical to the previous version.
components/ui/separator.tsx Single-line Tailwind class reorder (bg-border moved after shrink-0); functionally identical.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[package.json / pnpm-lock.yaml] -->|minor/patch bumps| B[fumadocs-core 16.6.10\nfumadocs-ui 16.6.10\nlucide-react 0.577.0\npostcss 8.5.8\n@types/node 25.3.5]
    A -->|MAJOR bump| C[shadcn 4.0.0\nwas 3.8.5]
    C -->|CLI re-run produces\nnew class ordering| D[component files updated]
    D --> E[alert-dialog.tsx\nTailwind class reorder only]
    D --> F[field.tsx\nTailwind class reorder only]
    D --> G[input.tsx\nTailwind class reorder only]
    D --> H[label.tsx\nTailwind class reorder only]
    D --> I[separator.tsx\nTailwind class reorder only]
    style C fill:#ffe0b2,stroke:#e65100
Loading

Last reviewed commit: c2e37f6

@phev8 phev8 merged commit 592e246 into main Mar 6, 2026
3 checks passed
@phev8 phev8 deleted the con-21-c-ui branch March 6, 2026 20:32
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