From e83e00d2ba2c766d7feba9eed878a2aee4995238 Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Wed, 15 Apr 2026 01:51:14 +0000 Subject: [PATCH 1/3] fix: add missing TypeScript project references and lib config Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/de504ad4-2ea3-4ba8-8cb8-f8f72a5ac86b Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com> --- packages/app-shell/tsconfig.json | 4 +++- packages/react/tsconfig.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/app-shell/tsconfig.json b/packages/app-shell/tsconfig.json index d185c376c..038b7742f 100644 --- a/packages/app-shell/tsconfig.json +++ b/packages/app-shell/tsconfig.json @@ -15,6 +15,8 @@ { "path": "../types" }, { "path": "../core" }, { "path": "../react" }, - { "path": "../components" } + { "path": "../components" }, + { "path": "../fields" }, + { "path": "../layout" } ] } diff --git a/packages/react/tsconfig.json b/packages/react/tsconfig.json index 04f71960e..575b1542e 100644 --- a/packages/react/tsconfig.json +++ b/packages/react/tsconfig.json @@ -4,6 +4,7 @@ "outDir": "dist", "rootDir": "src", "jsx": "react-jsx", + "lib": ["ES2020", "DOM"], "noEmit": false, "declaration": true, "composite": true @@ -12,6 +13,7 @@ "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"], "references": [ { "path": "../types" }, - { "path": "../core" } + { "path": "../core" }, + { "path": "../i18n" } ] } From 457da4475fb8838f0e48bed93e95ad873a436b9e Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Wed, 15 Apr 2026 01:53:43 +0000 Subject: [PATCH 2/3] fix: add missing TypeScript project references to all packages Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/de504ad4-2ea3-4ba8-8cb8-f8f72a5ac86b Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com> --- packages/auth/tsconfig.json | 20 +++++++++++--- packages/cli/tsconfig.json | 24 ++++++++++++++--- packages/collaboration/tsconfig.json | 20 +++++++++++--- packages/components/tsconfig.json | 16 ++++++++++- packages/fields/tsconfig.json | 21 ++++++++++++++- packages/layout/tsconfig.json | 25 +++++++++++++++-- packages/mobile/tsconfig.json | 7 ++++- packages/permissions/tsconfig.json | 7 ++++- packages/plugin-aggrid/tsconfig.json | 28 +++++++++++++++++-- packages/plugin-ai/tsconfig.json | 24 +++++++++++++++-- packages/plugin-calendar/tsconfig.json | 25 ++++++++++++++++- packages/plugin-charts/tsconfig.json | 22 +++++++++++++-- packages/plugin-chatbot/tsconfig.json | 16 ++++++++++- packages/plugin-dashboard/tsconfig.json | 16 ++++++++++- packages/plugin-designer/tsconfig.json | 36 +++++++++++++++++++++++-- packages/plugin-detail/tsconfig.json | 19 ++++++++++++- packages/plugin-editor/tsconfig.json | 22 +++++++++++++-- packages/plugin-form/tsconfig.json | 28 +++++++++++++++++-- packages/plugin-gantt/tsconfig.json | 19 ++++++++++++- packages/plugin-grid/tsconfig.json | 31 +++++++++++++++++++-- packages/plugin-kanban/tsconfig.json | 16 ++++++++++- packages/plugin-list/tsconfig.json | 22 ++++++++++++++- packages/plugin-map/tsconfig.json | 16 ++++++++++- packages/plugin-markdown/tsconfig.json | 16 ++++++++++- packages/plugin-report/tsconfig.json | 27 +++++++++++++++++-- packages/plugin-timeline/tsconfig.json | 19 ++++++++++++- packages/plugin-view/tsconfig.json | 24 ++++++++++++++++- packages/plugin-workflow/tsconfig.json | 24 +++++++++++++++-- packages/tenant/tsconfig.json | 7 ++++- packages/vscode-extension/tsconfig.json | 22 ++++++++++++--- 30 files changed, 571 insertions(+), 48 deletions(-) diff --git a/packages/auth/tsconfig.json b/packages/auth/tsconfig.json index 553f189ad..34ad921c8 100644 --- a/packages/auth/tsconfig.json +++ b/packages/auth/tsconfig.json @@ -6,7 +6,9 @@ "jsx": "react-jsx", "baseUrl": ".", "paths": { - "@/*": ["src/*"] + "@/*": [ + "src/*" + ] }, "noEmit": false, "declaration": true, @@ -14,6 +16,18 @@ "declarationMap": true, "skipLibCheck": true }, - "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist", + "**/*.test.ts", + "**/*.test.tsx" + ], + "references": [ + { + "path": "../types" + } + ] } diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index c468077b9..b3ff5ca8a 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -5,10 +5,28 @@ "rootDir": "./src", "module": "ESNext", "target": "ES2020", - "lib": ["ES2020"], + "lib": [ + "ES2020" + ], "moduleResolution": "bundler", "resolveJsonModule": true }, - "include": ["src/**/*"], - "exclude": ["node_modules", "dist"] + "include": [ + "src/**/*" + ], + "exclude": [ + "node_modules", + "dist" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/collaboration/tsconfig.json b/packages/collaboration/tsconfig.json index 553f189ad..34ad921c8 100644 --- a/packages/collaboration/tsconfig.json +++ b/packages/collaboration/tsconfig.json @@ -6,7 +6,9 @@ "jsx": "react-jsx", "baseUrl": ".", "paths": { - "@/*": ["src/*"] + "@/*": [ + "src/*" + ] }, "noEmit": false, "declaration": true, @@ -14,6 +16,18 @@ "declarationMap": true, "skipLibCheck": true }, - "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist", + "**/*.test.ts", + "**/*.test.tsx" + ], + "references": [ + { + "path": "../types" + } + ] } diff --git a/packages/components/tsconfig.json b/packages/components/tsconfig.json index cc2fe0a5a..76ad1202d 100644 --- a/packages/components/tsconfig.json +++ b/packages/components/tsconfig.json @@ -15,5 +15,19 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["src/__tests__", "**/*.test.ts", "**/*.test.tsx", "src/stories-json", "**/*.stories.tsx"] + "exclude": ["src/__tests__", "**/*.test.ts", "**/*.test.tsx", "src/stories-json", "**/*.stories.tsx"], + "references": [ + { + "path": "../core" + }, + { + "path": "../i18n" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/fields/tsconfig.json b/packages/fields/tsconfig.json index 6a44fb0fd..a4ddfdb26 100644 --- a/packages/fields/tsconfig.json +++ b/packages/fields/tsconfig.json @@ -5,5 +5,24 @@ "rootDir": "..", "jsx": "react-jsx" }, - "include": ["src"] + "include": [ + "src" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../i18n" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/layout/tsconfig.json b/packages/layout/tsconfig.json index 74b627795..0ee406f70 100644 --- a/packages/layout/tsconfig.json +++ b/packages/layout/tsconfig.json @@ -4,6 +4,27 @@ "outDir": "dist", "jsx": "react-jsx" }, - "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx", "**/*.stories.tsx"] + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist", + "***.test.tsx", + "**/*.stories.tsx" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/mobile/tsconfig.json b/packages/mobile/tsconfig.json index 553f189ad..8a080a546 100644 --- a/packages/mobile/tsconfig.json +++ b/packages/mobile/tsconfig.json @@ -15,5 +15,10 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"], + "references": [ + { + "path": "../types" + } + ] } diff --git a/packages/permissions/tsconfig.json b/packages/permissions/tsconfig.json index 553f189ad..8a080a546 100644 --- a/packages/permissions/tsconfig.json +++ b/packages/permissions/tsconfig.json @@ -15,5 +15,10 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"], + "references": [ + { + "path": "../types" + } + ] } diff --git a/packages/plugin-aggrid/tsconfig.json b/packages/plugin-aggrid/tsconfig.json index 9ffe21aef..4cf6cfa63 100644 --- a/packages/plugin-aggrid/tsconfig.json +++ b/packages/plugin-aggrid/tsconfig.json @@ -5,7 +5,9 @@ "jsx": "react-jsx", "baseUrl": ".", "paths": { - "@/*": ["src/*"] + "@/*": [ + "src/*" + ] }, "noImplicitAny": true, "noEmit": false, @@ -13,5 +15,27 @@ "composite": true, "skipLibCheck": true }, - "include": ["src"] + "include": [ + "src" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../data-objectstack" + }, + { + "path": "../fields" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-ai/tsconfig.json b/packages/plugin-ai/tsconfig.json index b0ad82984..ea5cdbc99 100644 --- a/packages/plugin-ai/tsconfig.json +++ b/packages/plugin-ai/tsconfig.json @@ -4,6 +4,26 @@ "outDir": "dist", "jsx": "react-jsx" }, - "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist", + "***.test.tsx" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-calendar/tsconfig.json b/packages/plugin-calendar/tsconfig.json index d114084ae..183abf85b 100644 --- a/packages/plugin-calendar/tsconfig.json +++ b/packages/plugin-calendar/tsconfig.json @@ -14,5 +14,28 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx", "**/*.stories.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx", "**/*.stories.tsx"], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../fields" + }, + { + "path": "../i18n" + }, + { + "path": "../mobile" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-charts/tsconfig.json b/packages/plugin-charts/tsconfig.json index 9ffe21aef..4c42e0090 100644 --- a/packages/plugin-charts/tsconfig.json +++ b/packages/plugin-charts/tsconfig.json @@ -5,7 +5,9 @@ "jsx": "react-jsx", "baseUrl": ".", "paths": { - "@/*": ["src/*"] + "@/*": [ + "src/*" + ] }, "noImplicitAny": true, "noEmit": false, @@ -13,5 +15,21 @@ "composite": true, "skipLibCheck": true }, - "include": ["src"] + "include": [ + "src" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-chatbot/tsconfig.json b/packages/plugin-chatbot/tsconfig.json index 22195355d..09e0807f7 100644 --- a/packages/plugin-chatbot/tsconfig.json +++ b/packages/plugin-chatbot/tsconfig.json @@ -14,5 +14,19 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-dashboard/tsconfig.json b/packages/plugin-dashboard/tsconfig.json index 27878bcea..f0e7fb069 100644 --- a/packages/plugin-dashboard/tsconfig.json +++ b/packages/plugin-dashboard/tsconfig.json @@ -15,5 +15,19 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-designer/tsconfig.json b/packages/plugin-designer/tsconfig.json index 47346fc16..dea0c2344 100644 --- a/packages/plugin-designer/tsconfig.json +++ b/packages/plugin-designer/tsconfig.json @@ -5,6 +5,38 @@ "jsx": "react-jsx", "skipLibCheck": true }, - "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist", + "***.test.tsx" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../fields" + }, + { + "path": "../i18n" + }, + { + "path": "../plugin-form" + }, + { + "path": "../plugin-grid" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-detail/tsconfig.json b/packages/plugin-detail/tsconfig.json index 22195355d..9c5f75901 100644 --- a/packages/plugin-detail/tsconfig.json +++ b/packages/plugin-detail/tsconfig.json @@ -14,5 +14,22 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../fields" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-editor/tsconfig.json b/packages/plugin-editor/tsconfig.json index 9ffe21aef..4c42e0090 100644 --- a/packages/plugin-editor/tsconfig.json +++ b/packages/plugin-editor/tsconfig.json @@ -5,7 +5,9 @@ "jsx": "react-jsx", "baseUrl": ".", "paths": { - "@/*": ["src/*"] + "@/*": [ + "src/*" + ] }, "noImplicitAny": true, "noEmit": false, @@ -13,5 +15,21 @@ "composite": true, "skipLibCheck": true }, - "include": ["src"] + "include": [ + "src" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-form/tsconfig.json b/packages/plugin-form/tsconfig.json index 74b627795..19eed02bd 100644 --- a/packages/plugin-form/tsconfig.json +++ b/packages/plugin-form/tsconfig.json @@ -4,6 +4,30 @@ "outDir": "dist", "jsx": "react-jsx" }, - "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx", "**/*.stories.tsx"] + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist", + "***.test.tsx", + "**/*.stories.tsx" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../fields" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-gantt/tsconfig.json b/packages/plugin-gantt/tsconfig.json index d114084ae..6b9e4b29e 100644 --- a/packages/plugin-gantt/tsconfig.json +++ b/packages/plugin-gantt/tsconfig.json @@ -14,5 +14,22 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx", "**/*.stories.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx", "**/*.stories.tsx"], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../fields" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-grid/tsconfig.json b/packages/plugin-grid/tsconfig.json index 74b627795..0b722d32e 100644 --- a/packages/plugin-grid/tsconfig.json +++ b/packages/plugin-grid/tsconfig.json @@ -4,6 +4,33 @@ "outDir": "dist", "jsx": "react-jsx" }, - "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx", "**/*.stories.tsx"] + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist", + "***.test.tsx", + "**/*.stories.tsx" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../fields" + }, + { + "path": "../mobile" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-kanban/tsconfig.json b/packages/plugin-kanban/tsconfig.json index 25a6bc354..5acc0a5ff 100644 --- a/packages/plugin-kanban/tsconfig.json +++ b/packages/plugin-kanban/tsconfig.json @@ -15,5 +15,19 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-list/tsconfig.json b/packages/plugin-list/tsconfig.json index 22195355d..f56def817 100644 --- a/packages/plugin-list/tsconfig.json +++ b/packages/plugin-list/tsconfig.json @@ -14,5 +14,25 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../i18n" + }, + { + "path": "../mobile" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-map/tsconfig.json b/packages/plugin-map/tsconfig.json index 22195355d..09e0807f7 100644 --- a/packages/plugin-map/tsconfig.json +++ b/packages/plugin-map/tsconfig.json @@ -14,5 +14,19 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-markdown/tsconfig.json b/packages/plugin-markdown/tsconfig.json index 25a6bc354..5acc0a5ff 100644 --- a/packages/plugin-markdown/tsconfig.json +++ b/packages/plugin-markdown/tsconfig.json @@ -15,5 +15,19 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-report/tsconfig.json b/packages/plugin-report/tsconfig.json index 47346fc16..e3e752761 100644 --- a/packages/plugin-report/tsconfig.json +++ b/packages/plugin-report/tsconfig.json @@ -5,6 +5,29 @@ "jsx": "react-jsx", "skipLibCheck": true }, - "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist", + "***.test.tsx" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../fields" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-timeline/tsconfig.json b/packages/plugin-timeline/tsconfig.json index 22195355d..787752e4e 100644 --- a/packages/plugin-timeline/tsconfig.json +++ b/packages/plugin-timeline/tsconfig.json @@ -14,5 +14,22 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../mobile" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-view/tsconfig.json b/packages/plugin-view/tsconfig.json index c1d2d5764..4ca96f1d6 100644 --- a/packages/plugin-view/tsconfig.json +++ b/packages/plugin-view/tsconfig.json @@ -4,5 +4,27 @@ "outDir": "dist", "jsx": "react-jsx" }, - "include": ["src"] + "include": [ + "src" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../plugin-form" + }, + { + "path": "../plugin-grid" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/plugin-workflow/tsconfig.json b/packages/plugin-workflow/tsconfig.json index 47346fc16..f29a8c017 100644 --- a/packages/plugin-workflow/tsconfig.json +++ b/packages/plugin-workflow/tsconfig.json @@ -5,6 +5,26 @@ "jsx": "react-jsx", "skipLibCheck": true }, - "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist", + "***.test.tsx" + ], + "references": [ + { + "path": "../components" + }, + { + "path": "../core" + }, + { + "path": "../react" + }, + { + "path": "../types" + } + ] } diff --git a/packages/tenant/tsconfig.json b/packages/tenant/tsconfig.json index 553f189ad..8a080a546 100644 --- a/packages/tenant/tsconfig.json +++ b/packages/tenant/tsconfig.json @@ -15,5 +15,10 @@ "skipLibCheck": true }, "include": ["src"], - "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] + "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"], + "references": [ + { + "path": "../types" + } + ] } diff --git a/packages/vscode-extension/tsconfig.json b/packages/vscode-extension/tsconfig.json index 94fda45d1..2b5852533 100644 --- a/packages/vscode-extension/tsconfig.json +++ b/packages/vscode-extension/tsconfig.json @@ -2,7 +2,9 @@ "compilerOptions": { "target": "ES2020", "module": "commonjs", - "lib": ["ES2020"], + "lib": [ + "ES2020" + ], "outDir": "./dist", "rootDir": "./src", "strict": true, @@ -15,6 +17,20 @@ "declarationMap": true, "sourceMap": true }, - "include": ["src/**/*"], - "exclude": ["node_modules", "dist", "**/*.test.ts"] + "include": [ + "src*" + ], + "exclude": [ + "node_modules", + "dist", + "**/*.test.ts" + ], + "references": [ + { + "path": "../core" + }, + { + "path": "../types" + } + ] } From 5a159fe967a6465a7f117298e859da2788f6267a Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Wed, 15 Apr 2026 01:56:04 +0000 Subject: [PATCH 3/3] fix: add composite and lib settings to fields and layout packages Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/de504ad4-2ea3-4ba8-8cb8-f8f72a5ac86b Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com> --- packages/fields/tsconfig.json | 14 ++++++++++++-- packages/layout/tsconfig.json | 11 ++++++++--- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/packages/fields/tsconfig.json b/packages/fields/tsconfig.json index a4ddfdb26..c36478af7 100644 --- a/packages/fields/tsconfig.json +++ b/packages/fields/tsconfig.json @@ -2,12 +2,22 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist", - "rootDir": "..", - "jsx": "react-jsx" + "rootDir": "src", + "jsx": "react-jsx", + "lib": ["ES2020", "DOM"], + "noEmit": false, + "declaration": true, + "composite": true }, "include": [ "src" ], + "exclude": [ + "node_modules", + "dist", + "**/*.test.ts", + "**/*.test.tsx" + ], "references": [ { "path": "../components" diff --git a/packages/layout/tsconfig.json b/packages/layout/tsconfig.json index 0ee406f70..eff3a4193 100644 --- a/packages/layout/tsconfig.json +++ b/packages/layout/tsconfig.json @@ -2,7 +2,12 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist", - "jsx": "react-jsx" + "rootDir": "src", + "jsx": "react-jsx", + "lib": ["ES2020", "DOM"], + "noEmit": false, + "declaration": true, + "composite": true }, "include": [ "src" @@ -10,8 +15,8 @@ "exclude": [ "node_modules", "dist", - "***.test.tsx", - "**/*.stories.tsx" + "**/*.test.ts", + "**/*.test.tsx" ], "references": [ {