A full-featured CRM built with React, shadcn/ui, and Supabase.
fix registry.json
Jean-Baptiste Kaiserb2c9c06707e8
diff --git a/registry.json b/registry.jsonindex 8b0ab312..f0542a62 100644--- a/registry.json+++ b/registry.json@@ -24,7 +24,13 @@"papaparse@^5.5.3","ra-supabase-core@^3.5.1","ra-supabase-language-english@^3.5.0",- "zod@^4.0.5"+ "zod@^4.0.5",+ "@tanstack/query-async-storage-persister@^5.90.22",+ "@tanstack/react-query-persist-client@^5.90.22",+ "dompurify@^3.3.1",+ "marked@^17.0.1",+ "@streamparser/json-whatwg@^0.0.22",+ "mime@^4.1.0"],"files": [{@@ -822,6 +828,10 @@{"path": "src/hooks/simple-form-iterator-context.tsx","type": "registry:hook"+ },+ {+ "path": "src/lib/toSlug.ts",+ "type": "registry:lib"}]}diff --git a/scripts/generate-registry.mjs b/scripts/generate-registry.mjsindex ca4abd87..1f40686b 100755--- a/scripts/generate-registry.mjs+++ b/scripts/generate-registry.mjs@@ -9,6 +9,7 @@ const basePath = "src";const atomicCrmComponentsPath = path.join(basePath, "components", "atomic-crm");const supabaseComponentsPath = path.join(basePath, "components", "supabase");const hooksPath = path.join(basePath, "hooks");+const libPath = path.join(basePath, "lib");const excludedHooks = ["filter-context.tsx",@@ -17,6 +18,14 @@ const excludedHooks = ["useSupportCreateSuggestion.tsx",];+const excludedLibFiles = [+ "field.type.ts",+ "genericMemo.ts",+ "i18nProvider.ts",+ "sanitizeInputRestProps.ts",+ "utils.ts",+];+const testFilePattern = "**/*.{test,spec}.*";const atomicCrmComponents = globSync(@@ -30,6 +39,9 @@ const supabaseComponents = globSync(const hooks = globSync(path.join(hooksPath, "**", "*.ts*")).filter((hook) => {return !excludedHooks.includes(path.basename(hook));});+const libFiles = globSync(path.join(libPath, "**", "*.ts*")).filter((file) => {+ return !excludedLibFiles.includes(path.basename(file));+});const registryContent = JSON.parse(fs.readFileSync(registryPath, "utf-8"));@@ -52,6 +64,12 @@ const files = [type: "registry:hook",};}),+ ...libFiles.map((path) => {+ return {+ path,+ type: "registry:lib",+ };+ }),];const newRegistryContent = {