Skip to content

Commit 7121ff3

Browse files
authored
chore(deps): update shadcn CLI from @canary to @latest (#68)
The shadcn CLI has now shipped Tailwind v4 as `@latest`. This PR updates the shadcn command used to install components to be: ```shell shadcn@latest add --silent --yes {...shadcnComponents} ``` instead of: ```shell shadcn@canary add --silent --yes {...shadcnComponents} ```
1 parent d2e9655 commit 7121ff3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/create-app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ export async function createApp(
487487
)
488488
await environment.execute(
489489
'npx',
490-
['shadcn@canary', 'add', '--silent', '--yes', ...shadcnComponents],
490+
['shadcn@latest', 'add', '--silent', '--yes', ...shadcnComponents],
491491
resolve(targetDir),
492492
)
493493
s?.stop(`Installed additional shadcn components`)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Shadcn
22

3-
Add components using the canary version of [Shadcn](https://ui.shadcn.com/).
3+
Add components using the latest version of [Shadcn](https://ui.shadcn.com/).
44

55
```bash
6-
pnpx shadcn@canary add button
6+
pnpx shadcn@latest add button
77
```
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# shadcn instructions
22

3-
Use the canary version of Shadcn to install new components, like this command to add a button component:
3+
Use the latest version of Shadcn to install new components, like this command to add a button component:
44

55
```bash
6-
pnpx shadcn@canary add button
6+
pnpx shadcn@latest add button
77
```

0 commit comments

Comments
 (0)