We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68aa338 commit 6e870c3Copy full SHA for 6e870c3
2 files changed
.changeset/lazy-readers-invent.md
@@ -0,0 +1,5 @@
1
+---
2
+"shadcn": minor
3
4
+
5
+copy registry.json on build
packages/shadcn/src/commands/build.ts
@@ -89,6 +89,12 @@ export const build = new Command()
89
)
90
}
91
92
+ // Copy registry.json to the output directory.
93
+ await fs.copyFile(
94
+ resolvePaths.registryFile,
95
+ path.resolve(resolvePaths.outputDir, "registry.json")
96
+ )
97
98
buildSpinner.succeed("Building registry.")
99
} catch (error) {
100
logger.break()
0 commit comments