mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Get rid of project.json files
This commit is contained in:
3 files changed
+37
-154
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user