From 19de47f2db05f70442f90f8a72df50dca4cf08ae Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Tue, 4 Dec 2018 16:24:25 -0800 Subject: [PATCH] Fix paths showConfig, exhaustively test showConfig --- src/compiler/commandLineParser.ts | 4 +- src/testRunner/unittests/showConfig.ts | 129 +++++++++++++++++- .../tsconfig.json | 36 +++++ .../all/tsconfig.json | 3 + .../allowJs/tsconfig.json | 5 + .../tsconfig.json | 5 + .../allowUnreachableCode/tsconfig.json | 5 + .../allowUnusedLabels/tsconfig.json | 5 + .../alwaysStrict/tsconfig.json | 5 + .../baseUrl/tsconfig.json | 5 + .../build/tsconfig.json | 3 + .../charset/tsconfig.json | 5 + .../checkJs/tsconfig.json | 5 + .../composite/tsconfig.json | 5 + .../declaration/tsconfig.json | 5 + .../declarationDir/tsconfig.json | 5 + .../declarationMap/tsconfig.json | 5 + .../diagnostics/tsconfig.json | 5 + .../disableSizeLimit/tsconfig.json | 5 + .../downlevelIteration/tsconfig.json | 5 + .../emitBOM/tsconfig.json | 5 + .../emitDeclarationOnly/tsconfig.json | 5 + .../emitDecoratorMetadata/tsconfig.json | 5 + .../esModuleInterop/tsconfig.json | 5 + .../experimentalDecorators/tsconfig.json | 5 + .../extendedDiagnostics/tsconfig.json | 5 + .../tsconfig.json | 5 + .../help/tsconfig.json | 3 + .../importHelpers/tsconfig.json | 5 + .../init/tsconfig.json | 3 + .../inlineSourceMap/tsconfig.json | 5 + .../inlineSources/tsconfig.json | 5 + .../isolatedModules/tsconfig.json | 5 + .../jsx/tsconfig.json | 5 + .../jsxFactory/tsconfig.json | 5 + .../keyofStringsOnly/tsconfig.json | 5 + .../lib/tsconfig.json | 5 + .../listEmittedFiles/tsconfig.json | 3 + .../listFiles/tsconfig.json | 3 + .../locale/tsconfig.json | 5 + .../mapRoot/tsconfig.json | 5 + .../maxNodeModuleJsDepth/tsconfig.json | 5 + .../module/tsconfig.json | 5 + .../moduleResolution/tsconfig.json | 5 + .../newLine/tsconfig.json | 5 + .../noEmit/tsconfig.json | 5 + .../noEmitHelpers/tsconfig.json | 5 + .../noEmitOnError/tsconfig.json | 5 + .../noErrorTruncation/tsconfig.json | 5 + .../noFallthroughCasesInSwitch/tsconfig.json | 5 + .../noImplicitAny/tsconfig.json | 5 + .../noImplicitReturns/tsconfig.json | 5 + .../noImplicitThis/tsconfig.json | 5 + .../noImplicitUseStrict/tsconfig.json | 5 + .../noLib/tsconfig.json | 5 + .../noResolve/tsconfig.json | 5 + .../noStrictGenericChecks/tsconfig.json | 5 + .../noUnusedLocals/tsconfig.json | 5 + .../noUnusedParameters/tsconfig.json | 5 + .../out/tsconfig.json | 5 + .../outDir/tsconfig.json | 5 + .../outFile/tsconfig.json | 5 + .../paths/tsconfig.json | 5 + .../plugins/tsconfig.json | 5 + .../preserveConstEnums/tsconfig.json | 5 + .../preserveSymlinks/tsconfig.json | 5 + .../preserveWatchOutput/tsconfig.json | 5 + .../pretty/tsconfig.json | 3 + .../project/tsconfig.json | 3 + .../reactNamespace/tsconfig.json | 5 + .../removeComments/tsconfig.json | 5 + .../resolveJsonModule/tsconfig.json | 5 + .../rootDir/tsconfig.json | 5 + .../rootDirs/tsconfig.json | 5 + .../showConfig/tsconfig.json | 3 + .../skipDefaultLibCheck/tsconfig.json | 5 + .../skipLibCheck/tsconfig.json | 5 + .../sourceMap/tsconfig.json | 5 + .../sourceRoot/tsconfig.json | 5 + .../strict/tsconfig.json | 5 + .../strictBindCallApply/tsconfig.json | 5 + .../strictFunctionTypes/tsconfig.json | 5 + .../strictNullChecks/tsconfig.json | 5 + .../tsconfig.json | 5 + .../stripInternal/tsconfig.json | 5 + .../tsconfig.json | 5 + .../tsconfig.json | 5 + .../target/tsconfig.json | 5 + .../traceResolution/tsconfig.json | 5 + .../typeRoots/tsconfig.json | 5 + .../types/tsconfig.json | 5 + .../version/tsconfig.json | 3 + .../watch/tsconfig.json | 3 + 93 files changed, 590 insertions(+), 7 deletions(-) create mode 100644 tests/baselines/reference/showConfig/Show TSConfig with paths and more/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/all/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/allowJs/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/allowSyntheticDefaultImports/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/allowUnreachableCode/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/allowUnusedLabels/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/alwaysStrict/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/baseUrl/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/build/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/charset/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/checkJs/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/composite/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/declaration/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/declarationDir/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/declarationMap/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/diagnostics/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/disableSizeLimit/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/downlevelIteration/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/emitBOM/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/emitDeclarationOnly/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/emitDecoratorMetadata/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/esModuleInterop/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/experimentalDecorators/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/extendedDiagnostics/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/forceConsistentCasingInFileNames/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/help/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/importHelpers/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/init/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/inlineSourceMap/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/inlineSources/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/isolatedModules/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/jsx/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/jsxFactory/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/keyofStringsOnly/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/lib/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/listEmittedFiles/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/listFiles/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/locale/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/mapRoot/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/maxNodeModuleJsDepth/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/module/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/moduleResolution/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/newLine/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noEmit/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noEmitHelpers/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noEmitOnError/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noErrorTruncation/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noFallthroughCasesInSwitch/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitAny/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitReturns/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitThis/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitUseStrict/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noLib/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noResolve/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noStrictGenericChecks/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noUnusedLocals/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/noUnusedParameters/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/out/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/outDir/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/outFile/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/paths/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/plugins/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/preserveConstEnums/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/preserveSymlinks/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/preserveWatchOutput/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/pretty/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/project/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/reactNamespace/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/removeComments/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/resolveJsonModule/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/rootDir/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/rootDirs/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/showConfig/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/skipDefaultLibCheck/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/skipLibCheck/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/sourceMap/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/sourceRoot/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/strict/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/strictBindCallApply/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/strictFunctionTypes/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/strictNullChecks/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/strictPropertyInitialization/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/stripInternal/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/suppressExcessPropertyErrors/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/suppressImplicitAnyIndexErrors/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/target/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/traceResolution/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/typeRoots/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/types/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/version/tsconfig.json create mode 100644 tests/baselines/reference/showConfig/Shows tsconfig for single option/watch/tsconfig.json diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 8ca93fdab80..a44fad2538b 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -1693,6 +1693,8 @@ namespace ts { listFiles: undefined, listEmittedFiles: undefined, project: undefined, + build: undefined, + version: undefined, }, references: map(configParseResult.projectReferences, r => ({ ...r, path: r.originalPath, originalPath: undefined })), files: length(files) ? files : undefined, @@ -1730,7 +1732,7 @@ namespace ts { } function getCustomTypeMapOfCommandLineOption(optionDefinition: CommandLineOption): Map | undefined { - if (optionDefinition.type === "string" || optionDefinition.type === "number" || optionDefinition.type === "boolean") { + if (optionDefinition.type === "string" || optionDefinition.type === "number" || optionDefinition.type === "boolean" || optionDefinition.type === "object") { // this is of a type CommandLineOptionOfPrimitiveType return undefined; } diff --git a/src/testRunner/unittests/showConfig.ts b/src/testRunner/unittests/showConfig.ts index a2b5bb10258..4040e6563a8 100644 --- a/src/testRunner/unittests/showConfig.ts +++ b/src/testRunner/unittests/showConfig.ts @@ -1,12 +1,34 @@ namespace ts { - describe("showTSConfig", () => { - function showTSConfigCorrectly(name: string, commandLinesArgs: string[]) { + describe("showConfig", () => { + function showTSConfigCorrectly(name: string, commandLinesArgs: string[], configJson?: object) { describe(name, () => { - const commandLine = parseCommandLine(commandLinesArgs); - const initResult = convertToTSConfig(commandLine, `/${name}/tsconfig.json`, { getCurrentDirectory() { return `/${name}`; }, useCaseSensitiveFileNames: true }); - const outputFileName = `showConfig/${name.replace(/[^a-z0-9\-. ]/ig, "")}/tsconfig.json`; + const outputFileName = `showConfig/${name.replace(/[^a-z0-9\-./ ]/ig, "")}/tsconfig.json`; it(`Correct output for ${outputFileName}`, () => { + const cwd = `/${name}`; + const configPath = combinePaths(cwd, "tsconfig.json"); + const configContents = configJson ? JSON.stringify(configJson) : undefined; + const configParseHost: ParseConfigFileHost = { + fileExists: path => + comparePaths(getNormalizedAbsolutePath(path, cwd), configPath) === Comparison.EqualTo ? true : false, + getCurrentDirectory() { return cwd; }, + useCaseSensitiveFileNames: true, + onUnRecoverableConfigFileDiagnostic: d => { + throw new Error(flattenDiagnosticMessageText(d.messageText, "\n")); + }, + readDirectory() { return []; }, + readFile: path => + comparePaths(getNormalizedAbsolutePath(path, cwd), configPath) === Comparison.EqualTo ? configContents : undefined, + }; + let commandLine = parseCommandLine(commandLinesArgs); + if (commandLine.options.project) { + const result = getParsedCommandLineOfConfigFile(commandLine.options.project, commandLine.options, configParseHost); + if (result) { + commandLine = result; + } + } + const initResult = convertToTSConfig(commandLine, configPath, configParseHost); + // tslint:disable-next-line:no-null-keyword Harness.Baseline.runBaseline(outputFileName, JSON.stringify(initResult, null, 4) + "\n"); }); @@ -30,5 +52,100 @@ namespace ts { showTSConfigCorrectly("Show TSConfig with incorrect compiler option value", ["--showConfig", "--lib", "nonExistLib,es5,es2015.promise"]); showTSConfigCorrectly("Show TSConfig with advanced options", ["--showConfig", "--declaration", "--declarationDir", "lib", "--skipLibCheck", "--noErrorTruncation"]); + + // Regression test for https://github.com/Microsoft/TypeScript/issues/28836 + showTSConfigCorrectly("Show TSConfig with paths and more", ["-p", "tsconfig.json"], { + compilerOptions: { + allowJs: true, + outDir: "./lib", + esModuleInterop: true, + module: "commonjs", + moduleResolution: "node", + target: "ES2017", + sourceMap: true, + baseUrl: ".", + paths: { + "@root/*": ["./*"], + "@configs/*": ["src/configs/*"], + "@common/*": ["src/common/*"], + "*": [ + "node_modules/*", + "src/types/*" + ] + }, + experimentalDecorators: true, + emitDecoratorMetadata: true, + resolveJsonModule: true + }, + include: [ + "./src/**/*" + ] +}); + + // Bulk validation of all option declarations + for (const option of optionDeclarations) { + if (option.name === "project") continue; + let configObject: object | undefined; + let args: string[]; + switch (option.type) { + case "boolean": { + if (option.isTSConfigOnly) { + args = ["-p", "tsconfig.json"]; + configObject = { compilerOptions: { [option.name]: true } }; + } + else { + args = [`--${option.name}`]; + } + break; + } + case "list": { + if (option.isTSConfigOnly) { + args = ["-p", "tsconfig.json"]; + configObject = { compilerOptions: { [option.name]: [] } }; + } + else { + args = [`--${option.name}`]; + } + break; + } + case "string": { + if (option.isTSConfigOnly) { + args = ["-p", "tsconfig.json"]; + configObject = { compilerOptions: { [option.name]: "someString" } }; + } + else { + args = [`--${option.name}`, "someString"]; + } + break; + } + case "number": { + if (option.isTSConfigOnly) { + args = ["-p", "tsconfig.json"]; + configObject = { compilerOptions: { [option.name]: 0 } }; + } + else { + args = [`--${option.name}`, "0"]; + } + break; + } + case "object": { + args = ["-p", "tsconfig.json"]; + configObject = { compilerOptions: { [option.name]: {} } }; + break; + } + default: { + const val = option.type.keys().next().value; + if (option.isTSConfigOnly) { + args = ["-p", "tsconfig.json"]; + configObject = { compilerOptions: { [option.name]: val } }; + } + else { + args = [`--${option.name}`, val]; + } + break; + } + } + showTSConfigCorrectly(`Shows tsconfig for single option/${option.name}`, args, configObject); + } }); -} \ No newline at end of file +} diff --git a/tests/baselines/reference/showConfig/Show TSConfig with paths and more/tsconfig.json b/tests/baselines/reference/showConfig/Show TSConfig with paths and more/tsconfig.json new file mode 100644 index 00000000000..dc6c7ab7abb --- /dev/null +++ b/tests/baselines/reference/showConfig/Show TSConfig with paths and more/tsconfig.json @@ -0,0 +1,36 @@ +{ + "compilerOptions": { + "allowJs": true, + "outDir": "./lib", + "esModuleInterop": true, + "module": "commonjs", + "moduleResolution": "node", + "target": "es2017", + "sourceMap": true, + "baseUrl": "./", + "paths": { + "@root/*": [ + "./*" + ], + "@configs/*": [ + "src/configs/*" + ], + "@common/*": [ + "src/common/*" + ], + "*": [ + "node_modules/*", + "src/types/*" + ] + }, + "experimentalDecorators": true, + "emitDecoratorMetadata": true, + "resolveJsonModule": true + }, + "include": [ + "./src/**/*" + ], + "exclude": [ + "./lib" + ] +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/all/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/all/tsconfig.json new file mode 100644 index 00000000000..cd727e8ccdc --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/all/tsconfig.json @@ -0,0 +1,3 @@ +{ + "compilerOptions": {} +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/allowJs/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/allowJs/tsconfig.json new file mode 100644 index 00000000000..30d4135f151 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/allowJs/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "allowJs": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/allowSyntheticDefaultImports/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/allowSyntheticDefaultImports/tsconfig.json new file mode 100644 index 00000000000..70f49aa0a08 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/allowSyntheticDefaultImports/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "allowSyntheticDefaultImports": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/allowUnreachableCode/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/allowUnreachableCode/tsconfig.json new file mode 100644 index 00000000000..689e956526d --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/allowUnreachableCode/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "allowUnreachableCode": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/allowUnusedLabels/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/allowUnusedLabels/tsconfig.json new file mode 100644 index 00000000000..2aeff65ad78 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/allowUnusedLabels/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "allowUnusedLabels": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/alwaysStrict/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/alwaysStrict/tsconfig.json new file mode 100644 index 00000000000..1a755fcd059 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/alwaysStrict/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "alwaysStrict": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/baseUrl/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/baseUrl/tsconfig.json new file mode 100644 index 00000000000..7f78d5d65ef --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/baseUrl/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "baseUrl": "./someString" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/build/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/build/tsconfig.json new file mode 100644 index 00000000000..cd727e8ccdc --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/build/tsconfig.json @@ -0,0 +1,3 @@ +{ + "compilerOptions": {} +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/charset/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/charset/tsconfig.json new file mode 100644 index 00000000000..2bc8201b661 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/charset/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "charset": "someString" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/checkJs/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/checkJs/tsconfig.json new file mode 100644 index 00000000000..21d7a1d2268 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/checkJs/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "checkJs": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/composite/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/composite/tsconfig.json new file mode 100644 index 00000000000..664df5f6051 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/composite/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "composite": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/declaration/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/declaration/tsconfig.json new file mode 100644 index 00000000000..d5f8d1fb3f3 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/declaration/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "declaration": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/declarationDir/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/declarationDir/tsconfig.json new file mode 100644 index 00000000000..00dee9b8473 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/declarationDir/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "declarationDir": "./someString" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/declarationMap/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/declarationMap/tsconfig.json new file mode 100644 index 00000000000..2f7fcec4c90 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/declarationMap/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "declarationMap": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/diagnostics/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/diagnostics/tsconfig.json new file mode 100644 index 00000000000..212fa702823 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/diagnostics/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "diagnostics": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/disableSizeLimit/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/disableSizeLimit/tsconfig.json new file mode 100644 index 00000000000..e5099232b8e --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/disableSizeLimit/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "disableSizeLimit": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/downlevelIteration/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/downlevelIteration/tsconfig.json new file mode 100644 index 00000000000..2bcb5a9745d --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/downlevelIteration/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "downlevelIteration": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/emitBOM/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/emitBOM/tsconfig.json new file mode 100644 index 00000000000..6c6a91873e9 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/emitBOM/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "emitBOM": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/emitDeclarationOnly/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/emitDeclarationOnly/tsconfig.json new file mode 100644 index 00000000000..9149038f8a7 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/emitDeclarationOnly/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "emitDeclarationOnly": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/emitDecoratorMetadata/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/emitDecoratorMetadata/tsconfig.json new file mode 100644 index 00000000000..f303570ba2e --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/emitDecoratorMetadata/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "emitDecoratorMetadata": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/esModuleInterop/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/esModuleInterop/tsconfig.json new file mode 100644 index 00000000000..a72ee3e88b6 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/esModuleInterop/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "esModuleInterop": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/experimentalDecorators/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/experimentalDecorators/tsconfig.json new file mode 100644 index 00000000000..cd4d4102338 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/experimentalDecorators/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "experimentalDecorators": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/extendedDiagnostics/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/extendedDiagnostics/tsconfig.json new file mode 100644 index 00000000000..10ad78f2a26 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/extendedDiagnostics/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "extendedDiagnostics": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/forceConsistentCasingInFileNames/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/forceConsistentCasingInFileNames/tsconfig.json new file mode 100644 index 00000000000..88b1f317093 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/forceConsistentCasingInFileNames/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "forceConsistentCasingInFileNames": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/help/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/help/tsconfig.json new file mode 100644 index 00000000000..cd727e8ccdc --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/help/tsconfig.json @@ -0,0 +1,3 @@ +{ + "compilerOptions": {} +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/importHelpers/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/importHelpers/tsconfig.json new file mode 100644 index 00000000000..3a5ab7b4af0 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/importHelpers/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "importHelpers": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/init/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/init/tsconfig.json new file mode 100644 index 00000000000..cd727e8ccdc --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/init/tsconfig.json @@ -0,0 +1,3 @@ +{ + "compilerOptions": {} +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/inlineSourceMap/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/inlineSourceMap/tsconfig.json new file mode 100644 index 00000000000..40d719d22de --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/inlineSourceMap/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "inlineSourceMap": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/inlineSources/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/inlineSources/tsconfig.json new file mode 100644 index 00000000000..05467464c96 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/inlineSources/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "inlineSources": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/isolatedModules/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/isolatedModules/tsconfig.json new file mode 100644 index 00000000000..78df38c5439 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/isolatedModules/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "isolatedModules": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/jsx/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/jsx/tsconfig.json new file mode 100644 index 00000000000..94e40481a5a --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/jsx/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "jsx": "preserve" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/jsxFactory/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/jsxFactory/tsconfig.json new file mode 100644 index 00000000000..a2afa006410 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/jsxFactory/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "jsxFactory": "someString" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/keyofStringsOnly/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/keyofStringsOnly/tsconfig.json new file mode 100644 index 00000000000..7e60194af7d --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/keyofStringsOnly/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "keyofStringsOnly": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/lib/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/lib/tsconfig.json new file mode 100644 index 00000000000..786e75e66e9 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/lib/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "lib": [] + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/listEmittedFiles/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/listEmittedFiles/tsconfig.json new file mode 100644 index 00000000000..cd727e8ccdc --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/listEmittedFiles/tsconfig.json @@ -0,0 +1,3 @@ +{ + "compilerOptions": {} +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/listFiles/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/listFiles/tsconfig.json new file mode 100644 index 00000000000..cd727e8ccdc --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/listFiles/tsconfig.json @@ -0,0 +1,3 @@ +{ + "compilerOptions": {} +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/locale/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/locale/tsconfig.json new file mode 100644 index 00000000000..0ef23f45b2e --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/locale/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "locale": "someString" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/mapRoot/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/mapRoot/tsconfig.json new file mode 100644 index 00000000000..ed171f0c20c --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/mapRoot/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "mapRoot": "someString" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/maxNodeModuleJsDepth/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/maxNodeModuleJsDepth/tsconfig.json new file mode 100644 index 00000000000..d107c9ade31 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/maxNodeModuleJsDepth/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "maxNodeModuleJsDepth": 0 + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/module/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/module/tsconfig.json new file mode 100644 index 00000000000..e7f1c93b4cc --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/module/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "module": "none" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/moduleResolution/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/moduleResolution/tsconfig.json new file mode 100644 index 00000000000..2476027cba2 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/moduleResolution/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "moduleResolution": "node" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/newLine/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/newLine/tsconfig.json new file mode 100644 index 00000000000..2c082971489 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/newLine/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "newLine": "crlf" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noEmit/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noEmit/tsconfig.json new file mode 100644 index 00000000000..5cdd4dcee48 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noEmit/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noEmit": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noEmitHelpers/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noEmitHelpers/tsconfig.json new file mode 100644 index 00000000000..479ed5f714f --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noEmitHelpers/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noEmitHelpers": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noEmitOnError/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noEmitOnError/tsconfig.json new file mode 100644 index 00000000000..c6c00cae80c --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noEmitOnError/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noEmitOnError": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noErrorTruncation/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noErrorTruncation/tsconfig.json new file mode 100644 index 00000000000..a0b362f4cfa --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noErrorTruncation/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noErrorTruncation": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noFallthroughCasesInSwitch/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noFallthroughCasesInSwitch/tsconfig.json new file mode 100644 index 00000000000..eebdaaec717 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noFallthroughCasesInSwitch/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noFallthroughCasesInSwitch": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitAny/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitAny/tsconfig.json new file mode 100644 index 00000000000..d60b8dc04e5 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitAny/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noImplicitAny": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitReturns/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitReturns/tsconfig.json new file mode 100644 index 00000000000..3c2f0d2f749 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitReturns/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noImplicitReturns": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitThis/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitThis/tsconfig.json new file mode 100644 index 00000000000..a473dda4c19 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitThis/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noImplicitThis": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitUseStrict/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitUseStrict/tsconfig.json new file mode 100644 index 00000000000..d17f848b7de --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noImplicitUseStrict/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noImplicitUseStrict": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noLib/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noLib/tsconfig.json new file mode 100644 index 00000000000..695884aeb49 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noLib/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noLib": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noResolve/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noResolve/tsconfig.json new file mode 100644 index 00000000000..cd3adb3703b --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noResolve/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noResolve": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noStrictGenericChecks/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noStrictGenericChecks/tsconfig.json new file mode 100644 index 00000000000..d0c2dca70cf --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noStrictGenericChecks/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noStrictGenericChecks": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noUnusedLocals/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noUnusedLocals/tsconfig.json new file mode 100644 index 00000000000..650a347f895 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noUnusedLocals/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noUnusedLocals": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/noUnusedParameters/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noUnusedParameters/tsconfig.json new file mode 100644 index 00000000000..340db0b6663 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/noUnusedParameters/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "noUnusedParameters": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/out/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/out/tsconfig.json new file mode 100644 index 00000000000..8b802528282 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/out/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "out": "someString" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/outDir/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/outDir/tsconfig.json new file mode 100644 index 00000000000..7823bcf72b8 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/outDir/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "outDir": "./someString" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/outFile/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/outFile/tsconfig.json new file mode 100644 index 00000000000..db851ac2fda --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/outFile/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "outFile": "./someString" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/paths/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/paths/tsconfig.json new file mode 100644 index 00000000000..c73368aa743 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/paths/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "paths": {} + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/plugins/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/plugins/tsconfig.json new file mode 100644 index 00000000000..2b1d90ccaf1 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/plugins/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "plugins": [] + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/preserveConstEnums/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/preserveConstEnums/tsconfig.json new file mode 100644 index 00000000000..9d6a1ec3011 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/preserveConstEnums/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "preserveConstEnums": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/preserveSymlinks/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/preserveSymlinks/tsconfig.json new file mode 100644 index 00000000000..c0614df69b4 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/preserveSymlinks/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "preserveSymlinks": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/preserveWatchOutput/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/preserveWatchOutput/tsconfig.json new file mode 100644 index 00000000000..79b91a4add5 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/preserveWatchOutput/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "preserveWatchOutput": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/pretty/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/pretty/tsconfig.json new file mode 100644 index 00000000000..cd727e8ccdc --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/pretty/tsconfig.json @@ -0,0 +1,3 @@ +{ + "compilerOptions": {} +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/project/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/project/tsconfig.json new file mode 100644 index 00000000000..cd727e8ccdc --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/project/tsconfig.json @@ -0,0 +1,3 @@ +{ + "compilerOptions": {} +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/reactNamespace/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/reactNamespace/tsconfig.json new file mode 100644 index 00000000000..e3d6898ae9f --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/reactNamespace/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "reactNamespace": "someString" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/removeComments/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/removeComments/tsconfig.json new file mode 100644 index 00000000000..f1b2574762f --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/removeComments/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "removeComments": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/resolveJsonModule/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/resolveJsonModule/tsconfig.json new file mode 100644 index 00000000000..65c3994d510 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/resolveJsonModule/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "resolveJsonModule": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/rootDir/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/rootDir/tsconfig.json new file mode 100644 index 00000000000..11eee2d8daf --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/rootDir/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "rootDir": "./someString" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/rootDirs/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/rootDirs/tsconfig.json new file mode 100644 index 00000000000..a2ce2057041 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/rootDirs/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "rootDirs": [] + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/showConfig/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/showConfig/tsconfig.json new file mode 100644 index 00000000000..cd727e8ccdc --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/showConfig/tsconfig.json @@ -0,0 +1,3 @@ +{ + "compilerOptions": {} +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/skipDefaultLibCheck/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/skipDefaultLibCheck/tsconfig.json new file mode 100644 index 00000000000..44c0e79ee7e --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/skipDefaultLibCheck/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "skipDefaultLibCheck": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/skipLibCheck/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/skipLibCheck/tsconfig.json new file mode 100644 index 00000000000..2c4213127d9 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/skipLibCheck/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "skipLibCheck": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/sourceMap/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/sourceMap/tsconfig.json new file mode 100644 index 00000000000..13573aec246 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/sourceMap/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "sourceMap": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/sourceRoot/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/sourceRoot/tsconfig.json new file mode 100644 index 00000000000..f0f481c3de5 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/sourceRoot/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "sourceRoot": "someString" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/strict/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/strict/tsconfig.json new file mode 100644 index 00000000000..8dc142972f8 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/strict/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "strict": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictBindCallApply/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictBindCallApply/tsconfig.json new file mode 100644 index 00000000000..765755da04a --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictBindCallApply/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "strictBindCallApply": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictFunctionTypes/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictFunctionTypes/tsconfig.json new file mode 100644 index 00000000000..95be94130db --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictFunctionTypes/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "strictFunctionTypes": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictNullChecks/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictNullChecks/tsconfig.json new file mode 100644 index 00000000000..c4d430eb449 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictNullChecks/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "strictNullChecks": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictPropertyInitialization/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictPropertyInitialization/tsconfig.json new file mode 100644 index 00000000000..a743e1332cb --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictPropertyInitialization/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "strictPropertyInitialization": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/stripInternal/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/stripInternal/tsconfig.json new file mode 100644 index 00000000000..19e614d7378 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/stripInternal/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "stripInternal": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/suppressExcessPropertyErrors/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/suppressExcessPropertyErrors/tsconfig.json new file mode 100644 index 00000000000..67287716230 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/suppressExcessPropertyErrors/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "suppressExcessPropertyErrors": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/suppressImplicitAnyIndexErrors/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/suppressImplicitAnyIndexErrors/tsconfig.json new file mode 100644 index 00000000000..ee0dedd44e2 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/suppressImplicitAnyIndexErrors/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "suppressImplicitAnyIndexErrors": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/target/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/target/tsconfig.json new file mode 100644 index 00000000000..7e6010a661a --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/target/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "target": "es3" + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/traceResolution/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/traceResolution/tsconfig.json new file mode 100644 index 00000000000..658a24dd18c --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/traceResolution/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "traceResolution": true + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/typeRoots/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/typeRoots/tsconfig.json new file mode 100644 index 00000000000..5704323b7a5 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/typeRoots/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "typeRoots": [] + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/types/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/types/tsconfig.json new file mode 100644 index 00000000000..56d9d8ed347 --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/types/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "types": [] + } +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/version/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/version/tsconfig.json new file mode 100644 index 00000000000..cd727e8ccdc --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/version/tsconfig.json @@ -0,0 +1,3 @@ +{ + "compilerOptions": {} +} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/watch/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/watch/tsconfig.json new file mode 100644 index 00000000000..cd727e8ccdc --- /dev/null +++ b/tests/baselines/reference/showConfig/Shows tsconfig for single option/watch/tsconfig.json @@ -0,0 +1,3 @@ +{ + "compilerOptions": {} +}