Skip to content

Commit 5a159fe

Browse files
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>
1 parent 457da44 commit 5a159fe

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

packages/fields/tsconfig.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,22 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
5-
"rootDir": "..",
6-
"jsx": "react-jsx"
5+
"rootDir": "src",
6+
"jsx": "react-jsx",
7+
"lib": ["ES2020", "DOM"],
8+
"noEmit": false,
9+
"declaration": true,
10+
"composite": true
711
},
812
"include": [
913
"src"
1014
],
15+
"exclude": [
16+
"node_modules",
17+
"dist",
18+
"**/*.test.ts",
19+
"**/*.test.tsx"
20+
],
1121
"references": [
1222
{
1323
"path": "../components"

packages/layout/tsconfig.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,21 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "dist",
5-
"jsx": "react-jsx"
5+
"rootDir": "src",
6+
"jsx": "react-jsx",
7+
"lib": ["ES2020", "DOM"],
8+
"noEmit": false,
9+
"declaration": true,
10+
"composite": true
611
},
712
"include": [
813
"src"
914
],
1015
"exclude": [
1116
"node_modules",
1217
"dist",
13-
"***.test.tsx",
14-
"**/*.stories.tsx"
18+
"**/*.test.ts",
19+
"**/*.test.tsx"
1520
],
1621
"references": [
1722
{

0 commit comments

Comments
 (0)