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

@@ -6251,6 +6251,7 @@ __metadata:
"@radix-ui/react-visually-hidden": "npm:^1.1.0"
"@react-aria/ssr": "npm:^3.9.5"
"@scandic-hotels/design-system": "workspace:*"
"@scandic-hotels/typescript-config": "workspace:*"
"@sentry/nextjs": "npm:^8.41.0"
"@svgr/webpack": "npm:^8.1.0"
"@t3-oss/env-nextjs": "npm:^0.9.2"
@@ -6344,6 +6345,12 @@ __metadata:
languageName: unknown
linkType: soft
"@scandic-hotels/typescript-config@workspace:*, @scandic-hotels/typescript-config@workspace:packages/typescript-config":
version: 0.0.0-use.local
resolution: "@scandic-hotels/typescript-config@workspace:packages/typescript-config"
languageName: unknown
linkType: soft
"@sentry-internal/browser-utils@npm:8.55.0":
version: 8.55.0
resolution: "@sentry-internal/browser-utils@npm:8.55.0"