feat(multienv): Add multi-env templates enabling TypeScript decorators for Bun and Deno; rename npmextra config key to szci

This commit is contained in:
2025-11-17 01:19:40 +00:00
parent 48305ebb6a
commit 9639a64437
5 changed files with 30 additions and 2 deletions

View 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

View File

@@ -0,0 +1,8 @@
{
"compilerOptions": {
"experimentalDecorators": true,
"lib": ["ES2022", "DOM"],
"target": "ES2022"
},
"nodeModulesDir": true
}

View File

@@ -1,5 +1,12 @@
# Changelog # 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) ## 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 Add non-interactive --yes (-y) flag to commit command to auto-accept AI recommendations and optionally push with -p

View File

@@ -1,5 +1,5 @@
{ {
"npmci": { "szci": {
"npmGlobalTools": [], "npmGlobalTools": [],
"npmAccessLevel": "private", "npmAccessLevel": "private",
"npmRegistryUrl": "verdaccio.lossless.one" "npmRegistryUrl": "verdaccio.lossless.one"

View File

@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@git.zone/cli', 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.' 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.'
} }