Skip to content

Commit 150f30e

Browse files
authored
refactor(server): Introduce base class and add runtime types (#1)
1 parent fbff7e0 commit 150f30e

File tree

5 files changed

+209
-452
lines changed

5 files changed

+209
-452
lines changed

.replit

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
modules = ["web", "bun-1.2"]
2+
run = "bun test"
3+
4+
[nix]
5+
channel = "stable-25_05"
6+
7+
[deployment]
8+
run = ["sh", "-c", "bun test"]
9+
10+
[[ports]]
11+
localPort = 8080
12+
externalPort = 80

bun.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"devDependencies": {
1010
"@modelcontextprotocol/sdk": "^1.17.3",
1111
"@types/bun": "^1.2.20",
12+
"@types/deno": "^2.3.0",
13+
"@types/node": "^24.3.0",
14+
"@types/open": "^6.2.1",
1215
"mermaid": "^11.9.0",
1316
"prettier": "^3.6.2",
1417
"publint": "^0.3.12",
@@ -275,6 +278,8 @@
275278

276279
"@types/d3-zoom": ["@types/[email protected]", "", { "dependencies": { "@types/d3-interpolate": "*", "@types/d3-selection": "*" } }, "sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw=="],
277280

281+
"@types/deno": ["@types/[email protected]", "", {}, "sha512-/4SyefQpKjwNKGkq9qG3Ln7MazfbWKvydyVFBnXzP5OQA4u1paoFtaOe1iHKycIWHHkhYag0lPxyheThV1ijzw=="],
282+
278283
"@types/estree": ["@types/[email protected]", "", {}, "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w=="],
279284

280285
"@types/geojson": ["@types/[email protected]", "", {}, "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg=="],
@@ -291,6 +296,8 @@
291296

292297
"@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-DRh5K+ka5eJic8CjH7td8QpYEV6Zo10gfRkjHCO3weqZHWDtAaSTFtl4+VMqOJ4N5jcuhZ9/l+yy8rVgw7BQeQ=="],
293298

299+
"@types/open": ["@types/[email protected]", "", { "dependencies": { "open": "*" } }, "sha512-CzV16LToFaKwm1FfplVTF08E3pznw4fQNCQ87N+A1RU00zu/se7npvb6IC9db3/emnSThQ6R8qFKgrei2M4EYQ=="],
300+
294301
"@types/react": ["@types/[email protected]", "", { "dependencies": { "csstype": "^3.0.2" } }, "sha512-EhBeSYX0Y6ye8pNebpKrwFJq7BoQ8J5SO6NlvNwwHjSj6adXJViPQrKlsyPw7hLBLvckEMO1yxeGdR82YBBlDg=="],
295302

296303
"@types/trusted-types": ["@types/[email protected]", "", {}, "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw=="],

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oauth-callback",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Lightweight OAuth 2.0 callback handler for Node.js, Deno, and Bun with built-in browser flow, MCP support, and zero dependencies",
55
"keywords": [
66
"oauth",
@@ -80,6 +80,9 @@
8080
},
8181
"devDependencies": {
8282
"@modelcontextprotocol/sdk": "^1.17.3",
83+
"@types/deno": "^2.3.0",
84+
"@types/node": "^24.3.0",
85+
"@types/open": "^6.2.1",
8386
"@types/bun": "^1.2.20",
8487
"mermaid": "^11.9.0",
8588
"prettier": "^3.6.2",

0 commit comments

Comments
 (0)