Skip to content

Migrate all JS files in to TS #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "api",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"build": "tsc",
Expand Down
4 changes: 0 additions & 4 deletions api/src/index.js

This file was deleted.

2 changes: 1 addition & 1 deletion api/src/spawner-docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export async function loadOrCreateContainer(
image,
name,
network,
Env: String[] = []
Env: string[] = []
) {
console.log("loading container", name);
let ip = await loadContainer(name, network);
Expand Down
7 changes: 0 additions & 7 deletions api/src/test_kernel.js

This file was deleted.

2 changes: 2 additions & 0 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
"stompjs": "^2.3.3",
"typescript": "^4.4.2",
"web-vitals": "^2.1.0",
"xterm": "^5.0.0",
"xterm-addon-fit": "^0.6.0",
"zustand": "^4.1.3"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Login from "./pages/login";
import Signup from "./pages/signup";
import Profile from "./pages/profile";

import { AuthProvider } from "./lib/auth.js";
import { AuthProvider } from "./lib/auth";
import { Header, Footer } from "./components/Header";

import Box from "@mui/material/Box";
Expand Down
Loading