t3-oss / create-t3-turbo

Clean and simple starter repo using the T3 Stack along with Expo React Native
https://turbo.t3.gg
MIT License
4.73k stars 408 forks source link

version conflict: update shadcn cli usage #1178

Closed dmetelin closed 2 months ago

dmetelin commented 2 months ago

Provide environment information

System: OS: macOS 14.5 CPU: (8) arm64 Apple M1 Memory: 457.36 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 21.6.2 - /usr/local/bin/node Yarn: 1.22.22 - /usr/local/bin/yarn npm: 10.8.1 - /usr/local/bin/npm pnpm: 9.9.0 - /opt/homebrew/bin/pnpm Watchman: 2024.07.15.00 - /opt/homebrew/bin/watchman

Describe the bug

Update pnpm ui-add to use the new shadcn cli: https://ui.shadcn.com/docs/cli

pnpm dlx shadcn-ui add && prettier src --write --list-different

│
│  ENOENT  Command failed with ENOENT: shadcn-ui add
│ spawn shadcn-ui ENOENT

Change to:

pnpm dlx shadcn add && prettier src --write --list-different

Link to reproduction

https://ui.shadcn.com/docs/cli

To reproduce

Update shadcn to the latest version. Run pnpm ui-add

Additional information

No response

Bashamega commented 2 months ago

I would like to work on this

Bashamega commented 2 months ago

Should i create a pr?