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
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"npmci": {
|
"szci": {
|
||||||
"npmGlobalTools": [],
|
"npmGlobalTools": [],
|
||||||
"npmAccessLevel": "private",
|
"npmAccessLevel": "private",
|
||||||
"npmRegistryUrl": "verdaccio.lossless.one"
|
"npmRegistryUrl": "verdaccio.lossless.one"
|
||||||
|
|||||||
@@ -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.'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user