Merged in feat/shared-ts-config (pull request #1610)

Add typescript-config package with shared configs

* Move web config to shared

* Move design-system ts config to typescript-config package

* Move redis-api tsconfig to typescript-config package

* Sort tsconfig keys

* Update react-library tsconfig

Move declaration and declarationMap from base
Add sourceMap

This fixes Go-to-Definition, debugging and similar in packages/apps where it is consumed

* Update base config module and moduleResolution


Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
This commit is contained in:
Anton Gunnarsson
2025-03-28 07:07:24 +00:00
parent 45c992dcef
commit b535b53901
10 changed files with 73 additions and 61 deletions

View File

@@ -0,0 +1,12 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "./base.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"incremental": true,
"jsx": "preserve",
"noEmit": true,
"plugins": [{ "name": "next" }]
}
}