Skip to content

[bug]: shadcn cli - diff command not working #5427

@LenoM

Description

@LenoM

Describe the bug

Run: npx shadcn@latest diff
Produce: No updates found.

OBS: I have changes in the calendar component

Affected component/components

All

How to reproduce

Run: npx shadcn@latest init

Framework: Vite
Style: default
Base Color: Slate
CSS variables: No

Run: npx shadcn@latest add calendar

Change the calendar component

Run: npx shadcn@latest diff

Result: No updates found.

System Info

Node: v22.10.0
npx: v10.8.2
shadcn: v2.1.0

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions