Skip to content

Commit

Permalink
fix: removing unused packages
Browse files Browse the repository at this point in the history
  • Loading branch information
aacevski committed Jan 19, 2025
1 parent 49ba8d1 commit 20a8c66
Show file tree
Hide file tree
Showing 4 changed files with 450 additions and 30 deletions.
2 changes: 2 additions & 0 deletions apps/api/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { cors } from "@elysiajs/cors";
import { Elysia } from "elysia";
import project from "./project";
import task from "./task";
import user from "./user";
import { validateSessionToken } from "./user/controllers/validate-session-token";
import workspace from "./workspace";
Expand Down Expand Up @@ -37,6 +38,7 @@ const app = new Elysia()
})
.use(workspace)
.use(project)
.use(task)
.onError(({ code, error }) => {
switch (code) {
case "VALIDATION":
Expand Down
9 changes: 9 additions & 0 deletions apps/api/src/task/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import Elysia from "elysia";

const task = new Elysia({ prefix: "/task" }).ws("/", {
message(ws, message) {
ws.send(message);
},
});

export default task;
8 changes: 5 additions & 3 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
"@radix-ui/react-label": "^2.1.1",
"@radix-ui/react-slot": "^1.1.1",
"@radix-ui/react-tooltip": "^1.1.6",
"@tanstack/react-query": "^5.64.1",
"@tanstack/react-query-devtools": "^5.64.1",
"@tanstack/react-router": "^1.97.1",
"@tanstack/react-query": "^5.64.2",
"@tanstack/react-query-devtools": "^5.64.2",
"@tanstack/react-router": "^1.97.3",
"@tanstack/router-devtools": "^1.97.3",
"@tanstack/router-plugin": "^1.97.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
Expand Down
Loading

0 comments on commit 20a8c66

Please sign in to comment.