From 973ce771d2d8cc66aa8637a635d8f698f1d2a11c Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Mon, 17 Nov 2025 01:52:00 +0000 Subject: [PATCH] fix(config): Remove Bun config file and set deno.json useDefineForClassFields to false for compatibility --- bunfig.toml | 13 ------------- changelog.md | 6 ++++++ deno.json | 1 + ts/00_commitinfo_data.ts | 2 +- 4 files changed, 8 insertions(+), 14 deletions(-) delete mode 100644 bunfig.toml diff --git a/bunfig.toml b/bunfig.toml deleted file mode 100644 index 5669a07..0000000 --- a/bunfig.toml +++ /dev/null @@ -1,13 +0,0 @@ -# Bun configuration for tstest -# This enables TypeScript decorator support in Bun runtime - -[build] -target = "bun" - -[test] -preload = [] - -# Enable decorators for Bun's TypeScript transpiler -# This ensures user code with decorators works when executed via Bun -[transpiler] -experimentalDecorators = true diff --git a/changelog.md b/changelog.md index 7b94b63..7aa093b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2025-11-17 - 2.8.1 - fix(config) +Remove Bun config file and set deno.json useDefineForClassFields to false for compatibility + +- Removed bunfig.toml (Bun-specific TypeScript decorator configuration) — stops shipping a project-local Bun transpiler config. +- Updated deno.json: set compilerOptions.useDefineForClassFields = false to keep legacy class field semantics and avoid runtime/emit incompatibilities in Deno. + ## 2025-11-17 - 2.8.0 - feat(runtime-adapters) Enable TypeScript decorator support for Deno and Bun runtimes and add decorator tests diff --git a/deno.json b/deno.json index bcd90e4..18418e8 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,7 @@ { "compilerOptions": { "experimentalDecorators": true, + "useDefineForClassFields": false, "lib": [ "ES2022", "DOM" diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index b6e5e05..024851c 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/tstest', - version: '2.8.0', + version: '2.8.1', description: 'a test utility to run tests that match test/**/*.ts' }