mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Cache project template to VFS for faster clones
This commit is contained in:
16 files changed
+324
-49
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user