feat(runtime-adapters): Enable TypeScript decorator support for Deno and Bun runtimes and add decorator tests

This commit is contained in:
2025-11-17 01:21:20 +00:00
parent b94089652e
commit 16ca3b6374
8 changed files with 800 additions and 709 deletions

View File

@@ -69,6 +69,9 @@ export class BunRuntimeAdapter extends RuntimeAdapter {
const args: string[] = ['run'];
// Note: Bun automatically discovers bunfig.toml in the current directory
// This ensures TypeScript decorator support is enabled if bunfig.toml is present
// Add extra args
if (mergedOptions.extraArgs && mergedOptions.extraArgs.length > 0) {
args.push(...mergedOptions.extraArgs);