Cache project template to VFS for faster clones

This commit is contained in:
Alex Gleason committed 2025-11-23 10:42:07 -06:00
1 parent 3050e93555
commit 4f73d99f64
16 files changed
+324 -49

No files matched your search

+3 -3
View File
@@ -11,11 +11,11 @@ import { useGit } from './useGit';
export function useProjectsManager() {
const { fs } = useFS();
const { git } = useGit();
const { projectsPath } = useFSPaths();
const { projectsPath, templatesPath } = useFSPaths();
const projectsManager = useMemo(() => {
return new ProjectsManager({ fs, git, projectsPath });
}, [fs, git, projectsPath]);
return new ProjectsManager({ fs, git, projectsPath, templatesPath });
}, [fs, git, projectsPath, templatesPath]);
return projectsManager;
}