This commit is contained in:
Norbert de Langen 2022-05-03 10:36:17 +02:00
parent ce51edf057
commit ad056dc5b7
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762
53 changed files with 190 additions and 68 deletions

View File

@ -2,7 +2,9 @@
"extends": "../../tsconfig.json", "extends": "../../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"rootDir": "./src", "rootDir": "./src",
"types": ["jest"], "types": [
"jest"
],
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"strict": true, "strict": true,
"noUnusedLocals": true, "noUnusedLocals": true,
@ -10,7 +12,9 @@
"noImplicitReturns": true, "noImplicitReturns": true,
"noFallthroughCasesInSwitch": true "noFallthroughCasesInSwitch": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -4,7 +4,9 @@
"rootDir": "./src", "rootDir": "./src",
"types": ["jest"] "types": ["jest"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -3,7 +3,9 @@
"compilerOptions": { "compilerOptions": {
"rootDir": "./src" "rootDir": "./src"
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -4,7 +4,9 @@
"rootDir": "./src", "rootDir": "./src",
"types": ["jest", "node"] "types": ["jest", "node"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -5,7 +5,9 @@
"skipLibCheck": true, "skipLibCheck": true,
"types": ["jest", "node"] "types": ["jest", "node"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/__tests__/**/*", "src/**/__tests__/**/*",

View File

@ -4,7 +4,9 @@
"rootDir": "./src", "rootDir": "./src",
"types": ["jest", "node"] "types": ["jest", "node"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -3,7 +3,9 @@
"compilerOptions": { "compilerOptions": {
"rootDir": "./src" "rootDir": "./src"
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -4,7 +4,9 @@
"rootDir": "./src", "rootDir": "./src",
"types": ["jest"] "types": ["jest"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -4,7 +4,9 @@
"rootDir": "./src", "rootDir": "./src",
"types": ["@testing-library/jest-dom"] "types": ["@testing-library/jest-dom"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -3,7 +3,9 @@
"compilerOptions": { "compilerOptions": {
"rootDir": "./src" "rootDir": "./src"
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -3,7 +3,9 @@
"compilerOptions": { "compilerOptions": {
"rootDir": "./src" "rootDir": "./src"
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -6,6 +6,8 @@
"types": ["node"], "types": ["node"],
"declaration": true "declaration": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/__tests__/**/*"] "exclude": ["src/__tests__/**/*"]
} }

View File

@ -4,7 +4,9 @@
"rootDir": "./src", "rootDir": "./src",
"skipLibCheck": true "skipLibCheck": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -4,7 +4,9 @@
"rootDir": "./src", "rootDir": "./src",
"types": ["jest"] "types": ["jest"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -3,7 +3,9 @@
"compilerOptions": { "compilerOptions": {
"rootDir": "./src" "rootDir": "./src"
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -2,7 +2,8 @@
"extends": "../../tsconfig.json", "extends": "../../tsconfig.json",
"compileOnSave": false, "compileOnSave": false,
"compilerOptions": { "compilerOptions": {
"module": "ES2020", "target": "ES2020",
"module": "CommonJS",
"outDir": "dist", "outDir": "dist",
"types": ["node"], "types": ["node"],
"rootDir": "./src", "rootDir": "./src",
@ -10,5 +11,8 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"allowJs": true "allowJs": true
}, },
"include": ["src/**/*", "src/**/*.json"] "include": [
"src/**/*",
"src/**/*.json"
]
} }

View File

@ -1,9 +1,20 @@
{ {
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"types": ["webpack-env", "jest", "node"], "types": [
"typeRoots": ["../../node_modules/@types", "node_modules/@types"], "webpack-env",
"jest",
"node"
],
"typeRoots": [
"../../node_modules/@types",
"node_modules/@types"
],
"allowJs": true "allowJs": true
}, },
"include": ["**/*.test.ts", "**/*.d.ts", "setup-jest.ts"] "include": [
"**/*.test.ts",
"**/*.d.ts",
"setup-jest.ts"
]
} }

View File

@ -5,6 +5,11 @@
"types": ["node"], "types": ["node"],
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*", "package.json"], "include": [
"exclude": ["src/**/*.test.*"] "src/**/*",
"package.json"
],
"exclude": [
"src/**/*.test.*"
]
} }

View File

@ -4,6 +4,8 @@
"rootDir": "./src", "rootDir": "./src",
"types": ["node"] "types": ["node"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*", "src/__tests__/**/*"] "exclude": ["src/**/*.test.*", "src/__tests__/**/*"]
} }

View File

@ -5,6 +5,8 @@
"types": ["node"], "types": ["node"],
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*"] "exclude": ["src/**/*.test.*"]
} }

View File

@ -5,6 +5,8 @@
"types": ["node"], "types": ["node"],
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*", "src/**/__testfixtures__/**"] "exclude": ["src/**/*.test.*", "src/**/__testfixtures__/**"]
} }

View File

@ -4,6 +4,8 @@
"rootDir": "./src", "rootDir": "./src",
"types": ["node"] "types": ["node"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/__tests__/**/*"] "exclude": ["src/__tests__/**/*"]
} }

View File

@ -5,6 +5,8 @@
"types": ["node"], "types": ["node"],
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*"] "exclude": ["src/**/*.test.*"]
} }

View File

@ -5,6 +5,8 @@
"types": ["node"], "types": ["node"],
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*"] "exclude": ["src/**/*.test.*"]
} }

