fix(config): Remove Bun config file and set deno.json useDefineForClassFields to false for compatibility
This commit is contained in:
13
bunfig.toml
13
bunfig.toml
@@ -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
|
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# 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)
|
## 2025-11-17 - 2.8.0 - feat(runtime-adapters)
|
||||||
Enable TypeScript decorator support for Deno and Bun runtimes and add decorator tests
|
Enable TypeScript decorator support for Deno and Bun runtimes and add decorator tests
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
|
"useDefineForClassFields": false,
|
||||||
"lib": [
|
"lib": [
|
||||||
"ES2022",
|
"ES2022",
|
||||||
"DOM"
|
"DOM"
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tstest',
|
name: '@git.zone/tstest',
|
||||||
version: '2.8.0',
|
version: '2.8.1',
|
||||||
description: 'a test utility to run tests that match test/**/*.ts'
|
description: 'a test utility to run tests that match test/**/*.ts'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user