tpmjs/apps/railway-executor/deno.json
Ajax Davis 8562eb5b38 feat: add Node.js compatibility layer to Railway executor
Add multi-strategy import system to support Node.js packages in Deno:

1. Primary: Use npm: specifier for Node.js compatibility mode
2. Fallback: Use esm.sh with explicit esnext target

This allows packages like ai-sdk-tool-code-execution that depend on
Node.js built-ins (node:sqlite, undici) to work in the Deno runtime.

Also added deno.json with nodeModulesDir and BYONM support.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 15:18:38 +10:00

12 lines
239 B
JSON

{
"compilerOptions": {
"allowJs": true,
"lib": ["deno.window"],
"strict": true
},
"nodeModulesDir": true,
"unstable": ["byonm"],
"imports": {
"zod-to-json-schema": "https://esm.sh/zod-to-json-schema@3.25.0"
}
}