diff --git a/build/tsconfig.json b/build/tsconfig.json new file mode 100644 index 0000000000..4710dcd6da --- /dev/null +++ b/build/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "module": "CommonJS", + "target": "ESNext", + "lib": ["ESNext"] + }, + "include": ["**/*.ts"] +} diff --git a/docs/tsconfig.json b/docs/tsconfig.json index 506a647434..d18c6aac06 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -1,83 +1,14 @@ { "compilerOptions": { - // "incremental": true, - // "composite": true, - // "tsBuildInfoFile": "./", - // "disableSourceOfProjectReferenceRedirect": true, - // "disableSolutionSearching": true, - // "disableReferencedProjectLoad": true, "target": "ESNext", - // "lib": [], - // "jsx": "preserve", - // "experimentalDecorators": true, - // "emitDecoratorMetadata": true, - // "jsxFactory": "", - // "jsxFragmentFactory": "", - // "jsxImportSource": "", - // "reactNamespace": "", - // "noLib": true, - // "useDefineForClassFields": true, "module": "ESNext", - // "rootDir": "./", - "moduleResolution": "node", - // "baseUrl": "./", - // "paths": {}, - // "rootDirs": [], - // "typeRoots": [], - // "types": [], - // "allowUmdGlobalAccess": true, + "moduleResolution": "Node", "resolveJsonModule": true, - // "noResolve": true, - // "allowJs": true, - // "checkJs": true, - // "maxNodeModuleJsDepth": 1, - // "declaration": true, - // "declarationMap": true, - // "emitDeclarationOnly": true, - // "sourceMap": true, - // "outFile": "./", - // "outDir": "./", - // "removeComments": true, - // "noEmit": true, - // "importHelpers": true, - // "importsNotUsedAsValues": "remove", - // "downlevelIteration": true, - // "sourceRoot": "", - // "mapRoot": "", - // "inlineSourceMap": true, - // "inlineSources": true, - // "emitBOM": true, - // "newLine": "crlf", - // "stripInternal": true, - // "noEmitHelpers": true, - // "noEmitOnError": true, - // "preserveConstEnums": true, - // "declarationDir": "./", - // "isolatedModules": true, "allowSyntheticDefaultImports": true, "esModuleInterop": true, - // "preserveSymlinks": true, "forceConsistentCasingInFileNames": true, "strict": true, "noImplicitAny": false, - // "strictNullChecks": true, - // "strictFunctionTypes": true, - // "strictBindCallApply": true, - // "strictPropertyInitialization": true, - // "noImplicitThis": true, - // "useUnknownInCatchVariables": true, - // "alwaysStrict": true, - // "noUnusedLocals": true, - // "noUnusedParameters": true, - // "exactOptionalPropertyTypes": true, - // "noImplicitReturns": true, - // "noFallthroughCasesInSwitch": true, - // "noUncheckedIndexedAccess": true, - // "noImplicitOverride": true, - // "noPropertyAccessFromIndexSignature": true, - // "allowUnusedLabels": true, - // "allowUnreachableCode": true, - // "skipDefaultLibCheck": true, "skipLibCheck": true }, "include": ["**/*", ".vitepress/**/*"], diff --git a/play/tsconfig.json b/play/tsconfig.json new file mode 100644 index 0000000000..d35f2979b9 --- /dev/null +++ b/play/tsconfig.json @@ -0,0 +1,13 @@ +{ + "compilerOptions": { + "strict": true, + "allowJs": true, + "module": "ESNext", + "lib": ["ESNext", "DOM"], + "types": ["../typings/global"], + "resolveJsonModule": true, + "moduleResolution": "Node", + "baseUrl": "." + }, + "include": ["**/*"] +} diff --git a/tsconfig.json b/tsconfig.json index e287cb79e5..723a7acc66 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,22 +1,20 @@ { "compilerOptions": { - "module": "commonjs", - "declaration": true, + "strict": true, + "module": "ES6", + "target": "ES6", "noImplicitAny": false, - "removeComments": true, - "moduleResolution": "node", + "declaration": true, + "moduleResolution": "Node", "esModuleInterop": true, "jsx": "preserve", - "noLib": false, - "target": "es6", "sourceMap": true, - "lib": ["ESNext", "DOM"], + "lib": ["ES2018", "DOM"], "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, - "strict": true, "skipLibCheck": true }, - "exclude": ["node_modules", "**/__tests__", "dist/**"] + "include": ["packages"], + "exclude": ["node_modules", "**/__test?__", "**/dist"] }