diff --git a/bun.lock b/bun.lock index a077dae..90544b1 100644 --- a/bun.lock +++ b/bun.lock @@ -17,6 +17,7 @@ "@types/cors": "^2.8.19", "@types/express": "^5.0.3", "@types/node": "^24.7.2", + "bun-types": "^1.3.3", "typescript": "^5.9.3", }, }, @@ -56,6 +57,8 @@ "body-parser": ["body-parser@1.20.5", "", { "dependencies": { "bytes": "~3.1.2", "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", "destroy": "~1.2.0", "http-errors": "~2.0.1", "iconv-lite": "~0.4.24", "on-finished": "~2.4.1", "qs": "~6.15.1", "raw-body": "~2.5.3", "type-is": "~1.6.18", "unpipe": "~1.0.0" } }, "sha512-3grm+/2tUOvu2cjJkvsIxrv/wVpfXQW4PsQHYm7yk4vfpu7Ekl6nEsYBoJUL6qDwZUx8wUhQ8tR2qz+ad9c9OA=="], + "bun-types": ["bun-types@1.3.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-4N0ig0fEomHt5R0KCFWjovxow98rIoRwKolrYdCcknNwMekCXRnWEUvgu5soYV8QXtVsrUD8B95MBOZGPvr6KQ=="], + "bytes": ["bytes@3.1.2", "", {}, "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg=="], "call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="], diff --git a/package.json b/package.json index 130f5b8..d606903 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "@types/cors": "^2.8.19", "@types/express": "^5.0.3", "@types/node": "^24.7.2", + "bun-types": "^1.3.3", "typescript": "^5.9.3" } } diff --git a/tsconfig.json b/tsconfig.json index 91bd35e..0c0d6a5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,9 +8,10 @@ "forceConsistentCasingInFileNames": true, "skipLibCheck": true, "noEmit": true, - "rootDir": "src", + "rootDir": ".", "resolveJsonModule": true, - "allowSyntheticDefaultImports": true + "allowSyntheticDefaultImports": true, + "types": ["node", "bun-types"] }, - "include": ["src/**/*.ts"] + "include": ["src/**/*.ts", "tests/**/*.ts"] }