feat(build): Add tsconfig.json for TypeScript configuration

This commit is contained in:
Philipp Kunz 2025-01-14 03:28:25 +01:00
parent 1e0ee5ad50
commit 4cb52e8eef
3 changed files with 21 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# Changelog # Changelog
## 2025-01-14 - 1.1.0 - feat(build)
Add tsconfig.json for TypeScript configuration
- Introduced tsconfig.json with configurations targeting ES2022 and using NodeNext for module system.
- Enabled experimental decorators and verbatim module syntax in TypeScript config.
## 2025-01-14 - 1.0.19 - fix(core) ## 2025-01-14 - 1.0.19 - fix(core)
Upgraded dependencies and fixed test export issue Upgraded dependencies and fixed test export issue

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@consent.software/webclient', name: '@consent.software/webclient',
version: '1.0.19', version: '1.1.0',
description: 'a webclient for using consent.software in your website. Works with vanilla js, angular, react, you name it.' description: 'a webclient for using consent.software in your website. Works with vanilla js, angular, react, you name it.'
} }

14
tsconfig.json Normal file
View File

@ -0,0 +1,14 @@
{
"compilerOptions": {
"experimentalDecorators": true,
"useDefineForClassFields": false,
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"verbatimModuleSyntax": true
},
"exclude": [
"dist_*/**/*.d.ts"
]
}