Skip to content

Commit

Permalink
cleanup and tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Mudloop committed Nov 8, 2024
1 parent be699b2 commit 7a55bff
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 48 deletions.
Binary file modified backend/bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion backend/netlify/functions/github-auth.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { resolve } from 'path';

const readLocalConfig = (path: string) => {
console.log(path);
return existsSync(path) ? JSON.parse(readFileSync(path)) : undefined;
return existsSync(path) ? JSON.parse(readFileSync(path, 'utf-8')) : undefined;
}

export default async (req: Request, _context: Context) => {
Expand Down
11 changes: 10 additions & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
{ "dependencies": { "@netlify/functions": "^2.8.2", "fs": "^0.0.1-security", "path": "^0.12.7" } }
{
"dependencies": {
"@netlify/functions": "^2.8.2",
"fs": "^0.0.1-security",
"path": "^0.12.7"
},
"devDependencies": {
"@types/bun": "^1.1.12"
}
}
2 changes: 1 addition & 1 deletion backend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
"*": [ "./node_modules/*" ]
}
},
"include": [ "./netlify/functions/**/*.ts" ]
"include": [ "./netlify/functions/**/*.mts" ]
}
10 changes: 5 additions & 5 deletions docs/bundle/js/index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/bundle/js/index.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/bundle/js/lib/lit.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions docs/bundle/js/lib/lit.js

This file was deleted.

24 changes: 0 additions & 24 deletions docs/bundle/js/lib/lit.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions playground/src/libraries/dist/lit.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions playground/src/libraries/lit.ts

This file was deleted.

5 changes: 2 additions & 3 deletions playground/src/state/App.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { generateUniqueId, MagicFS, sanitizePath, VirtualFS, Volume } from "@cmajor-playground/utilities"
import { generateUniqueId, sanitizePath, VirtualFS } from "@cmajor-playground/utilities"
import { Project } from "./Project";
import { ProjectTemplate, ProjectSource, AppConfig, ProjectInfo, ProjectSourceInfo, SourceFile, LanguageDefinition } from "./Types";
import monaco from '@cmajor-playground/bunaco';
import { ProjectTemplate, ProjectSource, AppConfig, ProjectInfo, ProjectSourceInfo, SourceFile } from "./Types";
import { Builder } from "@cmajor-playground/builders";
export class App {
public static vfs: VirtualFS;
Expand Down

0 comments on commit 7a55bff

Please sign in to comment.