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
Check all .ts and .tsx in packages src folder (#476)
Bogdan Chadkin50010c7f0d19
diff --git a/packages/asset-uploader/tsconfig.json b/packages/asset-uploader/tsconfig.jsonindex 67e711a955..b53cddcbf0 100644--- a/packages/asset-uploader/tsconfig.json+++ b/packages/asset-uploader/tsconfig.json@@ -1,7 +1,7 @@{// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091"extends": "../../node_modules/@webstudio-is/tsconfig/base.json",- "include": ["./src/**/*.ts"],+ "include": ["src"],"compilerOptions": {"module": "commonjs","target": "ES2020",diff --git a/packages/css-data/tsconfig.json b/packages/css-data/tsconfig.jsonindex f298e02ab1..0024dc5142 100644--- a/packages/css-data/tsconfig.json+++ b/packages/css-data/tsconfig.json@@ -1,7 +1,7 @@{// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091"extends": "../../node_modules/@webstudio-is/tsconfig/base.json",- "include": ["./src/**/*.ts"],+ "include": ["src"],"compilerOptions": {"module": "commonjs","target": "ES2020",diff --git a/packages/css-engine/src/core/css-engine.stories.tsx b/packages/css-engine/src/core/css-engine.stories.tsxindex 23bf96bb72..62bf977e2a 100644--- a/packages/css-engine/src/core/css-engine.stories.tsx+++ b/packages/css-engine/src/core/css-engine.stories.tsx@@ -1,4 +1,3 @@-import * as React from "react";import { CssEngine } from "./css-engine";export default {diff --git a/packages/css-engine/tsconfig.json b/packages/css-engine/tsconfig.jsonindex aef2fa6f3d..54b8dc5d15 100644--- a/packages/css-engine/tsconfig.json+++ b/packages/css-engine/tsconfig.json@@ -1,7 +1,7 @@{// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091"extends": "../../node_modules/@webstudio-is/tsconfig/base.json",- "include": ["./src/**/*.ts"],+ "include": ["src"],"compilerOptions": {"module": "commonjs","target": "ES2020",diff --git a/packages/css-vars/tsconfig.json b/packages/css-vars/tsconfig.jsonindex f298e02ab1..0024dc5142 100644--- a/packages/css-vars/tsconfig.json+++ b/packages/css-vars/tsconfig.json@@ -1,7 +1,7 @@{// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091"extends": "../../node_modules/@webstudio-is/tsconfig/base.json",- "include": ["./src/**/*.ts"],+ "include": ["src"],"compilerOptions": {"module": "commonjs","target": "ES2020",diff --git a/packages/design-system/tsconfig.json b/packages/design-system/tsconfig.jsonindex 60e1d1b132..ba30483254 100644--- a/packages/design-system/tsconfig.json+++ b/packages/design-system/tsconfig.json@@ -1,7 +1,7 @@{// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091"extends": "../../node_modules/@webstudio-is/tsconfig/base.json",- "include": ["./src/**/*.ts", "./src/**/*.tsx"],+ "include": ["src"],"compilerOptions": {"lib": ["DOM", "DOM.Iterable", "ES2020"],"module": "commonjs",diff --git a/packages/fonts/tsconfig.json b/packages/fonts/tsconfig.jsonindex 522b277be1..53af47871e 100644--- a/packages/fonts/tsconfig.json+++ b/packages/fonts/tsconfig.json@@ -1,7 +1,7 @@{// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091"extends": "../../node_modules/@webstudio-is/tsconfig/base.json",- "include": ["./src/**/*.ts"],+ "include": ["src"],"compilerOptions": {"module": "commonjs","target": "ES2020",diff --git a/packages/http-client/tsconfig.json b/packages/http-client/tsconfig.jsonindex 1110884745..5429a06abe 100644--- a/packages/http-client/tsconfig.json+++ b/packages/http-client/tsconfig.json@@ -1,7 +1,7 @@{// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091"extends": "../../node_modules/@webstudio-is/tsconfig/base.json",- "include": ["./src/**/*.ts", "./src/**/*.tsx"],+ "include": ["src"],"compilerOptions": {"lib": ["DOM", "DOM.Iterable", "ES2020"],"module": "commonjs",diff --git a/packages/icons/tsconfig.json b/packages/icons/tsconfig.jsonindex 1cf9259fda..66c4373f0b 100644--- a/packages/icons/tsconfig.json+++ b/packages/icons/tsconfig.json@@ -1,7 +1,7 @@{// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091"extends": "../../node_modules/@webstudio-is/tsconfig/base.json",- "include": ["./src/**/*.ts", "./src/**/*.tsx"],+ "include": ["src"],"compilerOptions": {"lib": ["DOM", "DOM.Iterable", "ES2020"],"module": "commonjs",diff --git a/packages/prisma-client/tsconfig.json b/packages/prisma-client/tsconfig.jsonindex 0918fc98dc..11bd4f21c3 100644--- a/packages/prisma-client/tsconfig.json+++ b/packages/prisma-client/tsconfig.json@@ -1,7 +1,7 @@{// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091"extends": "../../node_modules/@webstudio-is/tsconfig/base.json",- "include": ["./src/**/*.ts"],+ "include": ["src"],"compilerOptions": {"module": "commonjs","target": "ES2019",diff --git a/packages/project/tsconfig.json b/packages/project/tsconfig.jsonindex 3bd05a70b5..cd49443b6e 100644--- a/packages/project/tsconfig.json+++ b/packages/project/tsconfig.json@@ -1,7 +1,7 @@{// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091"extends": "../../node_modules/@webstudio-is/tsconfig/base.json",- "include": ["./src/**/*.ts"],+ "include": ["src"],"compilerOptions": {"module": "commonjs","target": "ES2020",diff --git a/packages/react-sdk/tsconfig.json b/packages/react-sdk/tsconfig.jsonindex 4bb16ccc51..059cfd6a19 100644--- a/packages/react-sdk/tsconfig.json+++ b/packages/react-sdk/tsconfig.json@@ -1,12 +1,7 @@{// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091"extends": "../../node_modules/@webstudio-is/tsconfig/base.json",- "include": [- "./src/**/*.ts",- "./src/**/*.tsx",- "./src/**/*.json",- "./@types/**/*.d.ts"- ],+ "include": ["./src", "./src/**/*.json", "./@types/**/*.d.ts"],"compilerOptions": {"lib": ["DOM", "DOM.Iterable", "ES2020"],"module": "commonjs",diff --git a/packages/tsconfig/base.json b/packages/tsconfig/base.jsonindex 5ea42d28ec..9d7171ceab 100644--- a/packages/tsconfig/base.json+++ b/packages/tsconfig/base.json@@ -16,6 +16,7 @@"skipLibCheck": true,"strict": true,"allowJs": false,+ "jsx": "react-jsx","resolveJsonModule": true},"exclude": ["node_modules"]