View File

@ -6,6 +6,8 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"skipLibCheck": true "skipLibCheck": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*"] "exclude": ["src/**/*.test.*"]
} }

View File

@ -4,6 +4,8 @@
"rootDir": "./src", "rootDir": "./src",
"types": ["node"] "types": ["node"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*", "src/__tests__/**/*"] "exclude": ["src/**/*.test.*", "src/__tests__/**/*"]
} }

View File

@ -6,11 +6,11 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"jsx": "react", "jsx": "react",
"target": "ES2020",
"module": "CommonJS", "module": "CommonJS",
"skipLibCheck": true, "skipLibCheck": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"esModuleInterop": true, "esModuleInterop": true,
"target": "ES2020",
"types": [ "types": [
"jest", "jest",
"node" "node"

View File

@ -6,11 +6,11 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"jsx": "react", "jsx": "react",
"module": "commonjs", "target": "ES2020",
"module": "CommonJS",
"skipLibCheck": true, "skipLibCheck": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"esModuleInterop": true, "esModuleInterop": true,
"target": "ES2020",
"types": [ "types": [
"jest", "jest",
"node" "node"

View File

@ -4,8 +4,9 @@
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"skipLibCheck": true, "skipLibCheck": true,
"target": "ES2020",
"module": "CommonJS",
"strict": true, "strict": true,
"target": "es5",
"lib": [ "lib": [
"dom", "dom",
"esnext" "esnext"
@ -14,11 +15,12 @@
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node", "moduleResolution": "node",
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true, "isolatedModules": true,
"noEmit": true "noEmit": true
}, },
"include": [ "src/*"] "include": [
"src/*"
]
} }

View File

@ -1,6 +1,8 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": ".", "baseUrl": ".",
"target": "ES2020",
"module": "CommonJS",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "preserve", "jsx": "preserve",
"skipLibCheck": true, "skipLibCheck": true,

View File

@ -1,6 +1,8 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": ".", "baseUrl": ".",
"target": "ES2020",
"module": "CommonJS",
"esModuleInterop": true, "esModuleInterop": true,
"skipLibCheck": true, "skipLibCheck": true,
"strict": true "strict": true

View File

@ -1,7 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "esnext", "target": "ES2020",
"module": "commonjs", "module": "CommonJS",
"strict": true, "strict": true,
"jsx": "preserve", "jsx": "preserve",
"importHelpers": true, "importHelpers": true,
@ -14,8 +14,21 @@
"paths": { "paths": {
"@/*": ["src/*"] "@/*": ["src/*"]
}, },
"lib": ["esnext", "dom", "dom.iterable", "scripthost"] "lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
}, },
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts", "tests/**/*.tsx"], "include": [
"exclude": ["node_modules"] "src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"tests/**/*.tsx"
],
"exclude": [
"node_modules"
]
} }

View File

@ -1,7 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "esnext", "target": "ES2020",
"module": "esnext", "module": "CommonJS",
"strict": true, "strict": true,
"jsx": "preserve", "jsx": "preserve",
"importHelpers": true, "importHelpers": true,

View File

@ -1,7 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "esnext", "target": "ES2020",
"module": "esnext", "module": "CommonJS",
"strict": true, "strict": true,
"moduleResolution": "node", "moduleResolution": "node",
"strictBindCallApply": true, "strictBindCallApply": true,

View File

