Skip to content

Commit

Permalink
ts project references config for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zxbodya committed Jul 25, 2023
1 parent 39d61d4 commit ff26d36
Show file tree
Hide file tree
Showing 34 changed files with 481 additions and 129 deletions.
23 changes: 23 additions & 0 deletions packages/antd/src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"extends": "../../../tsconfig.base.json",
"include": [
"./"
],
"compilerOptions": {
"rootDir": "./",
"outDir": "../lib",
"baseUrl": "../",
"jsx": "react-jsx"
},
"references": [
{
"path": "../../core"
},
{
"path": "../../utils"
},
{
"path": "../../validator-ajv8"
}
]
}
18 changes: 18 additions & 0 deletions packages/antd/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": "../../../tsconfig.base.json",
"include": ["./"],
"compilerOptions": {
"rootDir": "./",
"baseUrl": "../",
"noEmit": true,
"jsx": "react-jsx"
},
"references": [
{
"path": "../src"
},
{
"path": "../../snapshot-tests"
}
]
}
15 changes: 3 additions & 12 deletions packages/antd/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src"],
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib",
"baseUrl": "./",
"jsx": "react-jsx"
},
"files": [],
"references": [
{
"path": "../core"
"path": "./src"
},
{
"path": "../utils"
},
{
"path": "../validator-ajv8"
"path": "./test"
}
]
}
23 changes: 23 additions & 0 deletions packages/bootstrap-4/src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"extends": "../../../tsconfig.base.json",
"include": [
"./"
],
"compilerOptions": {
"rootDir": "./",
"outDir": "../lib",
"baseUrl": "../",
"jsx": "react-jsx"
},
"references": [
{
"path": "../../core"
},
{
"path": "../../utils"
},
{
"path": "../../validator-ajv8"
}
]
}
18 changes: 18 additions & 0 deletions packages/bootstrap-4/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": "../../../tsconfig.base.json",
"include": ["./"],
"compilerOptions": {
"rootDir": "./",
"baseUrl": "../",
"noEmit": true,
"jsx": "react-jsx"
},
"references": [
{
"path": "../src"
},
{
"path": "../../snapshot-tests"
}
]
}
15 changes: 3 additions & 12 deletions packages/bootstrap-4/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src"],
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib",
"baseUrl": "./",
"jsx": "react-jsx"
},
"files": [],
"references": [
{
"path": "../core"
"path": "./src"
},
{
"path": "../utils"
},
{
"path": "../validator-ajv8"
"path": "./test"
}
]
}
26 changes: 26 additions & 0 deletions packages/chakra-ui/src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"extends": "../../../tsconfig.base.json",
"include": [
"./"
],
"compilerOptions": {
"rootDir": "./",
"outDir": "../lib",
"baseUrl": "../",
"jsx": "react-jsx",
// todo:
// ../../node_modules/@chakra-ui/menu/dist/declarations/src/use-menu.d.ts:986:61 - error TS2694: Namespace '"node_modules/csstype/index".Property' has no exported member 'ColorAdjust'.
"skipLibCheck": true
},
"references": [
{
"path": "../../core"
},
{
"path": "../../utils"
},
{
"path": "../../validator-ajv8"
}
]
}
21 changes: 21 additions & 0 deletions packages/chakra-ui/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"extends": "../../../tsconfig.base.json",
"include": ["./"],
"compilerOptions": {
"rootDir": "./",
"baseUrl": "../",
"noEmit": true,
"jsx": "react-jsx",
// todo:
// ../../node_modules/@chakra-ui/menu/dist/declarations/src/use-menu.d.ts:986:61 - error TS2694: Namespace '"node_modules/csstype/index".Property' has no exported member 'ColorAdjust'.
"skipLibCheck": true
},
"references": [
{
"path": "../src"
},
{
"path": "../../snapshot-tests"
}
]
}
18 changes: 3 additions & 15 deletions packages/chakra-ui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src"],
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib",
"baseUrl": "./",
"jsx": "react-jsx",
// todo:
// ../../node_modules/@chakra-ui/menu/dist/declarations/src/use-menu.d.ts:986:61 - error TS2694: Namespace '"node_modules/csstype/index".Property' has no exported member 'ColorAdjust'.
"skipLibCheck": true
},
"files": [],
"references": [
{
"path": "../core"
"path": "./src"
},
{
"path": "../utils"
},
{
"path": "../validator-ajv8"
"path": "./test"
}
]
}
23 changes: 23 additions & 0 deletions packages/core/src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"extends": "../../../tsconfig.base.json",
"include": [
"./"
],
"compilerOptions": {
"rootDir": "./",
"outDir": "../lib",
"baseUrl": "../",
"jsx": "react-jsx"
},
"references": [
{
"path": "../../utils"
},
{
"path": "../../validator-ajv6"
},
{
"path": "../../validator-ajv8"
}
]
}
18 changes: 18 additions & 0 deletions packages/core/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": "../../../tsconfig.base.json",
"include": ["./"],
"compilerOptions": {
"rootDir": "./",
"baseUrl": "../",
"noEmit": true,
"jsx": "react-jsx"
},
"references": [
{
"path": "../src"
},
{
"path": "../../snapshot-tests"
},
]
}
15 changes: 3 additions & 12 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src"],
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib",
"baseUrl": "./",
"jsx": "react-jsx"
},
"files": [],
"references": [
{
"path": "../utils"
"path": "./src"
},
{
"path": "../validator-ajv6"
},
{
"path": "../validator-ajv8"
"path": "./test"
}
]
}
26 changes: 26 additions & 0 deletions packages/fluent-ui/src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"extends": "../../../tsconfig.base.json",
"include": [
"./"
],
"compilerOptions": {
"rootDir": "./",
"outDir": "../lib",
"baseUrl": "../",
"jsx": "react-jsx",
// todo
// ../../node_modules/@chakra-ui/menu/dist/declarations/src/use-menu.d.ts:986:61 - error TS2694: Namespace '"react-jsonschema-form/node_modules/csstype/index".Property' has no exported member 'ColorAdjust'.
"skipLibCheck": true
},
"references": [
{
"path": "../../core"
},
{
"path": "../../utils"
},
{
"path": "../../validator-ajv8"
}
]
}
18 changes: 18 additions & 0 deletions packages/fluent-ui/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": "../../../tsconfig.base.json",
"include": ["./"],
"compilerOptions": {
"rootDir": "./",
"baseUrl": "../",
"noEmit": true,
"jsx": "react-jsx"
},
"references": [
{
"path": "../src"
},
{
"path": "../../snapshot-tests"
}
]
}
18 changes: 3 additions & 15 deletions packages/fluent-ui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src"],
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib",
"baseUrl": "./",
"jsx": "react-jsx",
// todo
// ../../node_modules/@chakra-ui/menu/dist/declarations/src/use-menu.d.ts:986:61 - error TS2694: Namespace '"react-jsonschema-form/node_modules/csstype/index".Property' has no exported member 'ColorAdjust'.
"skipLibCheck": true
},
"files": [],
"references": [
{
"path": "../core"
"path": "./src"
},
{
"path": "../utils"
},
{
"path": "../validator-ajv8"
"path": "./test"
}
]
}
23 changes: 23 additions & 0 deletions packages/material-ui/src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"extends": "../../../tsconfig.base.json",
"include": [
"./"
],
"compilerOptions": {
"rootDir": "./",
"outDir": "../lib",
"baseUrl": "../",
"jsx": "react-jsx"
},
"references": [
{
"path": "../../core"
},
{
"path": "../../utils"
},
{
"path": "../../validator-ajv8"
}
]
}
18 changes: 18 additions & 0 deletions packages/material-ui/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": "../../../tsconfig.base.json",
"include": ["./"],
"compilerOptions": {
"rootDir": "./",
"baseUrl": "../",
"noEmit": true,
"jsx": "react-jsx"
},
"references": [
{
"path": "../src"
},
{
"path": "../../snapshot-tests"
}
]
}
Loading

0 comments on commit ff26d36

Please sign in to comment.