feat(multienv): Add multi-env templates enabling TypeScript decorators for Bun and Deno; rename npmextra config key to szci
This commit is contained in:
13
assets/templates/multienv/bunfig.toml
Normal file
13
assets/templates/multienv/bunfig.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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
|
||||
8
assets/templates/multienv/deno.json
Normal file
8
assets/templates/multienv/deno.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"experimentalDecorators": true,
|
||||
"lib": ["ES2022", "DOM"],
|
||||
"target": "ES2022"
|
||||
},
|
||||
"nodeModulesDir": true
|
||||
}
|
||||
Reference in New Issue
Block a user