Skip to content

Commit

Permalink
fix: add schema.json to components.json
Browse files Browse the repository at this point in the history
  • Loading branch information
shadcn committed Jun 22, 2023
1 parent 16b4e05 commit 0f8ea1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export async function promptForConfig(
])

const config = rawConfigSchema.parse({
$schema: "https://ui.shadcn.com/schema.json",
style: options.style,
tailwind: {
config: options.tailwindConfig,
Expand Down
1 change: 1 addition & 0 deletions templates/next-template/components.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"tailwind": {
"config": "tailwind.config.js",
Expand Down

0 comments on commit 0f8ea1a

Please sign in to comment.