From 3c10e16984b5fb18bcda69fd34bde4a847fd019f Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Thu, 12 Oct 2023 18:01:41 +0300 Subject: [PATCH] feat: cache the component library and allow declaration movement (#51909) Co-authored-by: Oliver Eyton-Williams --- .eslintignore | 2 +- tools/ui-components/.gitignore | 2 +- tools/ui-components/tsconfig.json | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.eslintignore b/.eslintignore index 618c1279ba1..d10da7605ea 100644 --- a/.eslintignore +++ b/.eslintignore @@ -10,5 +10,5 @@ shared/config/superblocks.js web/** docs/**/*.md tools/ui-components/dist/** -playwright.config.ts tools/ui-components/types/** +playwright.config.ts diff --git a/tools/ui-components/.gitignore b/tools/ui-components/.gitignore index f7232374e1c..e01cc793dce 100644 --- a/tools/ui-components/.gitignore +++ b/tools/ui-components/.gitignore @@ -1,2 +1,2 @@ types/ -dist/ +dist/ \ No newline at end of file diff --git a/tools/ui-components/tsconfig.json b/tools/ui-components/tsconfig.json index f4a6f84e4b8..a5f945a6ad4 100644 --- a/tools/ui-components/tsconfig.json +++ b/tools/ui-components/tsconfig.json @@ -10,7 +10,9 @@ "strict": true, "emitDeclarationOnly": true, "declaration": true, - "declarationDir": "types" + "declarationDir": "types", + // can be removed, when we move the components into its own repo. + "declarationMap": true }, "exclude": ["node_modules", "dist", "types"], "ts-node": {