Get rid of project.json files

This commit is contained in:
Alex Gleason committed 2025-07-30 21:46:31 -05:00
1 parent aba494e6b9
commit 202b61ec2e
3 files changed
+37 -154

No files matched your search

+1 -14
View File
@@ -71,20 +71,7 @@ export function NostrRepos({ className, excludeProjectIds = [], onProjectCloned
value: naddr,
});
// Create project metadata
const now = new Date();
const metadata = {
name: repo.name,
createdAt: now.toISOString(),
lastModified: now.toISOString(),
};
// Save project metadata in .git directory
const gitDir = `${projectPath}/.git`;
await projectsManager.fs.writeFile(
`${gitDir}/project.json`,
JSON.stringify(metadata, null, 2)
);
// No need to create project metadata - using filesystem stats and basename
toast({
title: "Repository cloned",