diff --git a/packages/antd/src/tsconfig.json b/packages/antd/src/tsconfig.json new file mode 100644 index 0000000000..01834bf1ab --- /dev/null +++ b/packages/antd/src/tsconfig.json @@ -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" + } + ] +} diff --git a/packages/antd/test/tsconfig.json b/packages/antd/test/tsconfig.json new file mode 100644 index 0000000000..5db560d2c3 --- /dev/null +++ b/packages/antd/test/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": ["./"], + "compilerOptions": { + "rootDir": "./", + "baseUrl": "../", + "noEmit": true, + "jsx": "react-jsx" + }, + "references": [ + { + "path": "../src" + }, + { + "path": "../../snapshot-tests" + } + ] +} diff --git a/packages/antd/tsconfig.json b/packages/antd/tsconfig.json index f687076020..82462dfbeb 100644 --- a/packages/antd/tsconfig.json +++ b/packages/antd/tsconfig.json @@ -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" } ] } diff --git a/packages/bootstrap-4/src/tsconfig.json b/packages/bootstrap-4/src/tsconfig.json new file mode 100644 index 0000000000..01834bf1ab --- /dev/null +++ b/packages/bootstrap-4/src/tsconfig.json @@ -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" + } + ] +} diff --git a/packages/bootstrap-4/test/tsconfig.json b/packages/bootstrap-4/test/tsconfig.json new file mode 100644 index 0000000000..5db560d2c3 --- /dev/null +++ b/packages/bootstrap-4/test/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": ["./"], + "compilerOptions": { + "rootDir": "./", + "baseUrl": "../", + "noEmit": true, + "jsx": "react-jsx" + }, + "references": [ + { + "path": "../src" + }, + { + "path": "../../snapshot-tests" + } + ] +} diff --git a/packages/bootstrap-4/tsconfig.json b/packages/bootstrap-4/tsconfig.json index f687076020..82462dfbeb 100644 --- a/packages/bootstrap-4/tsconfig.json +++ b/packages/bootstrap-4/tsconfig.json @@ -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" } ] } diff --git a/packages/chakra-ui/src/tsconfig.json b/packages/chakra-ui/src/tsconfig.json new file mode 100644 index 0000000000..31c0d6b759 --- /dev/null +++ b/packages/chakra-ui/src/tsconfig.json @@ -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" + } + ] +} diff --git a/packages/chakra-ui/test/tsconfig.json b/packages/chakra-ui/test/tsconfig.json new file mode 100644 index 0000000000..d825800ca7 --- /dev/null +++ b/packages/chakra-ui/test/tsconfig.json @@ -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" + } + ] +} diff --git a/packages/chakra-ui/tsconfig.json b/packages/chakra-ui/tsconfig.json index 6a8368f1c0..82462dfbeb 100644 --- a/packages/chakra-ui/tsconfig.json +++ b/packages/chakra-ui/tsconfig.json @@ -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" } ] } diff --git a/packages/core/src/tsconfig.json b/packages/core/src/tsconfig.json new file mode 100644 index 0000000000..d2e6a35741 --- /dev/null +++ b/packages/core/src/tsconfig.json @@ -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" + } + ] +} diff --git a/packages/core/test/tsconfig.json b/packages/core/test/tsconfig.json new file mode 100644 index 0000000000..3655ccd74d --- /dev/null +++ b/packages/core/test/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": ["./"], + "compilerOptions": { + "rootDir": "./", + "baseUrl": "../", + "noEmit": true, + "jsx": "react-jsx" + }, + "references": [ + { + "path": "../src" + }, + { + "path": "../../snapshot-tests" + }, + ] +} diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index de97216aac..82462dfbeb 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -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" } ] } diff --git a/packages/fluent-ui/src/tsconfig.json b/packages/fluent-ui/src/tsconfig.json new file mode 100644 index 0000000000..082969f863 --- /dev/null +++ b/packages/fluent-ui/src/tsconfig.json @@ -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" + } + ] +} diff --git a/packages/fluent-ui/test/tsconfig.json b/packages/fluent-ui/test/tsconfig.json new file mode 100644 index 0000000000..5db560d2c3 --- /dev/null +++ b/packages/fluent-ui/test/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": ["./"], + "compilerOptions": { + "rootDir": "./", + "baseUrl": "../", + "noEmit": true, + "jsx": "react-jsx" + }, + "references": [ + { + "path": "../src" + }, + { + "path": "../../snapshot-tests" + } + ] +} diff --git a/packages/fluent-ui/tsconfig.json b/packages/fluent-ui/tsconfig.json index 8ce761837d..82462dfbeb 100644 --- a/packages/fluent-ui/tsconfig.json +++ b/packages/fluent-ui/tsconfig.json @@ -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" } ] } diff --git a/packages/material-ui/src/tsconfig.json b/packages/material-ui/src/tsconfig.json new file mode 100644 index 0000000000..01834bf1ab --- /dev/null +++ b/packages/material-ui/src/tsconfig.json @@ -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" + } + ] +} diff --git a/packages/material-ui/test/tsconfig.json b/packages/material-ui/test/tsconfig.json new file mode 100644 index 0000000000..5db560d2c3 --- /dev/null +++ b/packages/material-ui/test/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": ["./"], + "compilerOptions": { + "rootDir": "./", + "baseUrl": "../", + "noEmit": true, + "jsx": "react-jsx" + }, + "references": [ + { + "path": "../src" + }, + { + "path": "../../snapshot-tests" + } + ] +} diff --git a/packages/material-ui/tsconfig.json b/packages/material-ui/tsconfig.json index f687076020..82462dfbeb 100644 --- a/packages/material-ui/tsconfig.json +++ b/packages/material-ui/tsconfig.json @@ -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" } ] } diff --git a/packages/mui/src/tsconfig.json b/packages/mui/src/tsconfig.json new file mode 100644 index 0000000000..01834bf1ab --- /dev/null +++ b/packages/mui/src/tsconfig.json @@ -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" + } + ] +} diff --git a/packages/mui/test/tsconfig.json b/packages/mui/test/tsconfig.json new file mode 100644 index 0000000000..5db560d2c3 --- /dev/null +++ b/packages/mui/test/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": ["./"], + "compilerOptions": { + "rootDir": "./", + "baseUrl": "../", + "noEmit": true, + "jsx": "react-jsx" + }, + "references": [ + { + "path": "../src" + }, + { + "path": "../../snapshot-tests" + } + ] +} diff --git a/packages/mui/tsconfig.json b/packages/mui/tsconfig.json index f687076020..82462dfbeb 100644 --- a/packages/mui/tsconfig.json +++ b/packages/mui/tsconfig.json @@ -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" } ] } diff --git a/packages/semantic-ui/src/tsconfig.json b/packages/semantic-ui/src/tsconfig.json new file mode 100644 index 0000000000..a4902ff38b --- /dev/null +++ b/packages/semantic-ui/src/tsconfig.json @@ -0,0 +1,26 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": [ + "./" + ], + "compilerOptions": { + "rootDir": "./", + "outDir": "../lib", + "baseUrl": "../", + "jsx": "react-jsx", + // todo: + // ../../node_modules/semantic-ui-react/dist/commonjs/generic.d.ts(73,73): error TS2344: Type 'TProps' does not satisfy the constraint 'Record'. + "skipLibCheck": true + }, + "references": [ + { + "path": "../../core" + }, + { + "path": "../../utils" + }, + { + "path": "../../validator-ajv8" + } + ] +} diff --git a/packages/semantic-ui/test/tsconfig.json b/packages/semantic-ui/test/tsconfig.json new file mode 100644 index 0000000000..5db560d2c3 --- /dev/null +++ b/packages/semantic-ui/test/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": ["./"], + "compilerOptions": { + "rootDir": "./", + "baseUrl": "../", + "noEmit": true, + "jsx": "react-jsx" + }, + "references": [ + { + "path": "../src" + }, + { + "path": "../../snapshot-tests" + } + ] +} diff --git a/packages/semantic-ui/tsconfig.json b/packages/semantic-ui/tsconfig.json index fa41e28bed..82462dfbeb 100644 --- a/packages/semantic-ui/tsconfig.json +++ b/packages/semantic-ui/tsconfig.json @@ -1,24 +1,12 @@ { "extends": "../../tsconfig.base.json", - "include": ["src"], - "compilerOptions": { - "rootDir": "./src", - "outDir": "./lib", - "baseUrl": "./", - "jsx": "react-jsx", - // todo: - // ../../node_modules/semantic-ui-react/dist/commonjs/generic.d.ts(73,73): error TS2344: Type 'TProps' does not satisfy the constraint 'Record'. - "skipLibCheck": true - }, + "files": [], "references": [ { - "path": "../core" + "path": "./src" }, { - "path": "../utils" - }, - { - "path": "../validator-ajv8" + "path": "./test" } ] } diff --git a/packages/utils/.gitignore b/packages/utils/.gitignore new file mode 100644 index 0000000000..70bcb98f15 --- /dev/null +++ b/packages/utils/.gitignore @@ -0,0 +1 @@ +lib-test diff --git a/packages/utils/src/tsconfig.json b/packages/utils/src/tsconfig.json new file mode 100644 index 0000000000..7ae2e0ab42 --- /dev/null +++ b/packages/utils/src/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": ["./"], + "compilerOptions": { + "rootDir": "./", + "outDir": "../lib", + "baseUrl": "../", + "jsx": "react-jsx" + } +} diff --git a/packages/utils/test/tsconfig.json b/packages/utils/test/tsconfig.json new file mode 100644 index 0000000000..a437f4ecba --- /dev/null +++ b/packages/utils/test/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": ["./"], + "compilerOptions": { + "rootDir": "./", + "baseUrl": "../", + // todo: noEmit: true + // maybe better to move this to some separate package + // this is needed for packages/validator-ajv8/test/utilsTests + "outDir": "../lib-test", + "jsx": "react-jsx" + }, + "references": [ + { + "path": "../src" + } + ] +} diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json index 0786a3f6bf..82462dfbeb 100644 --- a/packages/utils/tsconfig.json +++ b/packages/utils/tsconfig.json @@ -1,10 +1,12 @@ { "extends": "../../tsconfig.base.json", - "include": ["src"], - "compilerOptions": { - "rootDir": "./src", - "outDir": "./lib", - "baseUrl": "./", - "jsx": "react-jsx" - } + "files": [], + "references": [ + { + "path": "./src" + }, + { + "path": "./test" + } + ] } diff --git a/packages/validator-ajv6/src/tsconfig.json b/packages/validator-ajv6/src/tsconfig.json new file mode 100644 index 0000000000..2701b42ad7 --- /dev/null +++ b/packages/validator-ajv6/src/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": [ + "./" + ], + "compilerOptions": { + "rootDir": "./", + "outDir": "../lib", + "baseUrl": "../", + "jsx": "react-jsx" + }, + "references": [ + { + "path": "../../utils" + } + ] +} diff --git a/packages/validator-ajv6/test/tsconfig.json b/packages/validator-ajv6/test/tsconfig.json new file mode 100644 index 0000000000..ff0e009d67 --- /dev/null +++ b/packages/validator-ajv6/test/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": ["./", "./**/*.json"], + "compilerOptions": { + "rootDir": "./", + "noEmit": true, + "baseUrl": "../", + "jsx": "react-jsx" + }, + "references": [ + { + "path": "../src" + }, + { + "path": "../../utils/test" + } + ] +} diff --git a/packages/validator-ajv6/tsconfig.json b/packages/validator-ajv6/tsconfig.json index fb5bebb94c..82462dfbeb 100644 --- a/packages/validator-ajv6/tsconfig.json +++ b/packages/validator-ajv6/tsconfig.json @@ -1,15 +1,12 @@ { "extends": "../../tsconfig.base.json", - "include": ["src"], - "compilerOptions": { - "rootDir": "./src", - "outDir": "./lib", - "baseUrl": "./", - "jsx": "react-jsx" - }, + "files": [], "references": [ { - "path": "../utils" + "path": "./src" + }, + { + "path": "./test" } ] } diff --git a/packages/validator-ajv8/src/tsconfig.json b/packages/validator-ajv8/src/tsconfig.json new file mode 100644 index 0000000000..95445107e0 --- /dev/null +++ b/packages/validator-ajv8/src/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": ["./"], + "compilerOptions": { + "rootDir": "./", + "outDir": "../lib", + "baseUrl": "../", + "jsx": "react-jsx" + }, + "references": [ + { + "path": "../../utils" + } + ] +} diff --git a/packages/validator-ajv8/test/tsconfig.json b/packages/validator-ajv8/test/tsconfig.json new file mode 100644 index 0000000000..4ccf928f2c --- /dev/null +++ b/packages/validator-ajv8/test/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../tsconfig.base.json", + "include": ["./", "./**/*.json"], + "compilerOptions": { + "rootDir": "./", + "noEmit": true, + "resolveJsonModule": true, + "baseUrl": "../", + "jsx": "react-jsx" + }, + "references": [ + { + "path": "../src" + }, + { + "path": "../../utils/test" + } + ] +} diff --git a/packages/validator-ajv8/tsconfig.json b/packages/validator-ajv8/tsconfig.json index 3b8fddc6ad..82462dfbeb 100644 --- a/packages/validator-ajv8/tsconfig.json +++ b/packages/validator-ajv8/tsconfig.json @@ -1,16 +1,12 @@ { "extends": "../../tsconfig.base.json", - "include": ["src"], - "compilerOptions": { - "rootDir": "./src", - "outDir": "./lib", - "resolveJsonModule": true, - "baseUrl": "./", - "jsx": "react-jsx" - }, + "files": [], "references": [ { - "path": "../utils" + "path": "./src" + }, + { + "path": "./test" } ] }