From e01f9b52b0f67e6871f8a062b8461fa81f30183c Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Thu, 13 Jul 2023 14:28:58 +0800 Subject: [PATCH] config updates --- apps/docs/tsconfig.json | 3 ++- apps/www/tsconfig.json | 3 ++- studio/tsconfig.json | 5 ++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/apps/docs/tsconfig.json b/apps/docs/tsconfig.json index c87a0e51e07..3600bbffffc 100644 --- a/apps/docs/tsconfig.json +++ b/apps/docs/tsconfig.json @@ -4,7 +4,8 @@ "noImplicitAny": false, "baseUrl": ".", "paths": { - "~/*": ["./*"] + "~/*": ["./*"], + "@ui/*": ["./../../packages/ui/src/*"] // handle ui package paths }, "target": "es2015", "lib": ["dom", "dom.iterable", "esnext"], diff --git a/apps/www/tsconfig.json b/apps/www/tsconfig.json index 28b6a8e25ed..a51e09a6086 100644 --- a/apps/www/tsconfig.json +++ b/apps/www/tsconfig.json @@ -2,7 +2,8 @@ "compilerOptions": { "baseUrl": ".", "paths": { - "~/*": ["./*"] + "~/*": ["./*"], + "@ui/*": ["./../../packages/ui/src/*"] // handle ui package paths }, "downlevelIteration": true, "target": "es5", diff --git a/studio/tsconfig.json b/studio/tsconfig.json index 200eb6a9998..66e6b53036d 100644 --- a/studio/tsconfig.json +++ b/studio/tsconfig.json @@ -15,7 +15,10 @@ "jsx": "preserve", "baseUrl": ".", "downlevelIteration": true, - "incremental": true + "incremental": true, + "paths": { + "@ui/*": ["./../packages/ui/src/*"] // handle ui package paths + } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], "exclude": ["node_modules"]