BREAKING CHANGE(tsconfig): Remove experimentalDecorators and useDefineForClassFields from tsconfig.json
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-11-17 - 2.0.0 - BREAKING CHANGE(tsconfig)
|
||||||
|
Remove experimentalDecorators and useDefineForClassFields from tsconfig.json
|
||||||
|
|
||||||
|
- tsconfig.json: removed compilerOptions.experimentalDecorators — decorator support is no longer enabled by default. Projects using decorators must enable experimentalDecorators in their own tsconfig.
|
||||||
|
- tsconfig.json: removed compilerOptions.useDefineForClassFields — class field emit will follow TypeScript defaults, which may change runtime semantics for some classes.
|
||||||
|
- This may break consumers relying on the previous compiler options; bumping the major version to reflect the potential breaking change.
|
||||||
|
|
||||||
## 2025-10-17 - 1.6.2 - fix(ts/index)
|
## 2025-10-17 - 1.6.2 - fix(ts/index)
|
||||||
Use cli.js as the spawned CLI entry point instead of cli.child.js
|
Use cli.js as the spawned CLI entry point instead of cli.child.js
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsrun',
|
name: '@git.zone/tsrun',
|
||||||
version: '1.6.2',
|
version: '2.0.0',
|
||||||
description: 'run typescript programs efficiently'
|
description: 'run typescript programs efficiently'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"experimentalDecorators": true,
|
|
||||||
"useDefineForClassFields": false,
|
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"module": "NodeNext",
|
"module": "NodeNext",
|
||||||
"moduleResolution": "NodeNext",
|
"moduleResolution": "NodeNext",
|
||||||
|
|||||||
Reference in New Issue
Block a user