Skip to content

Commit

Permalink
chore: updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
MathurAditya724 committed Mar 20, 2024
1 parent 547e78c commit 97fe4e1
Show file tree
Hide file tree
Showing 3 changed files with 163 additions and 157 deletions.
10 changes: 8 additions & 2 deletions apps/sandbox/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ app.use(
windowMs: 10_000,
limit: 10,
// store: new RedisStore({
// sendCommand: (...args: string[]) => kv(args),
// sendCommand: (...args: string[]) => kv.eval(...args),
// }),
handler: (_, next) => next(),
}),
Expand All @@ -29,4 +29,10 @@ app.use(
app.get("/", (c) => c.html(<Page info={c.get("rateLimit")} />));

// Serving the app
serve(app);
const port = Number(process.env.PORT) || 3000;
console.log(`Server is running on port ${port}`);

serve({
fetch: app.fetch,
port,
});
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
"dependencies": {
"@hono/node-server": "^1.8.2",
"@vercel/kv": "^1.0.1",
"hono": "^4.1.1"
"hono": "^4.1.2"
},
"devDependencies": {
"@biomejs/biome": "^1.6.1",
"@jscutlery/semver": "^5.2.0",
"@nx/esbuild": "18.1.1",
"@nx/eslint": "18.1.1",
"@nx/eslint-plugin": "18.1.1",
"@nx/js": "18.1.1",
"@nx/node": "18.1.1",
"@nx/vite": "18.1.1",
"@nx/web": "18.1.1",
"@nx/workspace": "18.1.1",
"@nx/esbuild": "18.1.2",
"@nx/eslint": "18.1.2",
"@nx/eslint-plugin": "18.1.2",
"@nx/js": "18.1.2",
"@nx/node": "18.1.2",
"@nx/vite": "18.1.2",
"@nx/web": "18.1.2",
"@nx/workspace": "18.1.2",
"@swc-node/register": "~1.8.0",
"@swc/cli": "~0.1.62",
"@swc/core": "~1.3.85",
Expand All @@ -44,7 +44,7 @@
"is-ci": "^3.0.1",
"lint-staged": "^15.2.2",
"ngx-deploy-npm": "^8.0.1",
"nx": "18.1.1",
"nx": "18.1.2",
"prettier": "^2.6.2",
"supertest": "^6.3.4",
"tslib": "^2.6.2",
Expand Down
Loading

0 comments on commit 97fe4e1

Please sign in to comment.