Moves upgradeWebSocket, connectWebSocket, and WebSocketConnection out of @webnet/http into a new @webnet/websocket package. The new package depends on @webnet/http (for ServerRequest/Response and client connection types) and @webnet/transport (for RawTransport/RawDialer); the reverse dependency no longer exists so @webnet/http consumers who don't need WebSocket pay nothing for it. Sub-exports ./server and ./client mirror the previous @webnet/http/websocket structure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
477 B
JSON
21 lines
477 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"verbatimModuleSyntax": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"lib": ["ES2022"],
|
|
"types": ["node"],
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"inlineSourceMap": true,
|
|
"inlineSources": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["src/**/*.test.ts", "src/test-helpers"]
|
|
}
|