Skip to content

Commit daec61e

Browse files
committed
fix: correct lightning-fs dependency
1 parent 8a6e39b commit daec61e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

frontend/lib/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ async function ensureGit() {
88
if (!git) {
99
git = await import('isomorphic-git');
1010
http = (await import('isomorphic-git/http/web')).default;
11-
LightningFS = (await import('lightning-fs')).default;
11+
LightningFS = (await import('@isomorphic-git/lightning-fs')).default;
1212
}
1313
}
1414

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"lucide-react": "^0.292.0",
2323
"monaco-editor": "^0.44.0",
2424
"next": "^14.0.0",
25-
"lightning-fs": "^4.5.0",
25+
"@isomorphic-git/lightning-fs": "^4.6.0",
2626
"playwright": "^1.55.0",
2727
"prismjs": "^1.30.0",
2828
"react": "^18.2.0",

frontend/types/git.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
declare module 'isomorphic-git';
22
declare module 'isomorphic-git/http/web';
3-
declare module 'lightning-fs';
3+
declare module '@isomorphic-git/lightning-fs';

0 commit comments

Comments
 (0)