Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
waghanza committed Dec 16, 2024
1 parent f502a82 commit d59f2fa
Show file tree
Hide file tree
Showing 8 changed files with 1,996 additions and 1,340 deletions.
3,312 changes: 1,987 additions & 1,325 deletions data.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data.min.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion javascript/chubbyts-uwebsockets/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
import {
createResponseToUwebsocketsEmitter,
createUwebsocketsToServerRequestFactory,
} from "@chubbyts/chubbyts-uwebsockets-http-bridge/dist/uwebsocket-http";
} from "@chubbyts/chubbyts-http-uwebsockets-bridge/dist/uwebsocket-http";
import { App, HttpRequest, HttpResponse } from "uWebSockets.js";

const responseFactory = createResponseFactory();
Expand Down
2 changes: 1 addition & 1 deletion javascript/chubbyts-uwebsockets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"@chubbyts/chubbyts-framework": "~1.9.0",
"@chubbyts/chubbyts-framework-router-path-to-regexp": "*",
"@chubbyts/chubbyts-http": "*",
"@chubbyts/chubbyts-uwebsockets-http-bridge": "*",
"@chubbyts/chubbyts-http-uwebsockets-bridge": "*",
"@types/node": "22"
}
}
4 changes: 2 additions & 2 deletions javascript/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ language:
deps:
- npm
bootstrap:
- npm --location=global install pm2
command: nohup pm2-runtime start "deno run --allow-net --allow-read=. --allow-env app.ts" -i max
- deno install
command: deno run --allow-net --allow-read=. --allow-env app.ts
happyx:
bootstrap:
- npm install
Expand Down
4 changes: 2 additions & 2 deletions javascript/oak-deno/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ route.get("/user/:id", (ctx) => {
ctx.response.body = ctx.params.id
})

route.get("/user", (ctx) => {
route.post("/user", (ctx) => {
ctx.response.body = ''
})

app.use(route.routes());

app.listen({ port: 3000 });
app.listen({ port: 3000 });
3 changes: 2 additions & 1 deletion javascript/oak-deno/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"imports": {
"@oak/oak": "jsr:@oak/oak@^17.1.3"
"@oak/oak": "jsr:@oak/oak@^17.1.3",
"oak": "npm:oak@^9.0.0"
}
}
7 changes: 0 additions & 7 deletions javascript/oak-deno/package.json

This file was deleted.

0 comments on commit d59f2fa

Please sign in to comment.