Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix: exclude test and story files from tsconfig.dts.json builds (#5691)
Oleg Isonen64f320f9206f
diff --git a/packages/css-engine/tsconfig.dts.json b/packages/css-engine/tsconfig.dts.jsonindex e215322bd7..bcdbe75d3f 100644--- a/packages/css-engine/tsconfig.dts.json+++ b/packages/css-engine/tsconfig.dts.json@@ -1,6 +1,12 @@{"extends": "./tsconfig.json","include": ["src", "../../@types/**/*.d.ts"],+ "exclude": [+ "**/*.test.ts",+ "**/*.test.tsx",+ "**/*.stories.ts",+ "**/*.stories.tsx"+ ],"compilerOptions": {"declarationDir": "lib/types"}diff --git a/packages/fonts/tsconfig.dts.json b/packages/fonts/tsconfig.dts.jsonindex e84928fb3a..2df90ca42a 100644--- a/packages/fonts/tsconfig.dts.json+++ b/packages/fonts/tsconfig.dts.json@@ -1,6 +1,12 @@{"extends": "./tsconfig.json","include": ["src"],+ "exclude": [+ "**/*.test.ts",+ "**/*.test.tsx",+ "**/*.stories.ts",+ "**/*.stories.tsx"+ ],"compilerOptions": {"declarationDir": "lib/types"}diff --git a/packages/http-client/tsconfig.dts.json b/packages/http-client/tsconfig.dts.jsonindex e84928fb3a..2df90ca42a 100644--- a/packages/http-client/tsconfig.dts.json+++ b/packages/http-client/tsconfig.dts.json@@ -1,6 +1,12 @@{"extends": "./tsconfig.json","include": ["src"],+ "exclude": [+ "**/*.test.ts",+ "**/*.test.tsx",+ "**/*.stories.ts",+ "**/*.stories.tsx"+ ],"compilerOptions": {"declarationDir": "lib/types"}diff --git a/packages/icons/tsconfig.dts.json b/packages/icons/tsconfig.dts.jsonindex f461af911e..2df90ca42a 100644--- a/packages/icons/tsconfig.dts.json+++ b/packages/icons/tsconfig.dts.json@@ -1,7 +1,12 @@{"extends": "./tsconfig.json","include": ["src"],- "exclude": ["**/*.stories.tsx"],+ "exclude": [+ "**/*.test.ts",+ "**/*.test.tsx",+ "**/*.stories.ts",+ "**/*.stories.tsx"+ ],"compilerOptions": {"declarationDir": "lib/types"}diff --git a/packages/image/tsconfig.dts.json b/packages/image/tsconfig.dts.jsonindex f461af911e..2df90ca42a 100644--- a/packages/image/tsconfig.dts.json+++ b/packages/image/tsconfig.dts.json@@ -1,7 +1,12 @@{"extends": "./tsconfig.json","include": ["src"],- "exclude": ["**/*.stories.tsx"],+ "exclude": [+ "**/*.test.ts",+ "**/*.test.tsx",+ "**/*.stories.ts",+ "**/*.stories.tsx"+ ],"compilerOptions": {"declarationDir": "lib/types"}diff --git a/packages/sdk-components-react-remix/tsconfig.dts.json b/packages/sdk-components-react-remix/tsconfig.dts.jsonindex e84928fb3a..2df90ca42a 100644--- a/packages/sdk-components-react-remix/tsconfig.dts.json+++ b/packages/sdk-components-react-remix/tsconfig.dts.json@@ -1,6 +1,12 @@{"extends": "./tsconfig.json","include": ["src"],+ "exclude": [+ "**/*.test.ts",+ "**/*.test.tsx",+ "**/*.stories.ts",+ "**/*.stories.tsx"+ ],"compilerOptions": {"declarationDir": "lib/types"}diff --git a/packages/sdk-components-react-router/tsconfig.dts.json b/packages/sdk-components-react-router/tsconfig.dts.jsonindex e84928fb3a..2df90ca42a 100644--- a/packages/sdk-components-react-router/tsconfig.dts.json+++ b/packages/sdk-components-react-router/tsconfig.dts.json@@ -1,6 +1,12 @@{"extends": "./tsconfig.json","include": ["src"],+ "exclude": [+ "**/*.test.ts",+ "**/*.test.tsx",+ "**/*.stories.ts",+ "**/*.stories.tsx"+ ],"compilerOptions": {"declarationDir": "lib/types"}