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: generate proper dts when CLI is published (#5482)
Bogdan Chadkind9d70ac909a2
diff --git a/packages/react-sdk/tsconfig.dts.json b/packages/react-sdk/tsconfig.dts.jsonindex e84928fb3a..5f31d84447 100644--- a/packages/react-sdk/tsconfig.dts.json+++ b/packages/react-sdk/tsconfig.dts.json@@ -1,6 +1,6 @@{"extends": "./tsconfig.json",- "include": ["src"],+ "include": ["src/index.ts", "src/runtime.ts"],"compilerOptions": {"declarationDir": "lib/types"}diff --git a/packages/sdk-components-animation/tsconfig.dts.json b/packages/sdk-components-animation/tsconfig.dts.jsonindex f461af911e..5f3604ff9b 100644--- a/packages/sdk-components-animation/tsconfig.dts.json+++ b/packages/sdk-components-animation/tsconfig.dts.json@@ -1,7 +1,11 @@{"extends": "./tsconfig.json",- "include": ["src"],- "exclude": ["**/*.stories.tsx"],+ "include": [+ "src/private-src/components.ts",+ "src/components.ts",+ "src/metas.ts",+ "src/hooks.ts"+ ],"compilerOptions": {"declarationDir": "lib/types"}diff --git a/packages/sdk-components-react-radix/tsconfig.dts.json b/packages/sdk-components-react-radix/tsconfig.dts.jsonindex f461af911e..9142cd191c 100644--- a/packages/sdk-components-react-radix/tsconfig.dts.json+++ b/packages/sdk-components-react-radix/tsconfig.dts.json@@ -1,7 +1,6 @@{"extends": "./tsconfig.json",- "include": ["src"],- "exclude": ["**/*.stories.tsx"],+ "include": ["src/components.ts", "src/metas.ts", "src/hooks.ts"],"compilerOptions": {"declarationDir": "lib/types"}diff --git a/packages/sdk-components-react/tsconfig.dts.json b/packages/sdk-components-react/tsconfig.dts.jsonindex f461af911e..9142cd191c 100644--- a/packages/sdk-components-react/tsconfig.dts.json+++ b/packages/sdk-components-react/tsconfig.dts.json@@ -1,7 +1,6 @@{"extends": "./tsconfig.json",- "include": ["src"],- "exclude": ["**/*.stories.tsx"],+ "include": ["src/components.ts", "src/metas.ts", "src/hooks.ts"],"compilerOptions": {"declarationDir": "lib/types"}diff --git a/packages/sdk/tsconfig.dts.json b/packages/sdk/tsconfig.dts.jsonindex e84928fb3a..7fd574980a 100644--- a/packages/sdk/tsconfig.dts.json+++ b/packages/sdk/tsconfig.dts.json@@ -1,6 +1,10 @@{"extends": "./tsconfig.json",- "include": ["src"],+ "include": [+ "src/index.ts",+ "src/runtime.ts",+ "src/__generated__/normalize.css.ts"+ ],"compilerOptions": {"declarationDir": "lib/types"}