Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

feat: add registry:check drift guard script

dev_wandry28833d51eced
diff --git a/package.json b/package.json
index 70fddd64..880662b1 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,7 @@
"lint": "biome check",
"format": "biome format --write",
"registry:build": "shadcn build",
+ "registry:check": "shadcn build && git diff --quiet -- public/r || (echo 'public/r is out of sync with registry/ sources. Run: bun run registry:build and commit the result.' && exit 1)",
"remotion:browser": "bun scripts/ensure-browser.mts",
"bundle:remotion": "bun scripts/bundle-remotion.mts",
"render:demos": "bun scripts/render-demos.mts",