diff --git a/package.json b/package.json index 61902846f7..c259dbf4ac 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "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", + "build": "pnpm run clean && pnpm -r --filter @semcore/* --filter !@semcore/ui run build", "process-theme": "pnpm --filter @semcore/theme build", "install-n-test": "pnpm install && pnpm test", "install-n-browser-test": "pnpm install && pnpm browser-test", @@ -29,8 +29,8 @@ "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 && tsc --noEmit && pnpm lint:ts:website", - "lint:ts:semcore": "tsc -b semcore --emitDeclarationOnly --verbose", + "lint:ts": "pnpm lint:ts:tools-stories-playground && pnpm lint:ts:website", + "lint:ts:tools-stories-playground": "tsc --noEmit", "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", diff --git a/semcore/accordion/tsconfig.json b/semcore/accordion/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/accordion/tsconfig.json +++ b/semcore/accordion/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/add-filter/tsconfig.json b/semcore/add-filter/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/add-filter/tsconfig.json +++ b/semcore/add-filter/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/badge/tsconfig.json b/semcore/badge/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/badge/tsconfig.json +++ b/semcore/badge/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/base-components/tsconfig.json b/semcore/base-components/tsconfig.json index 3daf0e528f..63691e6368 100644 --- a/semcore/base-components/tsconfig.json +++ b/semcore/base-components/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, diff --git a/semcore/base-trigger/tsconfig.json b/semcore/base-trigger/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/base-trigger/tsconfig.json +++ b/semcore/base-trigger/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/breadcrumbs/tsconfig.json b/semcore/breadcrumbs/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/breadcrumbs/tsconfig.json +++ b/semcore/breadcrumbs/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/bulk-textarea/tsconfig.json b/semcore/bulk-textarea/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/bulk-textarea/tsconfig.json +++ b/semcore/bulk-textarea/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/button/tsconfig.json b/semcore/button/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/button/tsconfig.json +++ b/semcore/button/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/card/tsconfig.json b/semcore/card/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/card/tsconfig.json +++ b/semcore/card/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/carousel/tsconfig.json b/semcore/carousel/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/carousel/tsconfig.json +++ b/semcore/carousel/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/checkbox/tsconfig.json b/semcore/checkbox/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/checkbox/tsconfig.json +++ b/semcore/checkbox/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/color-picker/tsconfig.json b/semcore/color-picker/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/color-picker/tsconfig.json +++ b/semcore/color-picker/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/core/tsconfig-utils.json b/semcore/core/tsconfig-utils.json index 84ea93a0ad..02a971f0e5 100644 --- a/semcore/core/tsconfig-utils.json +++ b/semcore/core/tsconfig-utils.json @@ -1,4 +1,4 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/utils", "src/decorators", "../../tools/theme/src"] } diff --git a/semcore/core/tsconfig.json b/semcore/core/tsconfig.json index 32338c47ed..dbf2f0e311 100644 --- a/semcore/core/tsconfig.json +++ b/semcore/core/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "./src", "outDir": "${configDir}/lib" diff --git a/semcore/counter/tsconfig.json b/semcore/counter/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/counter/tsconfig.json +++ b/semcore/counter/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/d3-chart/tsconfig.json b/semcore/d3-chart/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/d3-chart/tsconfig.json +++ b/semcore/d3-chart/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/data-table/tsconfig.json b/semcore/data-table/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/data-table/tsconfig.json +++ b/semcore/data-table/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/date-picker/tsconfig.json b/semcore/date-picker/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/date-picker/tsconfig.json +++ b/semcore/date-picker/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/divider/tsconfig.json b/semcore/divider/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/divider/tsconfig.json +++ b/semcore/divider/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/dot/tsconfig.json b/semcore/dot/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/dot/tsconfig.json +++ b/semcore/dot/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/drag-and-drop/tsconfig.json b/semcore/drag-and-drop/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/drag-and-drop/tsconfig.json +++ b/semcore/drag-and-drop/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/dropdown-menu/tsconfig.json b/semcore/dropdown-menu/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/dropdown-menu/tsconfig.json +++ b/semcore/dropdown-menu/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/dropdown/tsconfig.json b/semcore/dropdown/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/dropdown/tsconfig.json +++ b/semcore/dropdown/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/ellipsis/tsconfig.json b/semcore/ellipsis/tsconfig.json index 543f7ee479..06f41b4198 100644 --- a/semcore/ellipsis/tsconfig.json +++ b/semcore/ellipsis/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/errors/tsconfig.json b/semcore/errors/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/errors/tsconfig.json +++ b/semcore/errors/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/feature-highlight/tsconfig.json b/semcore/feature-highlight/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/feature-highlight/tsconfig.json +++ b/semcore/feature-highlight/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/feature-popover/tsconfig.json b/semcore/feature-popover/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/feature-popover/tsconfig.json +++ b/semcore/feature-popover/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/feedback-form/tsconfig.json b/semcore/feedback-form/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/feedback-form/tsconfig.json +++ b/semcore/feedback-form/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/flags/tsconfig.json b/semcore/flags/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/flags/tsconfig.json +++ b/semcore/flags/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/fullscreen-modal/tsconfig.json b/semcore/fullscreen-modal/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/fullscreen-modal/tsconfig.json +++ b/semcore/fullscreen-modal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/icon/tsconfig.json b/semcore/icon/tsconfig.json index 3daf0e528f..63691e6368 100644 --- a/semcore/icon/tsconfig.json +++ b/semcore/icon/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "./src" }, diff --git a/semcore/inline-edit/tsconfig.json b/semcore/inline-edit/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/inline-edit/tsconfig.json +++ b/semcore/inline-edit/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/inline-input/tsconfig.json b/semcore/inline-input/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/inline-input/tsconfig.json +++ b/semcore/inline-input/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/input-mask/tsconfig.json b/semcore/input-mask/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/input-mask/tsconfig.json +++ b/semcore/input-mask/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/input-number/tsconfig.json b/semcore/input-number/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/input-number/tsconfig.json +++ b/semcore/input-number/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/input-tags/tsconfig.json b/semcore/input-tags/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/input-tags/tsconfig.json +++ b/semcore/input-tags/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/input/tsconfig.json b/semcore/input/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/input/tsconfig.json +++ b/semcore/input/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/link/tsconfig.json b/semcore/link/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/link/tsconfig.json +++ b/semcore/link/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/mini-chart/tsconfig.json b/semcore/mini-chart/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/mini-chart/tsconfig.json +++ b/semcore/mini-chart/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/modal/tsconfig.json b/semcore/modal/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/modal/tsconfig.json +++ b/semcore/modal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/notice-bubble/tsconfig.json b/semcore/notice-bubble/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/notice-bubble/tsconfig.json +++ b/semcore/notice-bubble/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/notice/tsconfig.json b/semcore/notice/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/notice/tsconfig.json +++ b/semcore/notice/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/pagination/tsconfig.json b/semcore/pagination/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/pagination/tsconfig.json +++ b/semcore/pagination/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/pills/tsconfig.json b/semcore/pills/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/pills/tsconfig.json +++ b/semcore/pills/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/product-head/tsconfig.json b/semcore/product-head/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/product-head/tsconfig.json +++ b/semcore/product-head/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/progress-bar/tsconfig.json b/semcore/progress-bar/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/progress-bar/tsconfig.json +++ b/semcore/progress-bar/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/radio/tsconfig.json b/semcore/radio/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/radio/tsconfig.json +++ b/semcore/radio/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/select/tsconfig.json b/semcore/select/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/select/tsconfig.json +++ b/semcore/select/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/side-panel/tsconfig.json b/semcore/side-panel/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/side-panel/tsconfig.json +++ b/semcore/side-panel/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/skeleton/tsconfig.json b/semcore/skeleton/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/skeleton/tsconfig.json +++ b/semcore/skeleton/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/slider/tsconfig.json b/semcore/slider/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/slider/tsconfig.json +++ b/semcore/slider/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/spin-container/tsconfig.json b/semcore/spin-container/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/spin-container/tsconfig.json +++ b/semcore/spin-container/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/spin/tsconfig.json b/semcore/spin/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/spin/tsconfig.json +++ b/semcore/spin/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/switch/tsconfig.json b/semcore/switch/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/switch/tsconfig.json +++ b/semcore/switch/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/tab-line/tsconfig.json b/semcore/tab-line/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/tab-line/tsconfig.json +++ b/semcore/tab-line/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/tab-panel/tsconfig.json b/semcore/tab-panel/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/tab-panel/tsconfig.json +++ b/semcore/tab-panel/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/tag/tsconfig.json b/semcore/tag/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/tag/tsconfig.json +++ b/semcore/tag/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/textarea/tsconfig.json b/semcore/textarea/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/textarea/tsconfig.json +++ b/semcore/textarea/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/time-picker/tsconfig.json b/semcore/time-picker/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/time-picker/tsconfig.json +++ b/semcore/time-picker/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/tooltip/tsconfig.json b/semcore/tooltip/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/tooltip/tsconfig.json +++ b/semcore/tooltip/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/tsconfig.json b/semcore/tsconfig.json deleted file mode 100644 index e7651913b1..0000000000 --- a/semcore/tsconfig.json +++ /dev/null @@ -1,205 +0,0 @@ -{ - "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" - }, - { - "path": "../tools/theme" - } - ] -} diff --git a/semcore/typography/tsconfig.json b/semcore/typography/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/typography/tsconfig.json +++ b/semcore/typography/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/ui/tsconfig.json b/semcore/ui/tsconfig.json index 1f72175b3b..1dd5113c33 100644 --- a/semcore/ui/tsconfig.json +++ b/semcore/ui/tsconfig.json @@ -1,4 +1,4 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["__tests__", "generate.js", "index.js"] } diff --git a/semcore/widget-empty/tsconfig.json b/semcore/widget-empty/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/widget-empty/tsconfig.json +++ b/semcore/widget-empty/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.json", "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "compilerOptions": { "rootDir": "./src" diff --git a/semcore/wizard/tsconfig.json b/semcore/wizard/tsconfig.json index 3ed2a1cc8b..d7da8624c2 100644 --- a/semcore/wizard/tsconfig.json +++ b/semcore/wizard/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.base.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 15a6b8e6db..e75752bc61 100755 --- a/tools/builder/bin/index.ts +++ b/tools/builder/bin/index.ts @@ -27,8 +27,6 @@ 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) => @@ -66,8 +64,6 @@ 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/theme/package.json b/tools/theme/package.json index 30d3fe72c8..abe2691b77 100644 --- a/tools/theme/package.json +++ b/tools/theme/package.json @@ -6,7 +6,7 @@ "license": "MIT", "type": "module", "scripts": { - "build": "node --experimental-transform-types src/processor.ts && tsc --project tsconfig-theme.json", + "build": "node --experimental-transform-types src/processor.ts && tsc", "check": "node --experimental-transform-types src/checker.ts", "watch": "chokidar \"src/**/*.ts\" -c \"node --experimental-transform-types src/processor.ts --watch\"" }, diff --git a/tools/theme/tsconfig-theme.json b/tools/theme/tsconfig-theme.json deleted file mode 100644 index 145726af71..0000000000 --- a/tools/theme/tsconfig-theme.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": [ - "src/theme.ts" - ], - "compilerOptions": { - "lib": [ - "ESNext" - ], - "rootDir": "./src", - "allowImportingTsExtensions": true, - "emitDeclarationOnly": true, - "outDir": "./lib" - } -} diff --git a/tools/theme/tsconfig.json b/tools/theme/tsconfig.json index 7429dfeba3..fd2e707ae1 100644 --- a/tools/theme/tsconfig.json +++ b/tools/theme/tsconfig.json @@ -1,9 +1,16 @@ { - "extends": "../../tsconfig.json", - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], + "extends": "../../tsconfig.base.json", + "include": [ + "src/theme.ts", + "src/colors/**/*.ts" + ], "compilerOptions": { - "lib": ["ESNext"], - "rootDir": "./", - "allowImportingTsExtensions": true + "lib": [ + "ESNext" + ], + "rootDir": "./src", + "allowImportingTsExtensions": true, + "emitDeclarationOnly": true, + "outDir": "./lib", } }