@ -3,7 +3,9 @@
"compilerOptions": { "compilerOptions": {
"rootDir": "./src" "rootDir": "./src"
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -3,7 +3,9 @@
"compilerOptions": { "compilerOptions": {
"lib": ["ESNext", "DOM", "DOM.Iterable"] "lib": ["ESNext", "DOM", "DOM.Iterable"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": [ "exclude": [
"src/**/*.test.*", "src/**/*.test.*",
"src/**/tests/**/*", "src/**/tests/**/*",

View File

@ -4,6 +4,8 @@
"rootDir": "./src", "rootDir": "./src",
"types": ["node"] "types": ["node"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*", "src/__tests__/**/*"] "exclude": ["src/**/*.test.*", "src/__tests__/**/*"]
} }

View File

@ -5,6 +5,8 @@
"types": ["node"], "types": ["node"],
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*"] "exclude": ["src/**/*.test.*"]
} }

View File

@ -5,6 +5,8 @@
"types": ["node"], "types": ["node"],
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*", "src/**/__testfixtures__/**"] "exclude": ["src/**/*.test.*", "src/**/__testfixtures__/**"]
} }

View File

@ -4,6 +4,8 @@
"rootDir": "./src", "rootDir": "./src",
"types": ["node"] "types": ["node"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/__tests__/**/*"] "exclude": ["src/__tests__/**/*"]
} }

View File

@ -5,6 +5,8 @@
"types": ["node"], "types": ["node"],
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*"] "exclude": ["src/**/*.test.*"]
} }

View File

@ -6,6 +6,8 @@
"skipLibCheck": true, "skipLibCheck": true,
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*"] "exclude": ["src/**/*.test.*"]
} }

View File

@ -6,6 +6,8 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"skipLibCheck": true "skipLibCheck": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*"] "exclude": ["src/**/*.test.*"]
} }

View File

@ -4,6 +4,8 @@
"rootDir": "./src", "rootDir": "./src",
"types": ["node"] "types": ["node"]
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*", "src/__tests__/**/*"] "exclude": ["src/**/*.test.*", "src/__tests__/**/*"]
} }

View File

@ -4,6 +4,8 @@
"rootDir": "./src", "rootDir": "./src",
"types": [] "types": []
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*", "src/__tests__/**/*"] "exclude": ["src/**/*.test.*", "src/__tests__/**/*"]
} }

View File

@ -4,6 +4,8 @@
"rootDir": "./src", "rootDir": "./src",
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*"] "exclude": ["src/**/*.test.*"]
} }

View File

@ -4,6 +4,8 @@
"rootDir": "./src", "rootDir": "./src",
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*", "src/**/__testfixtures__/**"] "exclude": ["src/**/*.test.*", "src/**/__testfixtures__/**"]
} }

View File

@ -3,6 +3,8 @@
"compilerOptions": { "compilerOptions": {
"rootDir": "./src" "rootDir": "./src"
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/__tests__/**/*"] "exclude": ["src/__tests__/**/*"]
} }

View File

@ -5,6 +5,8 @@
"types": ["node"], "types": ["node"],
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*"] "exclude": ["src/**/*.test.*"]
} }

View File

@ -4,6 +4,8 @@
"rootDir": "./src", "rootDir": "./src",
"resolveJsonModule": true "resolveJsonModule": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*"] "exclude": ["src/**/*.test.*"]
} }

View File

@ -5,6 +5,8 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"skipLibCheck": true "skipLibCheck": true
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*"] "exclude": ["src/**/*.test.*"]
} }

View File

@ -3,6 +3,8 @@
"compilerOptions": { "compilerOptions": {
"rootDir": "./src" "rootDir": "./src"
}, },
"include": ["src/**/*"], "include": [
"src/**/*"
],
"exclude": ["src/**/*.test.*", "src/__tests__/**/*"] "exclude": ["src/**/*.test.*", "src/__tests__/**/*"]
} }

View File

@ -8,19 +8,18 @@
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"jsx": "react", "jsx": "react",
"moduleResolution": "Node", "moduleResolution": "Node",
"target": "ES2020",
"module": "CommonJS", "module": "CommonJS",
"skipLibCheck": false, "skipLibCheck": false,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"esModuleInterop": true, "esModuleInterop": true,
"isolatedModules": true, "isolatedModules": true,
"target": "ES2015",
"types": [ "types": [
"jest" "jest"
], ],
"lib": [ "lib": [
"es2019",
"dom", "dom",
"ESNext" "esnext"
] ]
}, },
"exclude": [ "exclude": [