Skip to content

Commit

Permalink
chore: test with node adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Dec 29, 2024
1 parent 28ad49c commit 9abc3cb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
Binary file modified bun.lockb
Binary file not shown.
Binary file modified example/bun.lockb
Binary file not shown.
2 changes: 2 additions & 0 deletions example/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { node } from "@elysiajs/node";
import { swagger } from "@elysiajs/swagger";
import { Elysia } from "elysia";
import { autoload } from "elysia-autoload";
Expand All @@ -6,6 +7,7 @@ const prefix = "/api/" as const;

export const app = new Elysia({
prefix: "/test",
adapter: node(),
})
.use(swagger())
.use(
Expand Down
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,22 @@
},
"files": ["dist"],
"devDependencies": {
"@biomejs/biome": "1.9.2",
"@elysiajs/eden": "^1.1.3",
"@elysiajs/swagger": "^1.1.1",
"@types/bun": "^1.1.9",
"@types/node": "^22.7.4",
"elysia": "^1.1.13",
"@biomejs/biome": "1.9.4",
"@elysiajs/eden": "^1.2.0",
"@elysiajs/swagger": "^1.2.0",
"@types/bun": "^1.1.14",
"@types/node": "^22.10.2",
"elysia": "^1.2.9",
"pkgroll": "2.5.1",
"typescript": "^5.6.2"
"typescript": "^5.7.2"
},
"peerDependencies": {
"elysia": "^1.1.0 || ^1.2.0"
"elysia": "^1.2.0"
},
"engines": {
"node": ">=22"
},
"dependencies": {
"@elysiajs/node": "^1.2.3"
}
}

0 comments on commit 9abc3cb

Please sign in to comment.