build(deps): migrated from @types/node to @types/bun for Bun runtime compatibility
- Migrated from @types/node to @types/bun across all packages to align with Bun runtime. - Removed @types/node and bun-types from root and package-specific devDependencies. - Updated tsconfig.base.json to remove 'node' from types array and 'DOM.AsyncIterable' from lib, keeping only Bun-compatible configurations. - Simplified ReadableStream type annotation in openai-codex-stream.test.ts by removing explicit Uint8Array generic parameter.
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@
|
||||
"compilerOptions": {
|
||||
"target": "ES2024",
|
||||
"module": "ESNext",
|
||||
"lib": ["ES2024", "DOM.AsyncIterable"],
|
||||
"lib": ["ES2024"],
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
@@ -19,7 +19,7 @@
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"useDefineForClassFields": false,
|
||||
"types": ["bun", "node", "assets"],
|
||||
"types": ["bun", "assets"],
|
||||
"typeRoots": ["./types", "./node_modules/@types"],
|
||||
"paths": {
|
||||
"@oh-my-pi/pi-ai": ["./packages/ai/src/index.ts"],
|
||||
|
||||
Reference in New Issue
Block a user