diff --git a/assets/templates/multienv/bunfig.toml b/assets/templates/multienv/bunfig.toml new file mode 100644 index 0000000..5669a07 --- /dev/null +++ b/assets/templates/multienv/bunfig.toml @@ -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 diff --git a/assets/templates/multienv/deno.json b/assets/templates/multienv/deno.json new file mode 100644 index 0000000..7f96d92 --- /dev/null +++ b/assets/templates/multienv/deno.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "experimentalDecorators": true, + "lib": ["ES2022", "DOM"], + "target": "ES2022" + }, + "nodeModulesDir": true +} diff --git a/changelog.md b/changelog.md index 7fa51e5..3c5bf32 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ # Changelog +## 2025-11-17 - 1.21.0 - feat(multienv) +Add multi-env templates enabling TypeScript decorators for Bun and Deno; rename npmextra config key to szci + +- Added assets/templates/multienv/bunfig.toml to enable Bun TypeScript transpiler experimentalDecorators +- Added assets/templates/multienv/deno.json with experimentalDecorators, lib and target set for ES2022 +- Updated npmextra.json: renamed top-level config key from "npmci" to "szci" (keeps npmGlobalTools, npmAccessLevel and npmRegistryUrl unchanged) + ## 2025-11-06 - 1.20.0 - feat(commit) Add non-interactive --yes (-y) flag to commit command to auto-accept AI recommendations and optionally push with -p diff --git a/npmextra.json b/npmextra.json index 9f4016a..c4c57e2 100644 --- a/npmextra.json +++ b/npmextra.json @@ -1,5 +1,5 @@ { - "npmci": { + "szci": { "npmGlobalTools": [], "npmAccessLevel": "private", "npmRegistryUrl": "verdaccio.lossless.one" diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index fc86da0..6e076ba 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/cli', - version: '1.20.0', + version: '1.21.0', description: 'A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.' }