Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7fb571d4f6 | |||
| 6b32dced5a | |||
| df39aa48d0 | |||
| a4863bc761 |
15
changelog.md
15
changelog.md
@@ -1,5 +1,20 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-11-17 - 2.7.3 - fix(tsbuild.classes)
|
||||||
|
Remove duplicate emitDecoratorMetadata from default compiler options and centralize it in protected defaults
|
||||||
|
|
||||||
|
- Removed emitDecoratorMetadata from compilerOptionsDefault in ts/tsbuild.classes.tsbuild.ts to avoid duplicate configuration.
|
||||||
|
- emitDecoratorMetadata remains enforced via getCriticalDefaults(), ensuring decorator metadata support is protected from tsconfig.json overrides.
|
||||||
|
- Prevents inconsistencies during compiler option merging by centralizing the decorator-related setting.
|
||||||
|
|
||||||
|
## 2025-11-17 - 2.7.2 - fix(compilerOptions)
|
||||||
|
Remove experimentalDecorators and useDefineForClassFields from default TypeScript compiler options
|
||||||
|
|
||||||
|
- Removed experimentalDecorators from compilerOptionsDefault in ts/tsbuild.classes.tsbuild.ts
|
||||||
|
- Removed useDefineForClassFields from compilerOptionsDefault in ts/tsbuild.classes.tsbuild.ts
|
||||||
|
- Default compiler options now rely on TypeScript's upstream defaults for decorator and class field behavior
|
||||||
|
- If your project relies on these settings, re-enable them in your tsconfig.json or pass them via the programmatic API / CLI
|
||||||
|
|
||||||
## 2025-11-02 - 2.7.1 - fix(readme)
|
## 2025-11-02 - 2.7.1 - fix(readme)
|
||||||
Update documentation: expand README with usage, CLI and API examples; add readme.hints.md project memory
|
Update documentation: expand README with usage, CLI and API examples; add readme.hints.md project memory
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@git.zone/tsbuild",
|
"name": "@git.zone/tsbuild",
|
||||||
"version": "2.7.1",
|
"version": "2.7.3",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "A tool for compiling TypeScript files using the latest nightly features, offering flexible APIs and a CLI for streamlined development.",
|
"description": "A tool for compiling TypeScript files using the latest nightly features, offering flexible APIs and a CLI for streamlined development.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsbuild',
|
name: '@git.zone/tsbuild',
|
||||||
version: '2.7.1',
|
version: '2.7.3',
|
||||||
description: 'A tool for compiling TypeScript files using the latest nightly features, offering flexible APIs and a CLI for streamlined development.'
|
description: 'A tool for compiling TypeScript files using the latest nightly features, offering flexible APIs and a CLI for streamlined development.'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,8 +18,6 @@ export interface IErrorSummary {
|
|||||||
*/
|
*/
|
||||||
export const compilerOptionsDefault: CompilerOptions = {
|
export const compilerOptionsDefault: CompilerOptions = {
|
||||||
declaration: true,
|
declaration: true,
|
||||||
emitDecoratorMetadata: true,
|
|
||||||
experimentalDecorators: true,
|
|
||||||
inlineSourceMap: true,
|
inlineSourceMap: true,
|
||||||
noEmitOnError: true,
|
noEmitOnError: true,
|
||||||
outDir: 'dist_ts/',
|
outDir: 'dist_ts/',
|
||||||
@@ -29,7 +27,6 @@ export const compilerOptionsDefault: CompilerOptions = {
|
|||||||
lib: ['lib.dom.d.ts', 'lib.es2022.d.ts'],
|
lib: ['lib.dom.d.ts', 'lib.es2022.d.ts'],
|
||||||
noImplicitAny: false, // Allow implicit any by default
|
noImplicitAny: false, // Allow implicit any by default
|
||||||
esModuleInterop: true,
|
esModuleInterop: true,
|
||||||
useDefineForClassFields: false,
|
|
||||||
verbatimModuleSyntax: true,
|
verbatimModuleSyntax: true,
|
||||||
baseUrl: './',
|
baseUrl: './',
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user