Compare commits

...

1 Commits

Author SHA1 Message Date
abeatrix 93e0bd7564 chore(tsconfig): normalize path aliases and exclude stories
- Remove deprecated `baseUrl` field and use explicit `./src`-based paths
- Align alias paths in root and webview tsconfigs for consistency
- Exclude Storybook stories and decorator from webview app build
2025-11-21 09:57:36 -08:00
2 changed files with 18 additions and 16 deletions
+10 -11
View File
@@ -22,37 +22,36 @@
"target": "es2022",
"useDefineForClassFields": true,
"useUnknownInCatchVariables": false,
"baseUrl": ".",
"paths": {
"@/*": [
"src/*"
"./src/*"
],
"@api/*": [
"src/core/api/*"
"./src/core/api/*"
],
"@core/*": [
"src/core/*"
"./src/core/*"
],
"@generated/*": [
"src/generated/*"
"./src/generated/*"
],
"@hosts/*": [
"src/hosts/*"
"./src/hosts/*"
],
"@integrations/*": [
"src/integrations/*"
"./src/integrations/*"
],
"@packages/*": [
"src/packages/*"
"./src/packages/*"
],
"@services/*": [
"src/services/*"
"./src/services/*"
],
"@shared/*": [
"src/shared/*"
"./src/shared/*"
],
"@utils/*": [
"src/utils/*"
"./src/utils/*"
]
}
},
+8 -5
View File
@@ -29,26 +29,29 @@
"noUncheckedSideEffectImports": true,
/* Aliasing */
"baseUrl": ".",
"paths": {
"@/*": [
"src/*"
"./src/*"
],
"@components/*": [
"src/components/*"
"./src/components/*"
],
"@context/*": [
"src/context/*"
"./src/context/*"
],
"@shared/*": [
"../src/shared/*"
],
"@utils/*": [
"src/utils/*"
"./src/utils/*"
]
}
},
"include": [
"src"
],
"exclude": [
"src/**/*.stories.*",
"src/config/StorybookDecorator.tsx"
]
}