Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

move back the `CHANGELOG.md` file

erwanMarmelabc43abdaeef77
diff --git a/src/CHANGELOG.md b/CHANGELOG.md
similarity index 100%
rename from src/CHANGELOG.md
rename to CHANGELOG.md
diff --git a/registry.json b/registry.json
index 71b0cacf..a8337a71 100644
--- a/registry.json
+++ b/registry.json
@@ -866,7 +866,7 @@
"type": "registry:lib"
},
{
- "path": "src/CHANGELOG.md",
+ "path": "CHANGELOG.md",
"type": "registry:file",
"target": "~/CHANGELOG.md"
}
diff --git a/scripts/generate-registry.mjs b/scripts/generate-registry.mjs
index ccced34b..fd052a03 100755
--- a/scripts/generate-registry.mjs
+++ b/scripts/generate-registry.mjs
@@ -43,7 +43,7 @@ const hooks = globSync(path.join(hooksPath, "**", "*.ts*")).filter((hook) => {
const libFiles = globSync(path.join(libPath, "**", "*.ts*")).filter((file) => {
return !excludedLibFiles.includes(path.basename(file));
});
-const changelogPath = path.join(basePath, "CHANGELOG.md");
+const changelogPath = "CHANGELOG.md";
const registryContent = JSON.parse(fs.readFileSync(registryPath, "utf-8"));
diff --git a/src/components/atomic-crm/misc/ChangelogPage.tsx b/src/components/atomic-crm/misc/ChangelogPage.tsx
index c95210ad..8f675e3a 100644
--- a/src/components/atomic-crm/misc/ChangelogPage.tsx
+++ b/src/components/atomic-crm/misc/ChangelogPage.tsx
@@ -4,7 +4,7 @@ import { useIsMobile } from "@/hooks/use-mobile";
import { MobileContent } from "../layout/MobileContent";
import MobileHeader from "../layout/MobileHeader";
import { Markdown } from "./Markdown";
-import changelogContent from "../../../CHANGELOG.md?raw";
+import changelogContent from "../../../../CHANGELOG.md?raw";
import { MobileBackButton } from "./MobileBackButton";
export const ChangelogPage = () => {
@@ -17,9 +17,9 @@ export const ChangelogPage = () => {
<MobileHeader>
<MobileBackButton to="/settings" />
<div className="flex flex-1 min-w-0">
- <h1 className="text-xl font-semibold">
+ <h1 className="text-xl font-semibold">
{translate("crm.changelog.title")}
- </h1>
+ </h1>
</div>
</MobileHeader>
<MobileContent>