From 13e6437bb75c205135a977e6b9b4af760003ec8a Mon Sep 17 00:00:00 2001 From: Slizhevsky Vladislav Date: Fri, 24 Jul 2026 11:55:38 +0200 Subject: [PATCH 1/5] [chore] refactor ts linting --- .gitignore | 3 + package.json | 4 +- semcore/accordion/.npmignore | 3 +- semcore/accordion/tsconfig.json | 2 +- semcore/add-filter/.npmignore | 1 + semcore/add-filter/tsconfig.json | 2 +- semcore/badge/.npmignore | 1 + semcore/badge/tsconfig.json | 2 +- semcore/base-components/.npmignore | 3 +- semcore/base-components/tsconfig.json | 2 +- semcore/base-trigger/.npmignore | 1 + semcore/base-trigger/tsconfig.json | 2 +- semcore/breadcrumbs/.npmignore | 3 +- semcore/breadcrumbs/tsconfig.json | 2 +- semcore/bulk-textarea/.npmignore | 1 + semcore/bulk-textarea/tsconfig.json | 2 +- semcore/button/.npmignore | 1 + semcore/button/tsconfig.json | 2 +- semcore/card/.npmignore | 3 +- semcore/card/tsconfig.json | 2 +- semcore/carousel/.npmignore | 1 + semcore/carousel/tsconfig.json | 2 +- semcore/checkbox/.npmignore | 1 + semcore/checkbox/tsconfig.json | 2 +- semcore/color-picker/.npmignore | 2 + semcore/color-picker/tsconfig.json | 2 +- semcore/core/.npmignore | 3 +- semcore/core/tsconfig-utils.json | 2 +- semcore/core/tsconfig.json | 5 +- semcore/counter/.npmignore | 3 +- semcore/counter/tsconfig.json | 2 +- semcore/d3-chart/.npmignore | 1 + semcore/d3-chart/tsconfig.json | 2 +- semcore/data-table/.npmignore | 1 + semcore/data-table/tsconfig.json | 2 +- semcore/date-picker/.npmignore | 1 + semcore/date-picker/tsconfig.json | 2 +- semcore/divider/.npmignore | 1 + semcore/divider/tsconfig.json | 2 +- semcore/dot/.npmignore | 1 + semcore/dot/tsconfig.json | 2 +- semcore/drag-and-drop/.npmignore | 3 +- semcore/drag-and-drop/tsconfig.json | 2 +- semcore/dropdown-menu/.npmignore | 1 + semcore/dropdown-menu/tsconfig.json | 2 +- semcore/dropdown/.npmignore | 1 + semcore/dropdown/tsconfig.json | 2 +- semcore/ellipsis/.npmignore | 4 +- semcore/ellipsis/tsconfig.json | 2 +- semcore/errors/.npmignore | 1 + semcore/errors/tsconfig.json | 2 +- semcore/feature-highlight/.npmignore | 3 +- semcore/feature-highlight/tsconfig.json | 2 +- semcore/feature-popover/.npmignore | 1 + semcore/feature-popover/tsconfig.json | 2 +- semcore/feedback-form/.npmignore | 1 + semcore/feedback-form/tsconfig.json | 2 +- semcore/flags/.npmignore | 1 + semcore/flags/tsconfig.json | 2 +- semcore/fullscreen-modal/.npmignore | 1 + semcore/fullscreen-modal/tsconfig.json | 2 +- semcore/icon/.npmignore | 1 + semcore/icon/tsconfig.json | 2 +- semcore/illustration/.npmignore | 1 + semcore/inline-edit/.npmignore | 3 +- semcore/inline-edit/tsconfig.json | 2 +- semcore/inline-input/.npmignore | 3 +- semcore/inline-input/tsconfig.json | 2 +- semcore/input-mask/.npmignore | 3 +- semcore/input-mask/tsconfig.json | 2 +- semcore/input-number/.npmignore | 1 + semcore/input-number/tsconfig.json | 2 +- semcore/input-tags/.npmignore | 3 +- semcore/input-tags/tsconfig.json | 2 +- semcore/input/.npmignore | 3 +- semcore/input/tsconfig.json | 2 +- semcore/link/.npmignore | 1 + semcore/link/tsconfig.json | 2 +- semcore/mini-chart/.npmignore | 3 +- semcore/mini-chart/tsconfig.json | 2 +- semcore/modal/.npmignore | 3 +- semcore/modal/tsconfig.json | 2 +- semcore/notice-bubble/.npmignore | 1 + semcore/notice-bubble/tsconfig.json | 2 +- semcore/notice/.npmignore | 1 + semcore/notice/tsconfig.json | 2 +- semcore/pagination/.npmignore | 3 +- semcore/pagination/tsconfig.json | 2 +- semcore/pills/.npmignore | 3 +- semcore/pills/tsconfig.json | 2 +- semcore/product-head/.npmignore | 3 +- semcore/product-head/tsconfig.json | 2 +- semcore/progress-bar/.npmignore | 1 + semcore/progress-bar/tsconfig.json | 2 +- semcore/radio/.npmignore | 1 + semcore/radio/tsconfig.json | 2 +- semcore/select/.npmignore | 1 + semcore/select/tsconfig.json | 2 +- semcore/side-panel/.npmignore | 1 + semcore/side-panel/tsconfig.json | 2 +- semcore/skeleton/.npmignore | 3 +- semcore/skeleton/tsconfig.json | 2 +- semcore/slider/.npmignore | 1 + semcore/slider/tsconfig.json | 2 +- semcore/spin-container/.npmignore | 1 + semcore/spin-container/tsconfig.json | 2 +- semcore/spin/.npmignore | 1 + semcore/spin/tsconfig.json | 2 +- semcore/switch/.npmignore | 1 + semcore/switch/tsconfig.json | 2 +- semcore/tab-line/.npmignore | 3 +- semcore/tab-line/tsconfig.json | 2 +- semcore/tab-panel/.npmignore | 3 +- semcore/tab-panel/tsconfig.json | 2 +- semcore/tag/.npmignore | 1 + semcore/tag/tsconfig.json | 2 +- semcore/textarea/.npmignore | 1 + semcore/textarea/tsconfig.json | 2 +- semcore/time-picker/.npmignore | 1 + semcore/time-picker/tsconfig.json | 2 +- semcore/tooltip/.npmignore | 1 + semcore/tooltip/tsconfig.json | 2 +- semcore/tsconfig.json | 202 ++++++++++++++++++ semcore/typography/.npmignore | 1 + semcore/typography/tsconfig.json | 2 +- semcore/ui/.npmignore | 1 + semcore/ui/tsconfig.json | 2 +- semcore/widget-empty/.npmignore | 1 + semcore/widget-empty/tsconfig.json | 2 +- semcore/wizard/.npmignore | 4 +- semcore/wizard/tsconfig.json | 2 +- .../babel-plugin-react-semcore/tsconfig.json | 4 - tools/babel-plugin-root/tsconfig.json | 7 - tools/babel-plugin-styles/tsconfig.json | 7 - tools/babel-preset-ui/tsconfig.json | 7 - tools/builder/bin/index.ts | 4 + tools/continuous-delivery/tsconfig.json | 3 - tsconfig.base.json | 20 ++ tsconfig.json | 36 +--- 139 files changed, 398 insertions(+), 143 deletions(-) create mode 100644 semcore/tsconfig.json delete mode 100644 tools/babel-plugin-react-semcore/tsconfig.json delete mode 100644 tools/babel-plugin-root/tsconfig.json delete mode 100644 tools/babel-plugin-styles/tsconfig.json delete mode 100644 tools/babel-preset-ui/tsconfig.json create mode 100644 tsconfig.base.json diff --git a/.gitignore b/.gitignore index ff193c4677..61118bc957 100644 --- a/.gitignore +++ b/.gitignore @@ -81,3 +81,6 @@ allure-report storybook-static *storybook.log + +# TS +**/*.tsbuildinfo diff --git a/package.json b/package.json index 2ef55a6a2e..7e96bc3a67 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,9 @@ "clean:illustration": "pnpm --filter @semcore/illustration run clean", "format": "biome format ./semcore ./tools ./website ./stories ./.ci --config-path . --write", "lint:es": "npx eslint", - "lint:ts": "tsc --noEmit && cd website && tsc --noEmit", + "lint:ts": "pnpm lint:ts:semcore && pnpm lint:ts:website && tsc --noEmit", + "lint:ts:semcore": "tsc -b semcore --emitDeclarationOnly --verbose", + "lint:ts:website": "cd website && tsc --noEmit", "lint:css": "stylelint **/*.css", "lint:docs": "vale README.md CONTRIBUTING.md semcore/*/README.md semcore/*/CHANGELOG.md tools/*/README.md tools/*/CHANGELOG.md website/docs", "prepare": "husky install", diff --git a/semcore/accordion/.npmignore b/semcore/accordion/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/accordion/.npmignore +++ b/semcore/accordion/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/accordion/tsconfig.json b/semcore/accordion/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/accordion/tsconfig.json +++ b/semcore/accordion/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/add-filter/.npmignore b/semcore/add-filter/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/add-filter/.npmignore +++ b/semcore/add-filter/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/add-filter/tsconfig.json b/semcore/add-filter/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/add-filter/tsconfig.json +++ b/semcore/add-filter/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/badge/.npmignore b/semcore/badge/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/badge/.npmignore +++ b/semcore/badge/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/badge/tsconfig.json b/semcore/badge/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/badge/tsconfig.json +++ b/semcore/badge/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/base-components/.npmignore b/semcore/base-components/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/base-components/.npmignore +++ b/semcore/base-components/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/base-components/tsconfig.json b/semcore/base-components/tsconfig.json index a551c16819..3daf0e528f 100644 --- a/semcore/base-components/tsconfig.json +++ b/semcore/base-components/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "compilerOptions": { "rootDir": "./src" }, diff --git a/semcore/base-trigger/.npmignore b/semcore/base-trigger/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/base-trigger/.npmignore +++ b/semcore/base-trigger/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/base-trigger/tsconfig.json b/semcore/base-trigger/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/base-trigger/tsconfig.json +++ b/semcore/base-trigger/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/breadcrumbs/.npmignore b/semcore/breadcrumbs/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/breadcrumbs/.npmignore +++ b/semcore/breadcrumbs/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/breadcrumbs/tsconfig.json b/semcore/breadcrumbs/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/breadcrumbs/tsconfig.json +++ b/semcore/breadcrumbs/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/bulk-textarea/.npmignore b/semcore/bulk-textarea/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/bulk-textarea/.npmignore +++ b/semcore/bulk-textarea/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/bulk-textarea/tsconfig.json b/semcore/bulk-textarea/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/bulk-textarea/tsconfig.json +++ b/semcore/bulk-textarea/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/button/.npmignore b/semcore/button/.npmignore index 8e53be538d..48c803f7d9 100644 --- a/semcore/button/.npmignore +++ b/semcore/button/.npmignore @@ -4,3 +4,4 @@ coverage __tests__ .publishrc tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/button/tsconfig.json b/semcore/button/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/button/tsconfig.json +++ b/semcore/button/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/card/.npmignore b/semcore/card/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/card/.npmignore +++ b/semcore/card/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/card/tsconfig.json b/semcore/card/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/card/tsconfig.json +++ b/semcore/card/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/carousel/.npmignore b/semcore/carousel/.npmignore index 8e53be538d..48c803f7d9 100644 --- a/semcore/carousel/.npmignore +++ b/semcore/carousel/.npmignore @@ -4,3 +4,4 @@ coverage __tests__ .publishrc tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/carousel/tsconfig.json b/semcore/carousel/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/carousel/tsconfig.json +++ b/semcore/carousel/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/checkbox/.npmignore b/semcore/checkbox/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/checkbox/.npmignore +++ b/semcore/checkbox/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/checkbox/tsconfig.json b/semcore/checkbox/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/checkbox/tsconfig.json +++ b/semcore/checkbox/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/color-picker/.npmignore b/semcore/color-picker/.npmignore index 4bcb641629..7e7abcc098 100644 --- a/semcore/color-picker/.npmignore +++ b/semcore/color-picker/.npmignore @@ -4,3 +4,5 @@ coverage __tests__ .publishrc src +tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/color-picker/tsconfig.json b/semcore/color-picker/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/color-picker/tsconfig.json +++ b/semcore/color-picker/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/core/.npmignore b/semcore/core/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/core/.npmignore +++ b/semcore/core/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/core/tsconfig-utils.json b/semcore/core/tsconfig-utils.json index 17c2930c49..84ea93a0ad 100644 --- a/semcore/core/tsconfig-utils.json +++ b/semcore/core/tsconfig-utils.json @@ -1,4 +1,4 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/utils", "src/decorators", "../../tools/theme/src"] } diff --git a/semcore/core/tsconfig.json b/semcore/core/tsconfig.json index a551c16819..32338c47ed 100644 --- a/semcore/core/tsconfig.json +++ b/semcore/core/tsconfig.json @@ -1,7 +1,8 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "compilerOptions": { - "rootDir": "./src" + "rootDir": "./src", + "outDir": "${configDir}/lib" }, "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"] } diff --git a/semcore/counter/.npmignore b/semcore/counter/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/counter/.npmignore +++ b/semcore/counter/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/counter/tsconfig.json b/semcore/counter/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/counter/tsconfig.json +++ b/semcore/counter/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/d3-chart/.npmignore b/semcore/d3-chart/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/d3-chart/.npmignore +++ b/semcore/d3-chart/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/d3-chart/tsconfig.json b/semcore/d3-chart/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/d3-chart/tsconfig.json +++ b/semcore/d3-chart/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/data-table/.npmignore b/semcore/data-table/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/data-table/.npmignore +++ b/semcore/data-table/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/data-table/tsconfig.json b/semcore/data-table/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/data-table/tsconfig.json +++ b/semcore/data-table/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/date-picker/.npmignore b/semcore/date-picker/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/date-picker/.npmignore +++ b/semcore/date-picker/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/date-picker/tsconfig.json b/semcore/date-picker/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/date-picker/tsconfig.json +++ b/semcore/date-picker/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/divider/.npmignore b/semcore/divider/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/divider/.npmignore +++ b/semcore/divider/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/divider/tsconfig.json b/semcore/divider/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/divider/tsconfig.json +++ b/semcore/divider/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/dot/.npmignore b/semcore/dot/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/dot/.npmignore +++ b/semcore/dot/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/dot/tsconfig.json b/semcore/dot/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/dot/tsconfig.json +++ b/semcore/dot/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/drag-and-drop/.npmignore b/semcore/drag-and-drop/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/drag-and-drop/.npmignore +++ b/semcore/drag-and-drop/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/drag-and-drop/tsconfig.json b/semcore/drag-and-drop/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/drag-and-drop/tsconfig.json +++ b/semcore/drag-and-drop/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/dropdown-menu/.npmignore b/semcore/dropdown-menu/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/dropdown-menu/.npmignore +++ b/semcore/dropdown-menu/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/dropdown-menu/tsconfig.json b/semcore/dropdown-menu/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/dropdown-menu/tsconfig.json +++ b/semcore/dropdown-menu/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/dropdown/.npmignore b/semcore/dropdown/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/dropdown/.npmignore +++ b/semcore/dropdown/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/dropdown/tsconfig.json b/semcore/dropdown/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/dropdown/tsconfig.json +++ b/semcore/dropdown/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/ellipsis/.npmignore b/semcore/ellipsis/.npmignore index f346cab7f9..939251ac4a 100644 --- a/semcore/ellipsis/.npmignore +++ b/semcore/ellipsis/.npmignore @@ -3,4 +3,6 @@ node_modules coverage __tests__ .publishrc -src \ No newline at end of file +src +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/ellipsis/tsconfig.json b/semcore/ellipsis/tsconfig.json index 9a6274de6f..543f7ee479 100644 --- a/semcore/ellipsis/tsconfig.json +++ b/semcore/ellipsis/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/errors/.npmignore b/semcore/errors/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/errors/.npmignore +++ b/semcore/errors/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/errors/tsconfig.json b/semcore/errors/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/errors/tsconfig.json +++ b/semcore/errors/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/feature-highlight/.npmignore b/semcore/feature-highlight/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/feature-highlight/.npmignore +++ b/semcore/feature-highlight/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/feature-highlight/tsconfig.json b/semcore/feature-highlight/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/feature-highlight/tsconfig.json +++ b/semcore/feature-highlight/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/feature-popover/.npmignore b/semcore/feature-popover/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/feature-popover/.npmignore +++ b/semcore/feature-popover/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/feature-popover/tsconfig.json b/semcore/feature-popover/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/feature-popover/tsconfig.json +++ b/semcore/feature-popover/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/feedback-form/.npmignore b/semcore/feedback-form/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/feedback-form/.npmignore +++ b/semcore/feedback-form/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/feedback-form/tsconfig.json b/semcore/feedback-form/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/feedback-form/tsconfig.json +++ b/semcore/feedback-form/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/flags/.npmignore b/semcore/flags/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/flags/.npmignore +++ b/semcore/flags/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/flags/tsconfig.json b/semcore/flags/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/flags/tsconfig.json +++ b/semcore/flags/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/fullscreen-modal/.npmignore b/semcore/fullscreen-modal/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/fullscreen-modal/.npmignore +++ b/semcore/fullscreen-modal/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/fullscreen-modal/tsconfig.json b/semcore/fullscreen-modal/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/fullscreen-modal/tsconfig.json +++ b/semcore/fullscreen-modal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/icon/.npmignore b/semcore/icon/.npmignore index ef494160bd..172976d9b1 100644 --- a/semcore/icon/.npmignore +++ b/semcore/icon/.npmignore @@ -3,4 +3,5 @@ __tests__ src transform-svg-icon.ts tsconfig.json +tsconfig.tsbuildinfo vite.config.ts diff --git a/semcore/icon/tsconfig.json b/semcore/icon/tsconfig.json index a551c16819..3daf0e528f 100644 --- a/semcore/icon/tsconfig.json +++ b/semcore/icon/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "compilerOptions": { "rootDir": "./src" }, diff --git a/semcore/illustration/.npmignore b/semcore/illustration/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/illustration/.npmignore +++ b/semcore/illustration/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/inline-edit/.npmignore b/semcore/inline-edit/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/inline-edit/.npmignore +++ b/semcore/inline-edit/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/inline-edit/tsconfig.json b/semcore/inline-edit/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/inline-edit/tsconfig.json +++ b/semcore/inline-edit/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/inline-input/.npmignore b/semcore/inline-input/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/inline-input/.npmignore +++ b/semcore/inline-input/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/inline-input/tsconfig.json b/semcore/inline-input/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/inline-input/tsconfig.json +++ b/semcore/inline-input/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/input-mask/.npmignore b/semcore/input-mask/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/input-mask/.npmignore +++ b/semcore/input-mask/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/input-mask/tsconfig.json b/semcore/input-mask/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/input-mask/tsconfig.json +++ b/semcore/input-mask/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/input-number/.npmignore b/semcore/input-number/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/input-number/.npmignore +++ b/semcore/input-number/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/input-number/tsconfig.json b/semcore/input-number/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/input-number/tsconfig.json +++ b/semcore/input-number/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/input-tags/.npmignore b/semcore/input-tags/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/input-tags/.npmignore +++ b/semcore/input-tags/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/input-tags/tsconfig.json b/semcore/input-tags/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/input-tags/tsconfig.json +++ b/semcore/input-tags/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/input/.npmignore b/semcore/input/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/input/.npmignore +++ b/semcore/input/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/input/tsconfig.json b/semcore/input/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/input/tsconfig.json +++ b/semcore/input/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/link/.npmignore b/semcore/link/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/link/.npmignore +++ b/semcore/link/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/link/tsconfig.json b/semcore/link/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/link/tsconfig.json +++ b/semcore/link/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/mini-chart/.npmignore b/semcore/mini-chart/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/mini-chart/.npmignore +++ b/semcore/mini-chart/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/mini-chart/tsconfig.json b/semcore/mini-chart/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/mini-chart/tsconfig.json +++ b/semcore/mini-chart/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/modal/.npmignore b/semcore/modal/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/modal/.npmignore +++ b/semcore/modal/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/modal/tsconfig.json b/semcore/modal/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/modal/tsconfig.json +++ b/semcore/modal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/notice-bubble/.npmignore b/semcore/notice-bubble/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/notice-bubble/.npmignore +++ b/semcore/notice-bubble/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/notice-bubble/tsconfig.json b/semcore/notice-bubble/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/notice-bubble/tsconfig.json +++ b/semcore/notice-bubble/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/notice/.npmignore b/semcore/notice/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/notice/.npmignore +++ b/semcore/notice/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/notice/tsconfig.json b/semcore/notice/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/notice/tsconfig.json +++ b/semcore/notice/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/pagination/.npmignore b/semcore/pagination/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/pagination/.npmignore +++ b/semcore/pagination/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/pagination/tsconfig.json b/semcore/pagination/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/pagination/tsconfig.json +++ b/semcore/pagination/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/pills/.npmignore b/semcore/pills/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/pills/.npmignore +++ b/semcore/pills/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/pills/tsconfig.json b/semcore/pills/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/pills/tsconfig.json +++ b/semcore/pills/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/product-head/.npmignore b/semcore/product-head/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/product-head/.npmignore +++ b/semcore/product-head/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/product-head/tsconfig.json b/semcore/product-head/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/product-head/tsconfig.json +++ b/semcore/product-head/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/progress-bar/.npmignore b/semcore/progress-bar/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/progress-bar/.npmignore +++ b/semcore/progress-bar/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/progress-bar/tsconfig.json b/semcore/progress-bar/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/progress-bar/tsconfig.json +++ b/semcore/progress-bar/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/radio/.npmignore b/semcore/radio/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/radio/.npmignore +++ b/semcore/radio/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/radio/tsconfig.json b/semcore/radio/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/radio/tsconfig.json +++ b/semcore/radio/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/select/.npmignore b/semcore/select/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/select/.npmignore +++ b/semcore/select/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/select/tsconfig.json b/semcore/select/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/select/tsconfig.json +++ b/semcore/select/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/side-panel/.npmignore b/semcore/side-panel/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/side-panel/.npmignore +++ b/semcore/side-panel/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/side-panel/tsconfig.json b/semcore/side-panel/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/side-panel/tsconfig.json +++ b/semcore/side-panel/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/skeleton/.npmignore b/semcore/skeleton/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/skeleton/.npmignore +++ b/semcore/skeleton/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/skeleton/tsconfig.json b/semcore/skeleton/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/skeleton/tsconfig.json +++ b/semcore/skeleton/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/slider/.npmignore b/semcore/slider/.npmignore index 8e53be538d..48c803f7d9 100644 --- a/semcore/slider/.npmignore +++ b/semcore/slider/.npmignore @@ -4,3 +4,4 @@ coverage __tests__ .publishrc tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/slider/tsconfig.json b/semcore/slider/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/slider/tsconfig.json +++ b/semcore/slider/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/spin-container/.npmignore b/semcore/spin-container/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/spin-container/.npmignore +++ b/semcore/spin-container/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/spin-container/tsconfig.json b/semcore/spin-container/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/spin-container/tsconfig.json +++ b/semcore/spin-container/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/spin/.npmignore b/semcore/spin/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/spin/.npmignore +++ b/semcore/spin/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/spin/tsconfig.json b/semcore/spin/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/spin/tsconfig.json +++ b/semcore/spin/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/switch/.npmignore b/semcore/switch/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/switch/.npmignore +++ b/semcore/switch/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/switch/tsconfig.json b/semcore/switch/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/switch/tsconfig.json +++ b/semcore/switch/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/tab-line/.npmignore b/semcore/tab-line/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/tab-line/.npmignore +++ b/semcore/tab-line/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/tab-line/tsconfig.json b/semcore/tab-line/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/tab-line/tsconfig.json +++ b/semcore/tab-line/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/tab-panel/.npmignore b/semcore/tab-panel/.npmignore index 229b5c941a..0d8f506aa2 100644 --- a/semcore/tab-panel/.npmignore +++ b/semcore/tab-panel/.npmignore @@ -1,4 +1,5 @@ node_modules __tests__ src -tsconfig.json \ No newline at end of file +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/tab-panel/tsconfig.json b/semcore/tab-panel/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/tab-panel/tsconfig.json +++ b/semcore/tab-panel/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/tag/.npmignore b/semcore/tag/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/tag/.npmignore +++ b/semcore/tag/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/tag/tsconfig.json b/semcore/tag/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/tag/tsconfig.json +++ b/semcore/tag/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/textarea/.npmignore b/semcore/textarea/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/textarea/.npmignore +++ b/semcore/textarea/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/textarea/tsconfig.json b/semcore/textarea/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/textarea/tsconfig.json +++ b/semcore/textarea/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/time-picker/.npmignore b/semcore/time-picker/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/time-picker/.npmignore +++ b/semcore/time-picker/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/time-picker/tsconfig.json b/semcore/time-picker/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/time-picker/tsconfig.json +++ b/semcore/time-picker/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/tooltip/.npmignore b/semcore/tooltip/.npmignore index e314fbca9e..9617755b62 100644 --- a/semcore/tooltip/.npmignore +++ b/semcore/tooltip/.npmignore @@ -2,4 +2,5 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo __stories diff --git a/semcore/tooltip/tsconfig.json b/semcore/tooltip/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/tooltip/tsconfig.json +++ b/semcore/tooltip/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/tsconfig.json b/semcore/tsconfig.json new file mode 100644 index 0000000000..30f04e9343 --- /dev/null +++ b/semcore/tsconfig.json @@ -0,0 +1,202 @@ +{ + "extends": "../tsconfig.base.json", + "compilerOptions": { + "composite": true, + "incremental": true, + + "outDir": "${configDir}/lib/types", + "tsBuildInfoFile": "${configDir}/tsconfig.tsbuildinfo" + }, + "files": [], + "references": [ + { + "path": "./accordion" + }, + { + "path": "./add-filter" + }, + { + "path": "./badge" + }, + { + "path": "./base-components" + }, + { + "path": "./base-trigger" + }, + { + "path": "./breadcrumbs" + }, + { + "path": "./bulk-textarea" + }, + { + "path": "./button" + }, + { + "path": "./card" + }, + { + "path": "./carousel" + }, + { + "path": "./checkbox" + }, + { + "path": "./color-picker" + }, + { + "path": "./core" + }, + { + "path": "./counter" + }, + { + "path": "./d3-chart" + }, + { + "path": "./data-table" + }, + { + "path": "./date-picker" + }, + { + "path": "./divider" + }, + { + "path": "./dot" + }, + { + "path": "./drag-and-drop" + }, + { + "path": "./dropdown" + }, + { + "path": "./dropdown-menu" + }, + { + "path": "./ellipsis" + }, + { + "path": "./errors" + }, + { + "path": "./feature-highlight" + }, + { + "path": "./feature-popover" + }, + { + "path": "./feedback-form" + }, + { + "path": "./flags" + }, + { + "path": "./fullscreen-modal" + }, + { + "path": "./icon" + }, + { + "path": "./inline-edit" + }, + { + "path": "./inline-input" + }, + { + "path": "./input" + }, + { + "path": "./input-mask" + }, + { + "path": "./input-number" + }, + { + "path": "./input-tags" + }, + { + "path": "./link" + }, + { + "path": "./mini-chart" + }, + { + "path": "./modal" + }, + { + "path": "./notice" + }, + { + "path": "./notice-bubble" + }, + { + "path": "./pagination" + }, + { + "path": "./pills" + }, + { + "path": "./product-head" + }, + { + "path": "./progress-bar" + }, + { + "path": "./radio" + }, + { + "path": "./select" + }, + { + "path": "./side-panel" + }, + { + "path": "./skeleton" + }, + { + "path": "./slider" + }, + { + "path": "./spin" + }, + { + "path": "./spin-container" + }, + { + "path": "./switch" + }, + { + "path": "./tab-line" + }, + { + "path": "./tab-panel" + }, + { + "path": "./tag" + }, + { + "path": "./textarea" + }, + { + "path": "./time-picker" + }, + { + "path": "./tooltip" + }, + { + "path": "./typography" + }, + { + "path": "./ui" + }, + { + "path": "./widget-empty" + }, + { + "path": "./wizard" + } + ] +} \ No newline at end of file diff --git a/semcore/typography/.npmignore b/semcore/typography/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/typography/.npmignore +++ b/semcore/typography/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/typography/tsconfig.json b/semcore/typography/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/typography/tsconfig.json +++ b/semcore/typography/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/ui/.npmignore b/semcore/ui/.npmignore index 5e6a4457e9..6e9dbac15c 100644 --- a/semcore/ui/.npmignore +++ b/semcore/ui/.npmignore @@ -3,6 +3,7 @@ __tests__ components.json generate.js tsconfig.json +tsconfig.tsbuildinfo clear.ts generate-reexports.ts update-dependencies.ts \ No newline at end of file diff --git a/semcore/ui/tsconfig.json b/semcore/ui/tsconfig.json index ad7c0db81c..1f72175b3b 100644 --- a/semcore/ui/tsconfig.json +++ b/semcore/ui/tsconfig.json @@ -1,4 +1,4 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["__tests__", "generate.js", "index.js"] } diff --git a/semcore/widget-empty/.npmignore b/semcore/widget-empty/.npmignore index 882388da4b..036da2936b 100644 --- a/semcore/widget-empty/.npmignore +++ b/semcore/widget-empty/.npmignore @@ -2,3 +2,4 @@ node_modules __tests__ src tsconfig.json +tsconfig.tsbuildinfo diff --git a/semcore/widget-empty/tsconfig.json b/semcore/widget-empty/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/widget-empty/tsconfig.json +++ b/semcore/widget-empty/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/wizard/.npmignore b/semcore/wizard/.npmignore index 6dbfcb3935..8f6072f302 100644 --- a/semcore/wizard/.npmignore +++ b/semcore/wizard/.npmignore @@ -2,4 +2,6 @@ node_modules *.log coverage __tests__ -.publishrc \ No newline at end of file +.publishrc +tsconfig.json +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/semcore/wizard/tsconfig.json b/semcore/wizard/tsconfig.json index ddb8b6811a..3ed2a1cc8b 100644 --- a/semcore/wizard/tsconfig.json +++ b/semcore/wizard/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/tools/babel-plugin-react-semcore/tsconfig.json b/tools/babel-plugin-react-semcore/tsconfig.json deleted file mode 100644 index 68cec7f0a2..0000000000 --- a/tools/babel-plugin-react-semcore/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src", "lib", "index.js"] -} diff --git a/tools/babel-plugin-root/tsconfig.json b/tools/babel-plugin-root/tsconfig.json deleted file mode 100644 index ddb8b6811a..0000000000 --- a/tools/babel-plugin-root/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], - "compilerOptions": { - "rootDir": "./src" - } -} diff --git a/tools/babel-plugin-styles/tsconfig.json b/tools/babel-plugin-styles/tsconfig.json deleted file mode 100644 index ddb8b6811a..0000000000 --- a/tools/babel-plugin-styles/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], - "compilerOptions": { - "rootDir": "./src" - } -} diff --git a/tools/babel-preset-ui/tsconfig.json b/tools/babel-preset-ui/tsconfig.json deleted file mode 100644 index ddb8b6811a..0000000000 --- a/tools/babel-preset-ui/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], - "compilerOptions": { - "rootDir": "./src" - } -} diff --git a/tools/builder/bin/index.ts b/tools/builder/bin/index.ts index e75752bc61..15a6b8e6db 100755 --- a/tools/builder/bin/index.ts +++ b/tools/builder/bin/index.ts @@ -27,6 +27,8 @@ process.chdir(babelPresetPackagePath); const makeCommand: Record string> = { CLEANUP: () => `${workingDir}/lib`, + // TODO: Remove it when the project migrate to incremental TS build + CLEANUP_TS_BUILD_INFO: () => `${workingDir}/tsconfig.tsbuildinfo`, TYPES: (output: string) => `tsc --emitDeclarationOnly --project ${workingDir}/tsconfig.json --outDir ${workingDir}/lib/${output}`, COPY_TYPES: (output: string) => @@ -64,6 +66,8 @@ const MAP_BABEL_ENV: Record = { console.log(`running builder from dir ${workingDir}\n`); await rm(makeCommand.CLEANUP(), { recursive: true, force: true }).catch((err) => {}); +// TODO: Remove it when the project migrate to incremental TS build +await rm(makeCommand.CLEANUP_TS_BUILD_INFO(), { force: true }).catch((err) => {}); if (process.platform === 'win32') process.exit(0); diff --git a/tools/continuous-delivery/tsconfig.json b/tools/continuous-delivery/tsconfig.json index 7fc747ba0c..ddb8b6811a 100644 --- a/tools/continuous-delivery/tsconfig.json +++ b/tools/continuous-delivery/tsconfig.json @@ -1,7 +1,4 @@ { - "compilerOptions": { - "strict": true - }, "extends": "../../tsconfig.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { diff --git a/tsconfig.base.json b/tsconfig.base.json new file mode 100644 index 0000000000..9e1ab16a8e --- /dev/null +++ b/tsconfig.base.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "esnext", + "target": "esnext", + "lib": ["dom", "ESNext"], + "jsx": "react", + "declaration": true, + "declarationMap": true, + "esModuleInterop": true, + "skipLibCheck": true, + "strict": true, + "noEmit": false, + "sourceMap": true, + "importHelpers": false, + "noEmitHelpers": true, + "moduleResolution": "bundler", + "resolveJsonModule": true, + "types": ["node", "vitest", "@workspace/types/deps", "@workspace/types/globals", "@workspace/types/styles", "@workspace/types/vite"], + }, +} diff --git a/tsconfig.json b/tsconfig.json index 7b976eaa6b..5163196b67 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,34 +1,18 @@ { + "extends": "./tsconfig.base.json", "compilerOptions": { - "module": "esnext", - "target": "esnext", - "lib": ["dom", "ESNext"], - "jsx": "react", - "declaration": true, - "esModuleInterop": true, - "allowImportingTsExtensions": true, - "skipLibCheck": true, - "strict": true, - "noEmit": false, - "sourceMap": true, - "importHelpers": false, - "noEmitHelpers": true, - "moduleResolution": "bundler", - "resolveJsonModule": true, - "types": ["node", "vitest", "@workspace/types/deps", "@workspace/types/globals", "@workspace/types/styles", "@workspace/types/vite"], "paths": { - "@semcore/illustration/*": ["${configDir}/semcore/illustration/lib/*"], - "@semcore/illustration": ["${configDir}/semcore/illustration"], - "@semcore/icon/*": ["${configDir}/semcore/icon/lib/*"], - "@semcore/ui/d3-chart": ["${configDir}/semcore/d3-chart"], - "@semcore/ui/core/lib/*": ["${configDir}/semcore/core/src/*"], - "@semcore/ui/*": ["${configDir}/semcore/*/src"], - "@semcore/*": ["${configDir}/semcore/*/src"], - "@tools/*": ["${configDir}/tools/*"] + "@semcore/illustration/*": ["./semcore/illustration/lib/*"], + "@semcore/illustration": ["./semcore/illustration"], + "@semcore/icon/*": ["./semcore/icon/lib/*"], + "@semcore/ui/d3-chart": ["./semcore/d3-chart"], + "@semcore/ui/core/lib/*": ["./semcore/core/src/*"], + "@semcore/ui/*": ["./semcore/*/src"], + "@semcore/*": ["./semcore/*/src"], + "@tools/*": ["./tools/*"] }, }, - "project": ["./semcore/*/tsconfig.json", "./tools/*/tsconfig.json"], - "include": ["semcore", "tools", "stories", "playground"], + "include": ["tools", "stories", "playground"], "exclude": [ "node_modules", "tools/icon-transform-svg/__tests__" From 4ce2b0651cafd358e39f0f0a17dde4dee9cd42e5 Mon Sep 17 00:00:00 2001 From: Slizhevsky Vladislav Date: Fri, 24 Jul 2026 12:19:53 +0200 Subject: [PATCH 2/5] [chore] refactor ts linting --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 5163196b67..a634522397 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "./tsconfig.base.json", "compilerOptions": { + "allowImportingTsExtensions": true, "paths": { "@semcore/illustration/*": ["./semcore/illustration/lib/*"], "@semcore/illustration": ["./semcore/illustration"], From b4c271ef92c423fdbdbb272c1d770988a05f8714 Mon Sep 17 00:00:00 2001 From: Slizhevsky Vladislav Date: Fri, 24 Jul 2026 12:44:21 +0200 Subject: [PATCH 3/5] [chore] refactor ts linting --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7e96bc3a67..dbfe744b46 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "clean:illustration": "pnpm --filter @semcore/illustration run clean", "format": "biome format ./semcore ./tools ./website ./stories ./.ci --config-path . --write", "lint:es": "npx eslint", - "lint:ts": "pnpm lint:ts:semcore && pnpm lint:ts:website && tsc --noEmit", + "lint:ts": "pnpm lint:ts:semcore && tsc --noEmit && pnpm lint:ts:website", "lint:ts:semcore": "tsc -b semcore --emitDeclarationOnly --verbose", "lint:ts:website": "cd website && tsc --noEmit", "lint:css": "stylelint **/*.css", From fef706e33a09edc96e94bfca250c6a1d27bc7ada Mon Sep 17 00:00:00 2001 From: Slizhevsky Vladislav Date: Fri, 24 Jul 2026 13:50:03 +0200 Subject: [PATCH 4/5] [chore] refactor ts linting --- .github/workflows/cd.yml | 1 + package.json | 1 + tools/babel-plugin-react-semcore/tsconfig.json | 4 ++++ tools/babel-plugin-root/tsconfig.json | 7 +++++++ tools/babel-plugin-styles/tsconfig.json | 7 +++++++ tools/babel-preset-ui/tsconfig.json | 7 +++++++ 6 files changed, 27 insertions(+) create mode 100644 tools/babel-plugin-react-semcore/tsconfig.json create mode 100644 tools/babel-plugin-root/tsconfig.json create mode 100644 tools/babel-plugin-styles/tsconfig.json create mode 100644 tools/babel-preset-ui/tsconfig.json diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 29952c2258..aa113cb433 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -122,6 +122,7 @@ jobs: semcore/illustration/**/*.js semcore/illustration/**/*.mjs semcore/illustration/**/*.d.ts + semcore/*/tsconfig.tsbuildinfo key: build-${{ hashFiles('**/pnpm-lock.yaml', '**/CHANGELOG.md') }}-6 enableCrossOsArchive: true - name: Install dependencies diff --git a/package.json b/package.json index dbfe744b46..61902846f7 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "scripts": { "dev": "pnpm storybook", "start": "pnpm storybook", + "watch-semcore": "tsc -b semcore --emitDeclarationOnly --watch", "build": "pnpm run clean && pnpm --filter @semcore/theme run build && pnpm --filter @semcore/core run build && pnpm build:icons && pnpm build:illustration && pnpm --filter @semcore/base-components run build && pnpm --filter @semcore/dropdown run build && pnpm --filter @semcore/* --filter !@semcore/icon --filter !@semcore/core --filter !@semcore/base-components --filter !@semcore/illustration --filter !@semcore/dropdown --filter !@semcore/ui run build", "process-theme": "pnpm --filter @semcore/theme build", "install-n-test": "pnpm install && pnpm test", diff --git a/tools/babel-plugin-react-semcore/tsconfig.json b/tools/babel-plugin-react-semcore/tsconfig.json new file mode 100644 index 0000000000..40556ff83c --- /dev/null +++ b/tools/babel-plugin-react-semcore/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "../tsconfig.json", + "include": ["src", "lib", "index.js"] +} \ No newline at end of file diff --git a/tools/babel-plugin-root/tsconfig.json b/tools/babel-plugin-root/tsconfig.json new file mode 100644 index 0000000000..36ec497c31 --- /dev/null +++ b/tools/babel-plugin-root/tsconfig.json @@ -0,0 +1,7 @@ +{ + "extends": "../tsconfig.json", + "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], + "compilerOptions": { + "rootDir": "./src" + } +} \ No newline at end of file diff --git a/tools/babel-plugin-styles/tsconfig.json b/tools/babel-plugin-styles/tsconfig.json new file mode 100644 index 0000000000..36ec497c31 --- /dev/null +++ b/tools/babel-plugin-styles/tsconfig.json @@ -0,0 +1,7 @@ +{ + "extends": "../tsconfig.json", + "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], + "compilerOptions": { + "rootDir": "./src" + } +} \ No newline at end of file diff --git a/tools/babel-preset-ui/tsconfig.json b/tools/babel-preset-ui/tsconfig.json new file mode 100644 index 0000000000..36ec497c31 --- /dev/null +++ b/tools/babel-preset-ui/tsconfig.json @@ -0,0 +1,7 @@ +{ + "extends": "../tsconfig.json", + "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], + "compilerOptions": { + "rootDir": "./src" + } +} \ No newline at end of file From 87f4e0bdcb2a9e05075cce54c03115de3b18848a Mon Sep 17 00:00:00 2001 From: Slizhevsky Vladislav Date: Fri, 24 Jul 2026 14:08:01 +0200 Subject: [PATCH 5/5] [chore] refactor ts linting --- .github/workflows/cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index aa113cb433..9607ee97ca 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -168,6 +168,7 @@ jobs: semcore/illustration/**/*.js semcore/illustration/**/*.mjs semcore/illustration/**/*.d.ts + semcore/*/tsconfig.tsbuildinfo key: build-${{ hashFiles('**/pnpm-lock.yaml', '**/CHANGELOG.md') }}-6 enableCrossOsArchive: true - name: Install dependencies