diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 75be36474222f..66742c94f057e 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -338,6 +338,7 @@ import { getMembersOfDeclaration, getModifiers, getModuleInstanceState, + getModuleSpecifierOfBareOrAccessedRequire, getNameFromImportAttribute, getNameFromIndexInfo, getNameOfDeclaration, @@ -4713,7 +4714,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { ? location : (isModuleDeclaration(location) ? location : location.parent && isModuleDeclaration(location.parent) && location.parent.name === location ? location.parent : undefined)?.name || (isLiteralImportTypeNode(location) ? location : undefined)?.argument.literal || - (isVariableDeclaration(location) && location.initializer && isRequireCall(location.initializer, /*requireStringLiteralLikeArgument*/ true) ? location.initializer.arguments[0] : undefined) || + isVariableDeclarationInitializedToBareOrAccessedRequire(location) && getModuleSpecifierOfBareOrAccessedRequire(location) || findAncestor(location, isImportCall)?.arguments[0] || findAncestor(location, or(isImportDeclaration, isJSDocImportTag, isExportDeclaration))?.moduleSpecifier || findAncestor(location, isExternalModuleImportEqualsDeclaration)?.moduleReference.expression; diff --git a/src/compiler/program.ts b/src/compiler/program.ts index ed15f04c29268..bdfb8d0151bd7 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -4436,10 +4436,7 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro function getIgnoreDeprecationsVersion(): Version { const ignoreDeprecations = options.ignoreDeprecations; if (ignoreDeprecations) { - // While we could do Version.tryParse here to support any version, - // for now, only allow "5.0". We aren't planning on deprecating anything - // until 6.0. - if (ignoreDeprecations === "5.0") { + if (ignoreDeprecations === "5.0" || ignoreDeprecations === "6.0") { return new Version(ignoreDeprecations); } reportInvalidIgnoreDeprecations(); @@ -4527,6 +4524,12 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro createDeprecatedDiagnostic("preserveValueImports", /*value*/ undefined, "verbatimModuleSyntax"); } }); + + checkDeprecations("6.0", "7.0", createDiagnostic, createDeprecatedDiagnostic => { + if (options.moduleResolution === ModuleResolutionKind.Node10) { + createDeprecatedDiagnostic("moduleResolution", "node10"); + } + }); } function verifyDeprecatedProjectReference(ref: ProjectReference, parentFile: JsonSourceFile | undefined, index: number) { diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 1cfe3e04ba68d..545d908c03258 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -7330,6 +7330,9 @@ export enum ModuleResolutionKind { * Use the new name or consider switching to a modern module resolution target. */ NodeJs = 2, + /** + * @deprecated + */ Node10 = 2, // Starting with node12, node's module resolver has significant departures from traditional cjs resolution // to better support ECMAScript modules and their use within node - however more features are still being added. diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index 91e050754019b..3f79843f31a30 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -3824,6 +3824,20 @@ export function isBindingElementOfBareOrAccessedRequire(node: Node): node is Bin return isBindingElement(node) && isVariableDeclarationInitializedToBareOrAccessedRequire(node.parent.parent); } +/** @internal */ +export function getModuleSpecifierOfBareOrAccessedRequire(node: VariableDeclarationInitializedTo): StringLiteralLike | undefined { + if (isVariableDeclarationInitializedToRequire(node)) { + return node.initializer.arguments[0]; + } + if (isVariableDeclarationInitializedToBareOrAccessedRequire(node)) { + const leftmost = getLeftmostAccessExpression(node.initializer); + if (isRequireCall(leftmost, /*requireStringLiteralLikeArgument*/ true)) { + return leftmost.arguments[0]; + } + } + return undefined; +} + function isVariableDeclarationInitializedWithRequireHelper(node: Node, allowAccessedRequire: boolean) { return isVariableDeclaration(node) && !!node.initializer && @@ -8992,9 +9006,6 @@ const _computedOptions = createComputedCompilerOptions({ let moduleResolution = compilerOptions.moduleResolution; if (moduleResolution === undefined) { switch (_computedOptions.module.computeValue(compilerOptions)) { - case ModuleKind.CommonJS: - moduleResolution = ModuleResolutionKind.Node10; - break; case ModuleKind.Node16: case ModuleKind.Node18: case ModuleKind.Node20: @@ -9003,6 +9014,7 @@ const _computedOptions = createComputedCompilerOptions({ case ModuleKind.NodeNext: moduleResolution = ModuleResolutionKind.NodeNext; break; + case ModuleKind.CommonJS: case ModuleKind.Preserve: moduleResolution = ModuleResolutionKind.Bundler; break; diff --git a/src/server/protocol.ts b/src/server/protocol.ts index 99cef0ccb35c1..8fdd31e6f00f1 100644 --- a/src/server/protocol.ts +++ b/src/server/protocol.ts @@ -3269,6 +3269,7 @@ export const enum ModuleResolutionKind { Node = "node", /** @deprecated Renamed to `Node10` */ NodeJs = "node", + /** @deprecated */ Node10 = "node10", Node16 = "node16", NodeNext = "nodenext", diff --git a/src/services/completions.ts b/src/services/completions.ts index dc01ea8ede4b9..43ca7225a0229 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -4185,10 +4185,6 @@ function getCompletionData( return charactersFuzzyMatchInString(symbolName, lowerCaseTokenText); }, (info, symbolName, isFromAmbientModule, exportMapKey) => { - if (detailsEntryId && !some(info, i => detailsEntryId.source === stripQuotes(i.moduleSymbol.name))) { - return; - } - // Do a relatively cheap check to bail early if all re-exports are non-importable // due to file location or package.json dependency filtering. For non-node16+ // module resolution modes, getting past this point guarantees that we'll be @@ -4217,6 +4213,10 @@ function getCompletionData( ({ exportInfo = info[0], moduleSpecifier } = result); } + if (detailsEntryId && (detailsEntryId.source !== moduleSpecifier && !some(info, i => detailsEntryId.source === stripQuotes(i.moduleSymbol.name)))) { + return; + } + const isDefaultExport = exportInfo.exportKind === ExportKind.Default; const symbol = isDefaultExport && getLocalSymbolForExportDefault(Debug.checkDefined(exportInfo.symbol)) || Debug.checkDefined(exportInfo.symbol); diff --git a/src/services/stringCompletions.ts b/src/services/stringCompletions.ts index 6c5523ae1953c..b56a82ff76ecb 100644 --- a/src/services/stringCompletions.ts +++ b/src/services/stringCompletions.ts @@ -1067,8 +1067,9 @@ function getCompletionEntriesForNonRelativeModules( if (tryFileExists(host, packageFile)) { const packageJson = readJson(packageFile, host); const fragmentSubpath = components.join("/") + (components.length && hasTrailingDirectorySeparator(fragment) ? "/" : ""); - exportsOrImportsLookup((packageJson as MapLike).exports, fragmentSubpath, packageDirectory, /*isExports*/ true, /*isImports*/ false); - return; + if (exportsOrImportsLookup((packageJson as MapLike).exports, fragmentSubpath, packageDirectory, /*isExports*/ true, /*isImports*/ false)) { + return; + } } return nodeModulesDirectoryOrImportsLookup(ancestor); }; @@ -1079,9 +1080,10 @@ function getCompletionEntriesForNonRelativeModules( return arrayFrom(result.values()); - function exportsOrImportsLookup(lookupTable: unknown, fragment: string, baseDirectory: string, isExports: boolean, isImports: boolean) { + /** Returns true if the search should stop */ + function exportsOrImportsLookup(lookupTable: unknown, fragment: string, baseDirectory: string, isExports: boolean, isImports: boolean): boolean { if (typeof lookupTable !== "object" || lookupTable === null) { // eslint-disable-line no-restricted-syntax - return; // null lookupTable or entrypoint only + return lookupTable !== undefined; // null lookupTable or entrypoint only } const keys = getOwnKeys(lookupTable as MapLike); const conditions = getConditions(compilerOptions, mode); @@ -1105,6 +1107,7 @@ function getCompletionEntriesForNonRelativeModules( }, comparePatternKeys, ); + return true; } } diff --git a/src/testRunner/unittests/tscWatch/watchEnvironment.ts b/src/testRunner/unittests/tscWatch/watchEnvironment.ts index b033443af13ac..5611a24a12008 100644 --- a/src/testRunner/unittests/tscWatch/watchEnvironment.ts +++ b/src/testRunner/unittests/tscWatch/watchEnvironment.ts @@ -288,7 +288,7 @@ describe("unittests:: tscWatch:: watchEnvironment:: tsc-watch with different pol sys: () => { const configFile: File = { path: `/user/username/projects/myproject/tsconfig.json`, - content: "{}", + content: `{ "compilerOptions": { "moduleResolution": "node10" } }`, }; const file1: File = { path: `/user/username/projects/myproject/src/file1.ts`, diff --git a/src/testRunner/unittests/tsserver/autoImportProvider.ts b/src/testRunner/unittests/tsserver/autoImportProvider.ts index cc3d1e052045b..80672436897f0 100644 --- a/src/testRunner/unittests/tsserver/autoImportProvider.ts +++ b/src/testRunner/unittests/tsserver/autoImportProvider.ts @@ -188,6 +188,11 @@ describe("unittests:: tsserver:: autoImportProvider::", () => { // Create auto import provider project, ensure still !session.getProjectService().pendingEnsureProjectForOpenFiles host.writeFile(packageJson.path, packageJson.content); + // package.json was watched in --moduleResolution bundler + assert.isTrue(session.getProjectService().pendingEnsureProjectForOpenFiles); + host.runQueuedTimeoutCallbacks(); + assert.isFalse(session.getProjectService().pendingEnsureProjectForOpenFiles); + session.host.baselineHost("Before getPackageJsonAutoImportProvider"); hostProject.getPackageJsonAutoImportProvider(); assert.isFalse(session.getProjectService().pendingEnsureProjectForOpenFiles); diff --git a/src/testRunner/unittests/tsserver/completionsIncomplete.ts b/src/testRunner/unittests/tsserver/completionsIncomplete.ts index e11e5ebcfeec7..c94d606c970e3 100644 --- a/src/testRunner/unittests/tsserver/completionsIncomplete.ts +++ b/src/testRunner/unittests/tsserver/completionsIncomplete.ts @@ -49,7 +49,7 @@ const indexFile: File = { const tsconfigFile: File = { path: "/home/src/project/project/tsconfig.json", - content: `{ "compilerOptions": { "module": "commonjs" } }`, + content: `{ "compilerOptions": { "module": "commonjs", "moduleResolution": "node10" } }`, }; const packageJsonFile: File = { diff --git a/src/testRunner/unittests/tsserver/getEditsForFileRename.ts b/src/testRunner/unittests/tsserver/getEditsForFileRename.ts index 907bfbc528288..843cc1473fd4b 100644 --- a/src/testRunner/unittests/tsserver/getEditsForFileRename.ts +++ b/src/testRunner/unittests/tsserver/getEditsForFileRename.ts @@ -45,7 +45,7 @@ describe("unittests:: tsserver:: getEditsForFileRename::", () => { getDefaultLibFileName: options => ts.getDefaultLibFileName(options), readFile: path => host.readFile(path), fileExists: path => host.fileExists(path), - resolveModuleNames: (moduleNames, containingFile) => moduleNames.map(name => ts.resolveModuleName(name, containingFile, options, lsHost, moduleResolutionCache).resolvedModule), + resolveModuleNames: (moduleNames, containingFile) => moduleNames.map(name => ts.resolveModuleName(name, containingFile, options, lsHost, moduleResolutionCache, /*redirectedReference*/ undefined, ts.ModuleKind.CommonJS).resolvedModule), getResolvedModuleWithFailedLookupLocationsFromCache: (moduleName, containingFile, mode) => moduleResolutionCache.getFromDirectoryCache(moduleName, mode, ts.getDirectoryPath(containingFile), /*redirectedReference*/ undefined), }; const service = ts.createLanguageService(lsHost); diff --git a/src/testRunner/unittests/tsserver/typingsInstaller.ts b/src/testRunner/unittests/tsserver/typingsInstaller.ts index 797e61591c499..9d8747a45f245 100644 --- a/src/testRunner/unittests/tsserver/typingsInstaller.ts +++ b/src/testRunner/unittests/tsserver/typingsInstaller.ts @@ -2472,7 +2472,7 @@ describe("unittests:: tsserver:: typingsInstaller:: recomputing resolutions of u ts.server.updateProjectIfDirty(project); const program = project.getLanguageService().getProgram()!; const sourceFile = program.getSourceFileByPath(appPath)!; - const foooResolution = program.getResolvedModule(sourceFile, "fooo", /*mode*/ undefined)!.resolvedModule!; + const foooResolution = program.getResolvedModule(sourceFile, "fooo", ts.ModuleKind.CommonJS)!.resolvedModule!; project.writeLog(`Resolution from : ${sourceFile.fileName} for "fooo" goes to: ${jsonToReadableText(foooResolution)}`); return foooResolution; } diff --git a/tests/baselines/reference/allowImportingTsExtensions(moduleresolution=node10).errors.txt b/tests/baselines/reference/allowImportingTsExtensions(moduleresolution=node10).errors.txt deleted file mode 100644 index 755f0d6eebda9..0000000000000 --- a/tests/baselines/reference/allowImportingTsExtensions(moduleresolution=node10).errors.txt +++ /dev/null @@ -1,32 +0,0 @@ -/c.ts(1,16): error TS2307: Cannot find module './thisfiledoesnotexist.ts' or its corresponding type declarations. - - -==== /ts.ts (0 errors) ==== - export {}; - -==== /tsx.tsx (0 errors) ==== - export {}; - -==== /dts.d.ts (0 errors) ==== - export {}; - -==== /b.ts (0 errors) ==== - import {} from "./ts.js"; - import {} from "./ts.ts"; - import type {} from "./ts.d.ts"; - - import {} from "./tsx.js"; - import {} from "./tsx.jsx"; - import {} from "./tsx.ts"; - import {} from "./tsx.tsx"; - import type {} from "./tsx.d.ts"; - - import {} from "./dts.js"; - import {} from "./dts.ts"; - import type {} from "./dts.d.ts"; - -==== /c.ts (1 errors) ==== - import {} from "./thisfiledoesnotexist.ts"; - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -!!! error TS2307: Cannot find module './thisfiledoesnotexist.ts' or its corresponding type declarations. - \ No newline at end of file diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 943ff5e152290..8a7e849d9d3fd 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -2530,6 +2530,7 @@ declare namespace ts { Node = "node", /** @deprecated Renamed to `Node10` */ NodeJs = "node", + /** @deprecated */ Node10 = "node10", Node16 = "node16", NodeNext = "nodenext", @@ -6958,6 +6959,9 @@ declare namespace ts { * Use the new name or consider switching to a modern module resolution target. */ NodeJs = 2, + /** + * @deprecated + */ Node10 = 2, Node16 = 3, NodeNext = 99, diff --git a/tests/baselines/reference/cachedModuleResolution1.trace.json b/tests/baselines/reference/cachedModuleResolution1.trace.json index 6df054546772c..9b7e3f5ff7102 100644 --- a/tests/baselines/reference/cachedModuleResolution1.trace.json +++ b/tests/baselines/reference/cachedModuleResolution1.trace.json @@ -4,8 +4,15 @@ "File '/a/package.json' does not exist.", "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/a/b/c/d/e/package.json' does not exist.", + "File '/a/b/c/d/package.json' does not exist.", + "File '/a/b/c/package.json' does not exist.", + "File '/a/b/package.json' does not exist according to earlier cached lookups.", + "File '/a/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/a/b/c/d/e/node_modules' does not exist, skipping all lookups in it.", "Directory '/a/b/c/d/node_modules' does not exist, skipping all lookups in it.", @@ -16,8 +23,13 @@ "Resolving real path for '/a/b/node_modules/foo.d.ts', result '/a/b/node_modules/foo.d.ts'.", "======== Module name 'foo' was successfully resolved to '/a/b/node_modules/foo.d.ts'. ========", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", + "File '/a/b/package.json' does not exist according to earlier cached lookups.", + "File '/a/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Resolution for module 'foo' was found in cache from location '/a/b/c'.", "======== Module name 'foo' was successfully resolved to '/a/b/node_modules/foo.d.ts'. ========", diff --git a/tests/baselines/reference/cachedModuleResolution2.trace.json b/tests/baselines/reference/cachedModuleResolution2.trace.json index d65f34c9c39be..55c3cbce0426a 100644 --- a/tests/baselines/reference/cachedModuleResolution2.trace.json +++ b/tests/baselines/reference/cachedModuleResolution2.trace.json @@ -4,8 +4,13 @@ "File '/a/package.json' does not exist.", "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/a/b/c/package.json' does not exist.", + "File '/a/b/package.json' does not exist according to earlier cached lookups.", + "File '/a/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/a/b/c/node_modules' does not exist, skipping all lookups in it.", "File '/a/b/node_modules/foo.ts' does not exist.", @@ -14,8 +19,15 @@ "Resolving real path for '/a/b/node_modules/foo.d.ts', result '/a/b/node_modules/foo.d.ts'.", "======== Module name 'foo' was successfully resolved to '/a/b/node_modules/foo.d.ts'. ========", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/a/b/c/d/e/package.json' does not exist.", + "File '/a/b/c/d/package.json' does not exist.", + "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", + "File '/a/b/package.json' does not exist according to earlier cached lookups.", + "File '/a/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/a/b/c/d/e/node_modules' does not exist, skipping all lookups in it.", "Directory '/a/b/c/d/node_modules' does not exist, skipping all lookups in it.", diff --git a/tests/baselines/reference/cachedModuleResolution5.trace.json b/tests/baselines/reference/cachedModuleResolution5.trace.json index 1fbadddc7443b..2e0d99dddc863 100644 --- a/tests/baselines/reference/cachedModuleResolution5.trace.json +++ b/tests/baselines/reference/cachedModuleResolution5.trace.json @@ -4,8 +4,15 @@ "File '/a/package.json' does not exist.", "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/a/b/c/d/e/package.json' does not exist.", + "File '/a/b/c/d/package.json' does not exist.", + "File '/a/b/c/package.json' does not exist.", + "File '/a/b/package.json' does not exist according to earlier cached lookups.", + "File '/a/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/a/b/c/d/e/node_modules' does not exist, skipping all lookups in it.", "Directory '/a/b/c/d/node_modules' does not exist, skipping all lookups in it.", @@ -16,8 +23,12 @@ "Resolving real path for '/a/b/node_modules/foo.d.ts', result '/a/b/node_modules/foo.d.ts'.", "======== Module name 'foo' was successfully resolved to '/a/b/node_modules/foo.d.ts'. ========", "======== Resolving module 'foo' from '/a/b/lib.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/a/b/package.json' does not exist according to earlier cached lookups.", + "File '/a/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Resolution for module 'foo' was found in cache from location '/a/b'.", "======== Module name 'foo' was successfully resolved to '/a/b/node_modules/foo.d.ts'. ========", diff --git a/tests/baselines/reference/cachedModuleResolution6.trace.json b/tests/baselines/reference/cachedModuleResolution6.trace.json index 4c07ac4bd05b1..35fea9b82d7ab 100644 --- a/tests/baselines/reference/cachedModuleResolution6.trace.json +++ b/tests/baselines/reference/cachedModuleResolution6.trace.json @@ -1,7 +1,14 @@ [ "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/a/b/c/d/e/package.json' does not exist.", + "File '/a/b/c/d/package.json' does not exist.", + "File '/a/b/c/package.json' does not exist.", + "File '/a/b/package.json' does not exist.", + "File '/a/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/a/b/c/d/e/node_modules' does not exist, skipping all lookups in it.", "Directory '/a/b/c/d/node_modules' does not exist, skipping all lookups in it.", @@ -9,8 +16,7 @@ "Directory '/a/b/node_modules' does not exist, skipping all lookups in it.", "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Loading module 'foo' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "Directory '/a/b/c/d/e/node_modules' does not exist, skipping all lookups in it.", "Directory '/a/b/c/d/node_modules' does not exist, skipping all lookups in it.", "Directory '/a/b/c/node_modules' does not exist, skipping all lookups in it.", @@ -19,8 +25,13 @@ "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'foo' was not resolved. ========", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", + "File '/a/b/package.json' does not exist according to earlier cached lookups.", + "File '/a/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Resolution for module 'foo' was found in cache from location '/a/b/c'.", "======== Module name 'foo' was not resolved. ========", diff --git a/tests/baselines/reference/cachedModuleResolution7.trace.json b/tests/baselines/reference/cachedModuleResolution7.trace.json index f116d34c6905a..f1854b0776c6d 100644 --- a/tests/baselines/reference/cachedModuleResolution7.trace.json +++ b/tests/baselines/reference/cachedModuleResolution7.trace.json @@ -1,22 +1,33 @@ [ "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/a/b/c/package.json' does not exist.", + "File '/a/b/package.json' does not exist.", + "File '/a/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/a/b/c/node_modules' does not exist, skipping all lookups in it.", "Directory '/a/b/node_modules' does not exist, skipping all lookups in it.", "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Loading module 'foo' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "Directory '/a/b/c/node_modules' does not exist, skipping all lookups in it.", "Directory '/a/b/node_modules' does not exist, skipping all lookups in it.", "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'foo' was not resolved. ========", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/a/b/c/d/e/package.json' does not exist.", + "File '/a/b/c/d/package.json' does not exist.", + "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", + "File '/a/b/package.json' does not exist according to earlier cached lookups.", + "File '/a/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/a/b/c/d/e/node_modules' does not exist, skipping all lookups in it.", "Directory '/a/b/c/d/node_modules' does not exist, skipping all lookups in it.", diff --git a/tests/baselines/reference/commonSourceDir5.errors.txt b/tests/baselines/reference/commonSourceDir5.errors.txt new file mode 100644 index 0000000000000..f7ee068ce8474 --- /dev/null +++ b/tests/baselines/reference/commonSourceDir5.errors.txt @@ -0,0 +1,18 @@ +error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. + + +!!! error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. +==== A:/bar.ts (0 errors) ==== + import {z} from "./foo"; + export var x = z + z; + +==== A:/foo.ts (0 errors) ==== + import {pi} from "B:/baz"; + export var i = Math.sqrt(-1); + export var z = pi * pi; + +==== B:/baz.ts (0 errors) ==== + import {x} from "A:/bar"; + import {i} from "A:/foo"; + export var pi = Math.PI; + export var y = x * i; \ No newline at end of file diff --git a/tests/baselines/reference/completionsImport_asKeyword.baseline b/tests/baselines/reference/completionsImport_asKeyword.baseline index ab6cc8c862232..ee24469b2b1a6 100644 --- a/tests/baselines/reference/completionsImport_asKeyword.baseline +++ b/tests/baselines/reference/completionsImport_asKeyword.baseline @@ -293,7 +293,7 @@ "name": "1" }, "item": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -3947,6 +3947,7 @@ "data": { "exportName": "as", "exportMapKey": "2 * as ", + "moduleSpecifier": "./a", "fileName": "/a.ts" }, "displayParts": [ @@ -4199,7 +4200,7 @@ "name": "2" }, "item": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -7853,6 +7854,7 @@ "data": { "exportName": "as", "exportMapKey": "2 * as ", + "moduleSpecifier": "./a", "fileName": "/a.ts" }, "displayParts": [ diff --git a/tests/baselines/reference/completionsImport_satisfiesKeyword.baseline b/tests/baselines/reference/completionsImport_satisfiesKeyword.baseline index 9fbb9f3a3151d..47b794d2a291b 100644 --- a/tests/baselines/reference/completionsImport_satisfiesKeyword.baseline +++ b/tests/baselines/reference/completionsImport_satisfiesKeyword.baseline @@ -293,7 +293,7 @@ "name": "1" }, "item": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -3947,6 +3947,7 @@ "data": { "exportName": "satisfies", "exportMapKey": "9 * satisfies ", + "moduleSpecifier": "./a", "fileName": "/a.ts" }, "displayParts": [ @@ -4199,7 +4200,7 @@ "name": "2" }, "item": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -7853,6 +7854,7 @@ "data": { "exportName": "satisfies", "exportMapKey": "9 * satisfies ", + "moduleSpecifier": "./a", "fileName": "/a.ts" }, "displayParts": [ diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json index 7796a64971d56..18a7babc76d29 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json @@ -4,7 +4,6 @@ "target": "es5", "module": "commonjs", "strict": true, - "allowSyntheticDefaultImports": true, "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with paths and more/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with paths and more/tsconfig.json index a82c8761c8650..598b92b5eb8a9 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with paths and more/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with paths and more/tsconfig.json @@ -26,7 +26,8 @@ "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, - "allowSyntheticDefaultImports": true + "resolvePackageJsonExports": false, + "resolvePackageJsonImports": false }, "include": [ "./src/**/*" diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with transitively implied options/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with transitively implied options/tsconfig.json index c427e18fed52a..774b13aa29a76 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with transitively implied options/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with transitively implied options/tsconfig.json @@ -5,10 +5,6 @@ "moduleResolution": "nodenext", "moduleDetection": "force", "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "resolvePackageJsonExports": true, - "resolvePackageJsonImports": true, - "resolveJsonModule": true, "useDefineForClassFields": true } } diff --git a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/module/tsconfig.json b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/module/tsconfig.json index 6bd841bcf3291..8aa589286d383 100644 --- a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/module/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/module/tsconfig.json @@ -1,6 +1,10 @@ { "compilerOptions": { "module": "none", - "moduleResolution": "classic" + "moduleResolution": "classic", + "allowSyntheticDefaultImports": false, + "resolvePackageJsonExports": false, + "resolvePackageJsonImports": false, + "resolveJsonModule": false } } diff --git a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/moduleResolution/tsconfig.json b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/moduleResolution/tsconfig.json index 066d86238d22d..84e7539a3910a 100644 --- a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/moduleResolution/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/moduleResolution/tsconfig.json @@ -1,5 +1,9 @@ { "compilerOptions": { - "moduleResolution": "node10" + "moduleResolution": "node10", + "allowSyntheticDefaultImports": false, + "resolvePackageJsonExports": false, + "resolvePackageJsonImports": false, + "resolveJsonModule": false } } diff --git a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json index af4393c30fcdf..775d96b51e589 100644 --- a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json +++ b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module 'foo/use' from '/index.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'foo/use' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'foo/use' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/foo/package.json'.", "'package.json' does not have a 'typesVersions' field.", @@ -12,8 +14,10 @@ "Resolving real path for '/node_modules/foo/use.d.ts', result '/node_modules/foo/use.d.ts'.", "======== Module name 'foo/use' was successfully resolved to '/node_modules/foo/use.d.ts' with Package ID 'foo/use.d.ts@1.2.3'. ========", "======== Resolving module 'a' from '/index.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/a/package.json' does not exist.", "File '/node_modules/a.ts' does not exist.", @@ -26,8 +30,9 @@ "======== Module name 'a' was successfully resolved to '/node_modules/a/index.d.ts'. ========", "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "======== Resolving module './index' from '/node_modules/foo/use.d.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/node_modules/foo/index', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/node_modules/foo/index', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/node_modules/foo/index.ts' does not exist.", "File '/node_modules/foo/index.tsx' does not exist.", "File '/node_modules/foo/index.d.ts' exists - use it as a name resolution result.", @@ -36,10 +41,14 @@ "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "File '/node_modules/a/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/node_modules/a/index.d.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/node_modules/a/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/a/node_modules/foo/package.json'.", "File '/node_modules/a/node_modules/foo.ts' does not exist.", diff --git a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json index 02c88237bb6ad..10eb0457ab8a6 100644 --- a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json +++ b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module '@foo/bar/use' from '/index.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module '@foo/bar/use' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module '@foo/bar/use' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/@foo/bar/package.json'.", "'package.json' does not have a 'typesVersions' field.", @@ -12,8 +14,10 @@ "Resolving real path for '/node_modules/@foo/bar/use.d.ts', result '/node_modules/@foo/bar/use.d.ts'.", "======== Module name '@foo/bar/use' was successfully resolved to '/node_modules/@foo/bar/use.d.ts' with Package ID '@foo/bar/use.d.ts@1.2.3'. ========", "======== Resolving module 'a' from '/index.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/a/package.json' does not exist.", "File '/node_modules/a.ts' does not exist.", @@ -26,8 +30,9 @@ "======== Module name 'a' was successfully resolved to '/node_modules/a/index.d.ts'. ========", "File '/node_modules/@foo/bar/package.json' exists according to earlier cached lookups.", "======== Resolving module './index' from '/node_modules/@foo/bar/use.d.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/node_modules/@foo/bar/index', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/node_modules/@foo/bar/index', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/node_modules/@foo/bar/index.ts' does not exist.", "File '/node_modules/@foo/bar/index.tsx' does not exist.", "File '/node_modules/@foo/bar/index.d.ts' exists - use it as a name resolution result.", @@ -36,10 +41,14 @@ "File '/node_modules/@foo/bar/package.json' exists according to earlier cached lookups.", "File '/node_modules/a/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@foo/bar' from '/node_modules/a/index.d.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module '@foo/bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/node_modules/a/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module '@foo/bar' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/a/node_modules/@foo/bar/package.json'.", "File '/node_modules/a/node_modules/@foo/bar.ts' does not exist.", diff --git a/tests/baselines/reference/es6ExportEqualsInterop.errors.txt b/tests/baselines/reference/es6ExportEqualsInterop.errors.txt index b748ed82a706b..5d34ca0b7f131 100644 --- a/tests/baselines/reference/es6ExportEqualsInterop.errors.txt +++ b/tests/baselines/reference/es6ExportEqualsInterop.errors.txt @@ -1,16 +1,6 @@ main.ts(15,1): error TS2693: 'z1' only refers to a type, but is being used as a value here. main.ts(21,4): error TS2339: Property 'a' does not exist on type '() => any'. main.ts(23,4): error TS2339: Property 'a' does not exist on type 'typeof Foo'. -main.ts(27,8): error TS1259: Module '"interface"' can only be default-imported using the 'esModuleInterop' flag -main.ts(28,8): error TS1259: Module '"variable"' can only be default-imported using the 'esModuleInterop' flag -main.ts(29,8): error TS1259: Module '"interface-variable"' can only be default-imported using the 'esModuleInterop' flag -main.ts(30,8): error TS1259: Module '"module"' can only be default-imported using the 'esModuleInterop' flag -main.ts(31,8): error TS1259: Module '"interface-module"' can only be default-imported using the 'esModuleInterop' flag -main.ts(32,8): error TS1259: Module '"variable-module"' can only be default-imported using the 'esModuleInterop' flag -main.ts(33,8): error TS1259: Module '"function"' can only be default-imported using the 'esModuleInterop' flag -main.ts(34,8): error TS1259: Module '"function-module"' can only be default-imported using the 'esModuleInterop' flag -main.ts(35,8): error TS1259: Module '"class"' can only be default-imported using the 'esModuleInterop' flag -main.ts(36,8): error TS1259: Module '"class-module"' can only be default-imported using the 'esModuleInterop' flag main.ts(39,21): error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export. main.ts(45,21): error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export. main.ts(47,21): error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export. @@ -41,7 +31,7 @@ main.ts(105,15): error TS2498: Module '"class"' uses 'export =' and cannot be us main.ts(106,15): error TS2498: Module '"class-module"' uses 'export =' and cannot be used with 'export *'. -==== main.ts (41 errors) ==== +==== main.ts (31 errors) ==== /// // import-equals @@ -75,45 +65,15 @@ main.ts(106,15): error TS2498: Module '"class-module"' uses 'export =' and canno // default import import x1 from "interface"; - ~~ -!!! error TS1259: Module '"interface"' can only be default-imported using the 'esModuleInterop' flag -!!! related TS2594 modules.d.ts:6:5: This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. import x2 from "variable"; - ~~ -!!! error TS1259: Module '"variable"' can only be default-imported using the 'esModuleInterop' flag -!!! related TS2594 modules.d.ts:14:5: This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. import x3 from "interface-variable"; - ~~ -!!! error TS1259: Module '"interface-variable"' can only be default-imported using the 'esModuleInterop' flag -!!! related TS2594 modules.d.ts:26:5: This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. import x4 from "module"; - ~~ -!!! error TS1259: Module '"module"' can only be default-imported using the 'esModuleInterop' flag -!!! related TS2594 modules.d.ts:34:5: This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. import x5 from "interface-module"; - ~~ -!!! error TS1259: Module '"interface-module"' can only be default-imported using the 'esModuleInterop' flag -!!! related TS2594 modules.d.ts:46:5: This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. import x6 from "variable-module"; - ~~ -!!! error TS1259: Module '"variable-module"' can only be default-imported using the 'esModuleInterop' flag -!!! related TS2594 modules.d.ts:60:5: This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. import x7 from "function"; - ~~ -!!! error TS1259: Module '"function"' can only be default-imported using the 'esModuleInterop' flag -!!! related TS2594 modules.d.ts:65:5: This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. import x8 from "function-module"; - ~~ -!!! error TS1259: Module '"function-module"' can only be default-imported using the 'esModuleInterop' flag -!!! related TS2594 modules.d.ts:74:5: This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. import x9 from "class"; - ~~ -!!! error TS1259: Module '"class"' can only be default-imported using the 'esModuleInterop' flag -!!! related TS2594 modules.d.ts:82:5: This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. import x0 from "class-module"; - ~~ -!!! error TS1259: Module '"class-module"' can only be default-imported using the 'esModuleInterop' flag -!!! related TS2594 modules.d.ts:94:5: This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. // namespace import import * as y1 from "interface"; diff --git a/tests/baselines/reference/es6ExportEqualsInterop.types b/tests/baselines/reference/es6ExportEqualsInterop.types index 33f9ff158249c..e7a53a89faec6 100644 --- a/tests/baselines/reference/es6ExportEqualsInterop.types +++ b/tests/baselines/reference/es6ExportEqualsInterop.types @@ -130,40 +130,40 @@ import x1 from "interface"; > : ^^^ import x2 from "variable"; ->x2 : any -> : ^^^ +>x2 : { a: number; b: number; } +> : ^^^^^ ^^^^^ ^^^ import x3 from "interface-variable"; ->x3 : any -> : ^^^ +>x3 : { a: number; b: number; } +> : ^^^^^ ^^^^^ ^^^ import x4 from "module"; ->x4 : any -> : ^^^ +>x4 : typeof z4 +> : ^^^^^^^^^ import x5 from "interface-module"; ->x5 : any -> : ^^^ +>x5 : typeof z5 +> : ^^^^^^^^^ import x6 from "variable-module"; ->x6 : any -> : ^^^ +>x6 : { a: number; b: number; } +> : ^^^^^ ^^^^^ ^^^ import x7 from "function"; ->x7 : any -> : ^^^ +>x7 : () => any +> : ^^^^^^^^^ import x8 from "function-module"; ->x8 : any -> : ^^^ +>x8 : typeof z8 +> : ^^^^^^^^^ import x9 from "class"; ->x9 : any -> : ^^^ +>x9 : typeof z9 +> : ^^^^^^^^^ import x0 from "class-module"; ->x0 : any -> : ^^^ +>x0 : typeof z0 +> : ^^^^^^^^^ // namespace import import * as y1 from "interface"; diff --git a/tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt b/tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt deleted file mode 100644 index 0119ba6023c0c..0000000000000 --- a/tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt +++ /dev/null @@ -1,12 +0,0 @@ -es6ImportDefaultBindingInEs5_1.ts(1,8): error TS1259: Module '"es6ImportDefaultBindingInEs5_0"' can only be default-imported using the 'esModuleInterop' flag - - -==== es6ImportDefaultBindingInEs5_0.ts (0 errors) ==== - var a = 10; - export = a; - -==== es6ImportDefaultBindingInEs5_1.ts (1 errors) ==== - import defaultBinding from "./es6ImportDefaultBindingInEs5_0"; - ~~~~~~~~~~~~~~ -!!! error TS1259: Module '"es6ImportDefaultBindingInEs5_0"' can only be default-imported using the 'esModuleInterop' flag -!!! related TS2594 es6ImportDefaultBindingInEs5_0.ts:2:1: This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportDefaultBindingInEs5.types b/tests/baselines/reference/es6ImportDefaultBindingInEs5.types index efb86c7bea7cd..cf3593391cda9 100644 --- a/tests/baselines/reference/es6ImportDefaultBindingInEs5.types +++ b/tests/baselines/reference/es6ImportDefaultBindingInEs5.types @@ -13,6 +13,6 @@ export = a; === es6ImportDefaultBindingInEs5_1.ts === import defaultBinding from "./es6ImportDefaultBindingInEs5_0"; ->defaultBinding : any -> : ^^^ +>defaultBinding : number +> : ^^^^^^ diff --git a/tests/baselines/reference/exportEqualsDefaultProperty.errors.txt b/tests/baselines/reference/exportEqualsDefaultProperty.errors.txt new file mode 100644 index 0000000000000..af5500c29cfe8 --- /dev/null +++ b/tests/baselines/reference/exportEqualsDefaultProperty.errors.txt @@ -0,0 +1,17 @@ +imp.ts(2,5): error TS2339: Property 'toExponential' does not exist on type '{ greeting: string; default: number; }'. + + +==== exp.ts (0 errors) ==== + var x = { + "greeting": "hello, world", + "default": 42 + }; + + export = x + +==== imp.ts (1 errors) ==== + import foo from "./exp"; + foo.toExponential(2); + ~~~~~~~~~~~~~ +!!! error TS2339: Property 'toExponential' does not exist on type '{ greeting: string; default: number; }'. + \ No newline at end of file diff --git a/tests/baselines/reference/exportEqualsDefaultProperty.symbols b/tests/baselines/reference/exportEqualsDefaultProperty.symbols index 8889c3a38b24c..bcac141576bb5 100644 --- a/tests/baselines/reference/exportEqualsDefaultProperty.symbols +++ b/tests/baselines/reference/exportEqualsDefaultProperty.symbols @@ -20,7 +20,5 @@ import foo from "./exp"; >foo : Symbol(foo, Decl(imp.ts, 0, 6)) foo.toExponential(2); ->foo.toExponential : Symbol(Number.toExponential, Decl(lib.es5.d.ts, --, --)) >foo : Symbol(foo, Decl(imp.ts, 0, 6)) ->toExponential : Symbol(Number.toExponential, Decl(lib.es5.d.ts, --, --)) diff --git a/tests/baselines/reference/exportEqualsDefaultProperty.types b/tests/baselines/reference/exportEqualsDefaultProperty.types index 7a7481cbe8e47..856cd847b256e 100644 --- a/tests/baselines/reference/exportEqualsDefaultProperty.types +++ b/tests/baselines/reference/exportEqualsDefaultProperty.types @@ -27,18 +27,18 @@ export = x === imp.ts === import foo from "./exp"; ->foo : number -> : ^^^^^^ +>foo : { greeting: string; default: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ foo.toExponential(2); ->foo.toExponential(2) : string -> : ^^^^^^ ->foo.toExponential : (fractionDigits?: number) => string -> : ^ ^^^ ^^^^^ ->foo : number -> : ^^^^^^ ->toExponential : (fractionDigits?: number) => string -> : ^ ^^^ ^^^^^ +>foo.toExponential(2) : any +> : ^^^ +>foo.toExponential : any +> : ^^^ +>foo : { greeting: string; default: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>toExponential : any +> : ^^^ >2 : 2 > : ^ diff --git a/tests/baselines/reference/extensionLoadingPriority(moduleresolution=node).symbols b/tests/baselines/reference/extensionLoadingPriority(moduleresolution=node).symbols deleted file mode 100644 index 065ed64eca863..0000000000000 --- a/tests/baselines/reference/extensionLoadingPriority(moduleresolution=node).symbols +++ /dev/null @@ -1,25 +0,0 @@ -//// [tests/cases/conformance/moduleResolution/extensionLoadingPriority.ts] //// - -=== /project/a.js === - -export default "a.js"; - -=== /project/a.js.js === - -export default "a.js.js"; - -=== /project/dir/index.ts === - -export default "dir/index.ts"; - -=== /project/dir.js === - -export default "dir.js"; - -=== /project/b.ts === -import a from "./a.js"; ->a : Symbol(a, Decl(b.ts, 0, 6)) - -import dir from "./dir"; ->dir : Symbol(dir, Decl(b.ts, 1, 6)) - diff --git a/tests/baselines/reference/extensionLoadingPriority(moduleresolution=node).types b/tests/baselines/reference/extensionLoadingPriority(moduleresolution=node).types deleted file mode 100644 index 7ba78a21d9996..0000000000000 --- a/tests/baselines/reference/extensionLoadingPriority(moduleresolution=node).types +++ /dev/null @@ -1,27 +0,0 @@ -//// [tests/cases/conformance/moduleResolution/extensionLoadingPriority.ts] //// - -=== /project/a.js === - -export default "a.js"; - -=== /project/a.js.js === - -export default "a.js.js"; - -=== /project/dir/index.ts === - -export default "dir/index.ts"; - -=== /project/dir.js === - -export default "dir.js"; - -=== /project/b.ts === -import a from "./a.js"; ->a : "a.js" -> : ^^^^^^ - -import dir from "./dir"; ->dir : "dir/index.ts" -> : ^^^^^^^^^^^^^^ - diff --git a/tests/baselines/reference/importCallExpressionInExportEqualsCJS.types b/tests/baselines/reference/importCallExpressionInExportEqualsCJS.types index c610f1dc21bdf..bbae95b43698c 100644 --- a/tests/baselines/reference/importCallExpressionInExportEqualsCJS.types +++ b/tests/baselines/reference/importCallExpressionInExportEqualsCJS.types @@ -10,12 +10,12 @@ export = async function() { > : ^^^^^^^^^^^^^^^^^^^ const something = await import("./something"); ->something : 42 -> : ^^ ->await import("./something") : 42 -> : ^^ ->import("./something") : Promise<42> -> : ^^^^^^^^^^^ +>something : { default: 42; } +> : ^^^^^^^^^^^^^^^^ +>await import("./something") : { default: 42; } +> : ^^^^^^^^^^^^^^^^ +>import("./something") : Promise<{ default: 42; }> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >"./something" : "./something" > : ^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/importWithTrailingSlash.trace.json b/tests/baselines/reference/importWithTrailingSlash.trace.json index 175ef9b3d66a1..33cd650bb9689 100644 --- a/tests/baselines/reference/importWithTrailingSlash.trace.json +++ b/tests/baselines/reference/importWithTrailingSlash.trace.json @@ -1,25 +1,29 @@ [ "======== Resolving module '.' from '/a/test.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module as file / folder, candidate module location '/a/', target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/a/', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/a/package.json' does not exist.", "File '/a/index.ts' exists - use it as a name resolution result.", "======== Module name '.' was successfully resolved to '/a/index.ts'. ========", "======== Resolving module './' from '/a/test.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module as file / folder, candidate module location '/a/', target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/a/', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/a/package.json' does not exist according to earlier cached lookups.", "File '/a/index.ts' exists - use it as a name resolution result.", "======== Module name './' was successfully resolved to '/a/index.ts'. ========", "======== Resolving module '..' from '/a/b/test.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module as file / folder, candidate module location '/a/', target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/a/', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/a/package.json' does not exist according to earlier cached lookups.", "File '/a/index.ts' exists - use it as a name resolution result.", "======== Module name '..' was successfully resolved to '/a/index.ts'. ========", "======== Resolving module '../' from '/a/b/test.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module as file / folder, candidate module location '/a/', target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/a/', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/a/package.json' does not exist according to earlier cached lookups.", "File '/a/index.ts' exists - use it as a name resolution result.", "======== Module name '../' was successfully resolved to '/a/index.ts'. ========", diff --git a/tests/baselines/reference/importWithTrailingSlash_noResolve.trace.json b/tests/baselines/reference/importWithTrailingSlash_noResolve.trace.json index 1dde7eb385678..8ed045bb2e224 100644 --- a/tests/baselines/reference/importWithTrailingSlash_noResolve.trace.json +++ b/tests/baselines/reference/importWithTrailingSlash_noResolve.trace.json @@ -1,9 +1,8 @@ [ "======== Resolving module './foo/' from '/a.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module as file / folder, candidate module location '/foo/', target file types: TypeScript, Declaration.", - "Directory '/foo/' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location '/foo/', target file types: JavaScript.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/foo/', target file types: TypeScript, JavaScript, Declaration, JSON.", "Directory '/foo/' does not exist, skipping all lookups in it.", "======== Module name './foo/' was not resolved. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/javascriptImportDefaultBadExport.errors.txt b/tests/baselines/reference/javascriptImportDefaultBadExport.errors.txt deleted file mode 100644 index 58814ce045f19..0000000000000 --- a/tests/baselines/reference/javascriptImportDefaultBadExport.errors.txt +++ /dev/null @@ -1,13 +0,0 @@ -/b.js(1,8): error TS1259: Module '"/a"' can only be default-imported using the 'esModuleInterop' flag - - -==== /a.js (0 errors) ==== - const alias = {}; - module.exports = alias; - -==== /b.js (1 errors) ==== - import a from "./a"; - ~ -!!! error TS1259: Module '"/a"' can only be default-imported using the 'esModuleInterop' flag -!!! related TS2594 /a.js:2:1: This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. - \ No newline at end of file diff --git a/tests/baselines/reference/javascriptImportDefaultBadExport.types b/tests/baselines/reference/javascriptImportDefaultBadExport.types index 6abaf7485ea9c..d2de25353b3b3 100644 --- a/tests/baselines/reference/javascriptImportDefaultBadExport.types +++ b/tests/baselines/reference/javascriptImportDefaultBadExport.types @@ -21,6 +21,6 @@ module.exports = alias; === /b.js === import a from "./a"; ->a : any -> : ^^^ +>a : {} +> : ^^ diff --git a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.errors.txt b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.errors.txt new file mode 100644 index 0000000000000..6d03f77607637 --- /dev/null +++ b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.errors.txt @@ -0,0 +1,35 @@ +index.ts(1,14): error TS2742: The inferred type of 'a' cannot be named without a reference to './node_modules/inner/private'. This is likely not portable. A type annotation is necessary. + + +==== index.ts (1 errors) ==== + export const a = async () => (await import("inner")).x(); + ~ +!!! error TS2742: The inferred type of 'a' cannot be named without a reference to './node_modules/inner/private'. This is likely not portable. A type annotation is necessary. +==== node_modules/inner/index.d.ts (0 errors) ==== + export { x } from "./other.js"; +==== node_modules/inner/other.d.ts (0 errors) ==== + import { Thing } from "./private.js" + export const x: () => Thing; +==== node_modules/inner/private.d.ts (0 errors) ==== + export interface Thing {} // not exported in export map, inaccessible under new module modes +==== package.json (0 errors) ==== + { + "name": "package", + "private": true, + "type": "module", + "exports": "./index.js" + } +==== node_modules/inner/package.json (0 errors) ==== + { + "name": "inner", + "private": true, + "type": "module", + "exports": { + ".": { + "default": "./index.js" + }, + "./other": { + "default": "./other.js" + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.js b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.js index b942776c84403..d9f4564535887 100644 --- a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.js +++ b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.js @@ -78,7 +78,3 @@ var a = function () { return __awaiter(void 0, void 0, void 0, function () { ret } }); }); }; exports.a = a; - - -//// [index.d.ts] -export declare const a: () => Promise; diff --git a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.types b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.types index 5547ace4bb0e3..92ed74f32769b 100644 --- a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.types +++ b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.types @@ -10,12 +10,12 @@ export const a = async () => (await import("inner")).x(); > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >(await import("inner")).x : () => import("node_modules/inner/private").Thing > : ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ->(await import("inner")) : typeof import("node_modules/inner/index") -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->await import("inner") : typeof import("node_modules/inner/index") -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->import("inner") : Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>(await import("inner")) : { default: typeof import("node_modules/inner/index"); x: () => import("node_modules/inner/private").Thing; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +>await import("inner") : { default: typeof import("node_modules/inner/index"); x: () => import("node_modules/inner/private").Thing; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ +>import("inner") : Promise<{ default: typeof import("node_modules/inner/index"); x: () => import("node_modules/inner/private").Thing; }> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ >"inner" : "inner" > : ^^^^^^^ >x : () => import("node_modules/inner/private").Thing diff --git a/tests/baselines/reference/maxNodeModuleJsDepthDefaultsToZero.trace.json b/tests/baselines/reference/maxNodeModuleJsDepthDefaultsToZero.trace.json index a11d237333838..c1fc484049edd 100644 --- a/tests/baselines/reference/maxNodeModuleJsDepthDefaultsToZero.trace.json +++ b/tests/baselines/reference/maxNodeModuleJsDepthDefaultsToZero.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module 'shortid' from '/index.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'shortid' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'shortid' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/shortid/package.json' does not exist.", "File '/node_modules/shortid.ts' does not exist.", @@ -11,8 +13,7 @@ "File '/node_modules/shortid/index.tsx' does not exist.", "File '/node_modules/shortid/index.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "Loading module 'shortid' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/node_modules/shortid/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/shortid.js' does not exist.", "File '/node_modules/shortid.jsx' does not exist.", diff --git a/tests/baselines/reference/moduleElementsInWrongContext.types b/tests/baselines/reference/moduleElementsInWrongContext.types index a7bc08811a3cd..e1e7d4904729f 100644 --- a/tests/baselines/reference/moduleElementsInWrongContext.types +++ b/tests/baselines/reference/moduleElementsInWrongContext.types @@ -65,8 +65,8 @@ > : ^^^^^^^^^^ import bar from "ambient"; ->bar : any -> : ^^^ +>bar : typeof Foo +> : ^^^^^^^^^^ import { baz } from "ambient"; >baz : any diff --git a/tests/baselines/reference/moduleResolution/relative-module-name-as-directory-load-index.js b/tests/baselines/reference/moduleResolution/relative-module-name-as-directory-load-index.js index 8d1f471035885..5b2cc68473473 100644 --- a/tests/baselines/reference/moduleResolution/relative-module-name-as-directory-load-index.js +++ b/tests/baselines/reference/moduleResolution/relative-module-name-as-directory-load-index.js @@ -21,12 +21,18 @@ Resolution:: { "/a/b/foo.ts", "/a/b/foo.tsx", "/a/b/foo.d.ts", + "/a/b/foo.js", + "/a/b/foo.jsx", "/c/d.ts", "/c/d.tsx", "/c/d.d.ts", + "/c/d.js", + "/c/d.jsx", "/c/d/index.ts", "/c/d/index.tsx", "/c/d/index.d.ts", + "/c/d/index.js", + "/c/d/index.jsx", "/a/b/foo/index.ts", "/a/b/foo/index.tsx" ], @@ -58,12 +64,18 @@ Resolution:: { "/a/b/foo.ts", "/a/b/foo.tsx", "/a/b/foo.d.ts", + "/a/b/foo.js", + "/a/b/foo.jsx", "/c/d.ts", "/c/d.tsx", "/c/d.d.ts", + "/c/d.js", + "/c/d.jsx", "/c/d/index.ts", "/c/d/index.tsx", "/c/d/index.d.ts", + "/c/d/index.js", + "/c/d/index.jsx", "/a/b/foo/index.ts", "/a/b/foo/index.tsx" ], diff --git a/tests/baselines/reference/moduleResolution/relative-module-name-as-directory.js b/tests/baselines/reference/moduleResolution/relative-module-name-as-directory.js index 4376a6e8bd88b..94f80bbffb8c0 100644 --- a/tests/baselines/reference/moduleResolution/relative-module-name-as-directory.js +++ b/tests/baselines/reference/moduleResolution/relative-module-name-as-directory.js @@ -20,7 +20,9 @@ Resolution:: { "failedLookupLocations": [ "/a/b/c/bar.ts", "/a/b/c/bar.tsx", - "/a/b/c/bar.d.ts" + "/a/b/c/bar.d.ts", + "/a/b/c/bar.js", + "/a/b/c/bar.jsx" ], "affectingLocations": [ "/a/b/c/bar/package.json" @@ -49,7 +51,9 @@ Resolution:: { "failedLookupLocations": [ "/a/b/c/bar.ts", "/a/b/c/bar.tsx", - "/a/b/c/bar.d.ts" + "/a/b/c/bar.d.ts", + "/a/b/c/bar.js", + "/a/b/c/bar.jsx" ], "affectingLocations": [ "/a/b/c/bar/package.json" @@ -78,7 +82,9 @@ Resolution:: { "failedLookupLocations": [ "/a/bar.ts", "/a/bar.tsx", - "/a/bar.d.ts" + "/a/bar.d.ts", + "/a/bar.js", + "/a/bar.jsx" ], "affectingLocations": [ "/a/bar/package.json" @@ -107,7 +113,9 @@ Resolution:: { "failedLookupLocations": [ "/a/bar.ts", "/a/bar.tsx", - "/a/bar.d.ts" + "/a/bar.d.ts", + "/a/bar.js", + "/a/bar.jsx" ], "affectingLocations": [ "/a/bar/package.json" @@ -136,7 +144,9 @@ Resolution:: { "failedLookupLocations": [ "/bar.ts", "/bar.tsx", - "/bar.d.ts" + "/bar.d.ts", + "/bar.js", + "/bar.jsx" ], "affectingLocations": [ "/bar/package.json" @@ -165,7 +175,9 @@ Resolution:: { "failedLookupLocations": [ "/bar.ts", "/bar.tsx", - "/bar.d.ts" + "/bar.d.ts", + "/bar.js", + "/bar.jsx" ], "affectingLocations": [ "/bar/package.json" @@ -194,7 +206,9 @@ Resolution:: { "failedLookupLocations": [ "c:/bar.ts", "c:/bar.tsx", - "c:/bar.d.ts" + "c:/bar.d.ts", + "c:/bar.js", + "c:/bar.jsx" ], "affectingLocations": [ "c:/bar/package.json" @@ -223,7 +237,9 @@ Resolution:: { "failedLookupLocations": [ "c:/bar.ts", "c:/bar.tsx", - "c:/bar.d.ts" + "c:/bar.d.ts", + "c:/bar.js", + "c:/bar.jsx" ], "affectingLocations": [ "c:/bar/package.json" diff --git a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirective.trace.json b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirective.trace.json index f52cf0d160e70..997f9fe6a74ab 100644 --- a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirective.trace.json +++ b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirective.trace.json @@ -1,9 +1,13 @@ [ "======== Resolving module 'phaser' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'phaser' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'phaser' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", "File '/typings/phaser.d.ts' does not exist.", "Found 'package.json' at '/typings/phaser/package.json'.", "'package.json' does not have a 'typesVersions' field.", diff --git a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveAmbient.trace.json b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveAmbient.trace.json index f52cf0d160e70..997f9fe6a74ab 100644 --- a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveAmbient.trace.json +++ b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveAmbient.trace.json @@ -1,9 +1,13 @@ [ "======== Resolving module 'phaser' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'phaser' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'phaser' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", "File '/typings/phaser.d.ts' does not exist.", "Found 'package.json' at '/typings/phaser/package.json'.", "'package.json' does not have a 'typesVersions' field.", diff --git a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveScoped.trace.json b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveScoped.trace.json index 3a0146b48190a..d457dbb279bff 100644 --- a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveScoped.trace.json +++ b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveScoped.trace.json @@ -1,33 +1,42 @@ [ "======== Resolving module '@scoped/typescache' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module '@scoped/typescache' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module '@scoped/typescache' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'scoped__typescache'", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", "File '/a/types/@scoped/typescache.d.ts' does not exist.", "File '/a/types/@scoped/typescache/package.json' does not exist.", "File '/a/types/@scoped/typescache/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/types/@scoped/typescache/index.d.ts', result '/a/types/@scoped/typescache/index.d.ts'.", "======== Module name '@scoped/typescache' was successfully resolved to '/a/types/@scoped/typescache/index.d.ts'. ========", "======== Resolving module '@mangled/typescache' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module '@mangled/typescache' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module '@mangled/typescache' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'mangled__typescache'", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'mangled__typescache'", "File '/a/node_modules/@types/mangled__typescache.d.ts' does not exist.", - "Loading module '@mangled/typescache' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@mangled/typescache' was not resolved. ========", "======== Resolving module '@scoped/nodemodulescache' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module '@scoped/nodemodulescache' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module '@scoped/nodemodulescache' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'scoped__nodemodulescache'", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", "File '/a/types/@scoped/nodemodulescache.d.ts' does not exist.", "File '/a/node_modules/@scoped/nodemodulescache.d.ts' does not exist.", "File '/a/node_modules/@scoped/nodemodulescache/package.json' does not exist.", @@ -35,37 +44,43 @@ "Resolving real path for '/a/node_modules/@scoped/nodemodulescache/index.d.ts', result '/a/node_modules/@scoped/nodemodulescache/index.d.ts'.", "======== Module name '@scoped/nodemodulescache' was successfully resolved to '/a/node_modules/@scoped/nodemodulescache/index.d.ts'. ========", "======== Resolving module '@mangled/nodemodulescache' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module '@mangled/nodemodulescache' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module '@mangled/nodemodulescache' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'mangled__nodemodulescache'", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'mangled__nodemodulescache'", "File '/a/node_modules/@types/mangled__nodemodulescache.d.ts' does not exist.", - "Loading module '@mangled/nodemodulescache' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@mangled/nodemodulescache' was not resolved. ========", "======== Resolving module '@scoped/attypescache' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module '@scoped/attypescache' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module '@scoped/attypescache' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'scoped__attypescache'", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", "File '/a/types/@scoped/attypescache.d.ts' does not exist.", "File '/a/node_modules/@scoped/attypescache.d.ts' does not exist.", "Scoped package detected, looking in 'scoped__attypescache'", "File '/a/node_modules/@types/scoped__attypescache.d.ts' does not exist.", - "Loading module '@scoped/attypescache' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@scoped/attypescache' was not resolved. ========", "======== Resolving module '@mangled/attypescache' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module '@mangled/attypescache' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module '@mangled/attypescache' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'mangled__attypescache'", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'mangled__attypescache'", "File '/a/node_modules/@types/mangled__attypescache.d.ts' does not exist.", "File '/a/node_modules/@types/mangled__attypescache/package.json' does not exist.", @@ -76,7 +91,7 @@ "File '/a/node_modules/@scoped/package.json' does not exist.", "File '/a/node_modules/package.json' does not exist.", "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", "File '/a/node_modules/@types/mangled__attypescache/package.json' does not exist according to earlier cached lookups.", "File '/a/node_modules/@types/package.json' does not exist.", "File '/a/node_modules/package.json' does not exist according to earlier cached lookups.", diff --git a/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json b/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json index f92ad4790d104..d2a38aecd911d 100644 --- a/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json +++ b/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json @@ -1,16 +1,22 @@ [ "======== Resolving module 'anotherLib' from '/project/src/app.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/project', using this value to resolve non-relative module name 'anotherLib'.", "'paths' option is specified, looking for a pattern to match module name 'anotherLib'.", "'baseUrl' option is set to '/project', using this value to resolve non-relative module name 'anotherLib'.", "Resolving module name 'anotherLib' relative to base url '/project' - '/project/anotherLib'.", - "Loading module as file / folder, candidate module location '/project/anotherLib', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/project/anotherLib', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/project/anotherLib.ts' does not exist.", "File '/project/anotherLib.tsx' does not exist.", "File '/project/anotherLib.d.ts' does not exist.", + "File '/project/anotherLib.js' does not exist.", + "File '/project/anotherLib.jsx' does not exist.", "Directory '/project/anotherLib' does not exist, skipping all lookups in it.", - "Loading module 'anotherLib' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "File '/project/src/package.json' does not exist.", + "File '/project/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'anotherLib' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/project/src/node_modules' does not exist, skipping all lookups in it.", "File '/project/node_modules/anotherLib/package.json' does not exist.", @@ -23,28 +29,34 @@ "Resolving real path for '/project/node_modules/anotherLib/index.d.ts', result '/project/node_modules/anotherLib/index.d.ts'.", "======== Module name 'anotherLib' was successfully resolved to '/project/node_modules/anotherLib/index.d.ts'. ========", "======== Resolving module '@shared/lib/app' from '/project/src/app.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/project', using this value to resolve non-relative module name '@shared/lib/app'.", "'paths' option is specified, looking for a pattern to match module name '@shared/lib/app'.", "Module name '@shared/lib/app', matched pattern '@shared/*'.", "Trying substitution '../shared/*', candidate module location: '../shared/lib/app'.", - "Loading module as file / folder, candidate module location '/shared/lib/app', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/shared/lib/app', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/shared/lib/app.ts' does not exist.", "File '/shared/lib/app.tsx' does not exist.", "File '/shared/lib/app.d.ts' exists - use it as a name resolution result.", "======== Module name '@shared/lib/app' was successfully resolved to '/shared/lib/app.d.ts'. ========", "File '/project/node_modules/anotherLib/package.json' does not exist according to earlier cached lookups.", "File '/project/node_modules/package.json' does not exist.", - "File '/project/package.json' does not exist.", - "File '/package.json' does not exist.", + "File '/project/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'troublesome-lib/lib/Compactable' from '/project/node_modules/anotherLib/index.d.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/project', using this value to resolve non-relative module name 'troublesome-lib/lib/Compactable'.", "'paths' option is specified, looking for a pattern to match module name 'troublesome-lib/lib/Compactable'.", "'baseUrl' option is set to '/project', using this value to resolve non-relative module name 'troublesome-lib/lib/Compactable'.", "Resolving module name 'troublesome-lib/lib/Compactable' relative to base url '/project' - '/project/troublesome-lib/lib/Compactable'.", - "Loading module as file / folder, candidate module location '/project/troublesome-lib/lib/Compactable', target file types: TypeScript, Declaration.", - "Loading module 'troublesome-lib/lib/Compactable' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/project/troublesome-lib/lib/Compactable', target file types: TypeScript, JavaScript, Declaration, JSON.", + "File '/project/node_modules/anotherLib/package.json' does not exist according to earlier cached lookups.", + "File '/project/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/project/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'troublesome-lib/lib/Compactable' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/project/node_modules/anotherLib/node_modules' does not exist, skipping all lookups in it.", "Found 'package.json' at '/project/node_modules/troublesome-lib/package.json'.", @@ -58,8 +70,9 @@ "File '/project/node_modules/troublesome-lib/lib/package.json' does not exist.", "File '/project/node_modules/troublesome-lib/package.json' exists according to earlier cached lookups.", "======== Resolving module './Option' from '/project/node_modules/troublesome-lib/lib/Compactable.d.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/project/node_modules/troublesome-lib/lib/Option', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/project/node_modules/troublesome-lib/lib/Option', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/project/node_modules/troublesome-lib/lib/Option.ts' does not exist.", "File '/project/node_modules/troublesome-lib/lib/Option.tsx' does not exist.", "File '/project/node_modules/troublesome-lib/lib/Option.d.ts' exists - use it as a name resolution result.", @@ -68,13 +81,17 @@ "File '/project/node_modules/troublesome-lib/lib/package.json' does not exist according to earlier cached lookups.", "File '/project/node_modules/troublesome-lib/package.json' exists according to earlier cached lookups.", "======== Resolving module 'troublesome-lib/lib/Option' from '/shared/lib/app.d.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/project', using this value to resolve non-relative module name 'troublesome-lib/lib/Option'.", "'paths' option is specified, looking for a pattern to match module name 'troublesome-lib/lib/Option'.", "'baseUrl' option is set to '/project', using this value to resolve non-relative module name 'troublesome-lib/lib/Option'.", "Resolving module name 'troublesome-lib/lib/Option' relative to base url '/project' - '/project/troublesome-lib/lib/Option'.", - "Loading module as file / folder, candidate module location '/project/troublesome-lib/lib/Option', target file types: TypeScript, Declaration.", - "Loading module 'troublesome-lib/lib/Option' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/project/troublesome-lib/lib/Option', target file types: TypeScript, JavaScript, Declaration, JSON.", + "File '/shared/lib/package.json' does not exist.", + "File '/shared/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'troublesome-lib/lib/Option' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/shared/lib/node_modules' does not exist, skipping all lookups in it.", "Found 'package.json' at '/shared/node_modules/troublesome-lib/package.json'.", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions.trace.json index b2f074edc2056..34b0577bca2dc 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions.trace.json @@ -1,18 +1,21 @@ [ "======== Resolving module './a' from '/src/b.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/src/a', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/src/a', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/src/a.ts' exists - use it as a name resolution result.", "======== Module name './a' was successfully resolved to '/src/a.ts'. ========", "======== Resolving module './a.js' from '/src/d.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/src/a.js', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/src/a.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/src/a.js' has a '.js' extension - stripping it.", "File '/src/a.ts' exists - use it as a name resolution result.", "======== Module name './a.js' was successfully resolved to '/src/a.ts'. ========", "======== Resolving module './jquery.js' from '/src/jquery_user_1.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/src/jquery.js', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/src/jquery.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/src/jquery.js' has a '.js' extension - stripping it.", "File '/src/jquery.ts' does not exist.", "File '/src/jquery.tsx' does not exist.", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported.trace.json index d019eb14cb9f1..bc45e72bdbd6c 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported.trace.json @@ -1,29 +1,28 @@ [ "======== Resolving module './tsx' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/tsx', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/tsx', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/tsx.ts' does not exist.", "File '/tsx.tsx' exists - use it as a name resolution result.", "======== Module name './tsx' was successfully resolved to '/tsx.tsx'. ========", "======== Resolving module './jsx' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/jsx', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/jsx', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/jsx.ts' does not exist.", "File '/jsx.tsx' does not exist.", "File '/jsx.d.ts' does not exist.", - "Directory '/jsx' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location '/jsx', target file types: JavaScript.", "File '/jsx.js' does not exist.", "File '/jsx.jsx' exists - use it as a name resolution result.", "======== Module name './jsx' was successfully resolved to '/jsx.jsx'. ========", "======== Resolving module './js' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/js', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/js.ts' does not exist.", "File '/js.tsx' does not exist.", "File '/js.d.ts' does not exist.", - "Directory '/js' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location '/js', target file types: JavaScript.", "File '/js.js' exists - use it as a name resolution result.", "======== Module name './js' was successfully resolved to '/js.js'. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported2.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported2.trace.json index 2d98099a28f19..329c241a16b64 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported2.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported2.trace.json @@ -1,12 +1,11 @@ [ "======== Resolving module './jsx' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/jsx', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/jsx', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/jsx.ts' does not exist.", "File '/jsx.tsx' does not exist.", "File '/jsx.d.ts' does not exist.", - "Directory '/jsx' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location '/jsx', target file types: JavaScript.", "File '/jsx.js' does not exist.", "File '/jsx.jsx' exists - use it as a name resolution result.", "======== Module name './jsx' was successfully resolved to '/jsx.jsx'. ========", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported3.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported3.trace.json index 2d98099a28f19..329c241a16b64 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported3.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported3.trace.json @@ -1,12 +1,11 @@ [ "======== Resolving module './jsx' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/jsx', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/jsx', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/jsx.ts' does not exist.", "File '/jsx.tsx' does not exist.", "File '/jsx.d.ts' does not exist.", - "Directory '/jsx' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location '/jsx', target file types: JavaScript.", "File '/jsx.js' does not exist.", "File '/jsx.jsx' exists - use it as a name resolution result.", "======== Module name './jsx' was successfully resolved to '/jsx.jsx'. ========", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json index 3a1310358ecb5..6ebe1bc4a18f8 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module 'normalize.css' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'normalize.css' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'normalize.css' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/normalize.css/package.json'.", "File name '/node_modules/normalize.css' has a '.css' extension - stripping it.", @@ -27,47 +29,20 @@ "File '/node_modules/normalize.css/index.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "File name '/node_modules/@types/normalize.css' has a '.css' extension - stripping it.", - "Loading module 'normalize.css' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/node_modules/normalize.css/package.json' exists according to earlier cached lookups.", "File name '/node_modules/normalize.css' has a '.css' extension - stripping it.", "File '/node_modules/normalize.css.js' does not exist.", "File '/node_modules/normalize.css.jsx' does not exist.", "'package.json' has 'main' field 'normalize.css' that references '/node_modules/normalize.css/normalize.css'.", "File name '/node_modules/normalize.css/normalize.css' has a '.css' extension - stripping it.", - "Loading module as file / folder, candidate module location '/node_modules/normalize.css/normalize.css', target file types: JavaScript.", + "Loading module as file / folder, candidate module location '/node_modules/normalize.css/normalize.css', target file types: JavaScript, JSON.", "File name '/node_modules/normalize.css/normalize.css' has a '.css' extension - stripping it.", "File '/node_modules/normalize.css/normalize.css.js' does not exist.", "File '/node_modules/normalize.css/normalize.css.jsx' does not exist.", "Directory '/node_modules/normalize.css/normalize.css' does not exist, skipping all lookups in it.", "File '/node_modules/normalize.css/index.js' does not exist.", "File '/node_modules/normalize.css/index.jsx' does not exist.", - "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", - "Loading module 'normalize.css' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/normalize.css/package.json' exists according to earlier cached lookups.", - "File name '/node_modules/normalize.css' has a '.css' extension - stripping it.", - "File '/node_modules/normalize.d.css.ts' does not exist.", - "File '/node_modules/normalize.css.ts' does not exist.", - "File '/node_modules/normalize.css.tsx' does not exist.", - "File '/node_modules/normalize.css.d.ts' does not exist.", - "'package.json' does not have a 'typings' field.", - "'package.json' does not have a 'types' field.", - "'package.json' has 'main' field 'normalize.css' that references '/node_modules/normalize.css/normalize.css'.", - "File name '/node_modules/normalize.css/normalize.css' has a '.css' extension - stripping it.", - "File '/node_modules/normalize.css/normalize.d.css.ts' does not exist.", - "Loading module as file / folder, candidate module location '/node_modules/normalize.css/normalize.css', target file types: TypeScript, Declaration.", - "File name '/node_modules/normalize.css/normalize.css' has a '.css' extension - stripping it.", - "File '/node_modules/normalize.css/normalize.d.css.ts' does not exist.", - "File '/node_modules/normalize.css/normalize.css.ts' does not exist.", - "File '/node_modules/normalize.css/normalize.css.tsx' does not exist.", - "File '/node_modules/normalize.css/normalize.css.d.ts' does not exist.", - "Directory '/node_modules/normalize.css/normalize.css' does not exist, skipping all lookups in it.", - "File '/node_modules/normalize.css/index.ts' does not exist.", - "File '/node_modules/normalize.css/index.tsx' does not exist.", - "File '/node_modules/normalize.css/index.d.ts' does not exist.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "File name '/node_modules/@types/normalize.css' has a '.css' extension - stripping it.", "======== Module name 'normalize.css' was not resolved. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json index 824c82941bcc0..f8a89af634c97 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module 'foo' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/foo/package.json'.", "File '/node_modules/foo.ts' does not exist.", @@ -27,40 +29,13 @@ "File '/node_modules/foo/index.tsx' does not exist.", "File '/node_modules/foo/index.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "Loading module 'foo' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "File '/node_modules/foo.js' does not exist.", "File '/node_modules/foo.jsx' does not exist.", "'package.json' does not have a 'main' field.", "File '/node_modules/foo/index.js' does not exist.", "File '/node_modules/foo/index.jsx' does not exist.", - "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", - "File '/node_modules/foo.ts' does not exist.", - "File '/node_modules/foo.tsx' does not exist.", - "File '/node_modules/foo.d.ts' does not exist.", - "'package.json' does not have a 'typings' field.", - "'package.json' has 'types' field 'foo.js' that references '/node_modules/foo/foo.js'.", - "File name '/node_modules/foo/foo.js' has a '.js' extension - stripping it.", - "File '/node_modules/foo/foo.ts' does not exist.", - "File '/node_modules/foo/foo.tsx' does not exist.", - "File '/node_modules/foo/foo.d.ts' does not exist.", - "Loading module as file / folder, candidate module location '/node_modules/foo/foo.js', target file types: TypeScript, Declaration.", - "File name '/node_modules/foo/foo.js' has a '.js' extension - stripping it.", - "File '/node_modules/foo/foo.ts' does not exist.", - "File '/node_modules/foo/foo.tsx' does not exist.", - "File '/node_modules/foo/foo.d.ts' does not exist.", - "File '/node_modules/foo/foo.js.ts' does not exist.", - "File '/node_modules/foo/foo.js.tsx' does not exist.", - "File '/node_modules/foo/foo.js.d.ts' does not exist.", - "Directory '/node_modules/foo/foo.js' does not exist, skipping all lookups in it.", - "File '/node_modules/foo/index.ts' does not exist.", - "File '/node_modules/foo/index.tsx' does not exist.", - "File '/node_modules/foo/index.d.ts' does not exist.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "======== Module name 'foo' was not resolved. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_withAmbientPresent.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_withAmbientPresent.trace.json index 0137a3b261791..cbf2c71850018 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_withAmbientPresent.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_withAmbientPresent.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module 'js' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'js' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'js' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/js/package.json' does not exist.", "File '/node_modules/js.ts' does not exist.", @@ -11,8 +13,7 @@ "File '/node_modules/js/index.tsx' does not exist.", "File '/node_modules/js/index.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "Loading module 'js' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/node_modules/js/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/js.js' does not exist.", "File '/node_modules/js.jsx' does not exist.", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.errors.txt b/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.errors.txt new file mode 100644 index 0000000000000..2587c1b8e015d --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.errors.txt @@ -0,0 +1,46 @@ +/tsconfig.json(7,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "outDir": "lib", + "target": "ES6", + "module": "ES6", + "baseUrl": "/", + "moduleResolution": "Node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "noImplicitAny": true, + "traceResolution": true, + "paths": { + "foo/*": ["node_modules/foo/lib/*"] + } + } + } + +==== /relative.d.ts (0 errors) ==== + export declare function relative(): void; + + +==== /test.ts (0 errors) ==== + import { test } from "foo/test.js"; + import { test as test2 } from "foo/test"; + import { relative } from "./relative.js"; + import { relative as relative2 } from "./relative"; + + + +==== /node_modules/foo/lib/test.js (0 errors) ==== + export function test() { + console.log("test"); + } + +==== /node_modules/foo/lib/test.d.ts (0 errors) ==== + export declare function test(): void; + +==== /relative.js (0 errors) ==== + export function relative() { + console.log("test"); + } + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithRequireAndImport.trace.json b/tests/baselines/reference/moduleResolutionWithRequireAndImport.trace.json index 43aa769eac31c..2f1c3e4e771c7 100644 --- a/tests/baselines/reference/moduleResolutionWithRequireAndImport.trace.json +++ b/tests/baselines/reference/moduleResolutionWithRequireAndImport.trace.json @@ -1,7 +1,8 @@ [ "======== Resolving module './other' from '/index.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/other', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/other', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/other.ts' exists - use it as a name resolution result.", "======== Module name './other' was successfully resolved to '/other.ts'. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_empty.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_empty.errors.txt new file mode 100644 index 0000000000000..5340a556ae601 --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_empty.errors.txt @@ -0,0 +1,18 @@ +/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": [] + } + } +==== /index.ts (0 errors) ==== + import { base } from "./foo"; +==== /foo.ts (0 errors) ==== + export function base() {} + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_notSpecified.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_notSpecified.errors.txt new file mode 100644 index 0000000000000..806fe2c84eca2 --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_notSpecified.errors.txt @@ -0,0 +1,17 @@ +/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + } + } +==== /index.ts (0 errors) ==== + import { base } from "./foo"; +==== /foo.ts (0 errors) ==== + export function base() {} + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_one.errors.txt new file mode 100644 index 0000000000000..38eb8c1d4ecd2 --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one.errors.txt @@ -0,0 +1,21 @@ +/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": [".ios"] + } + } + +==== /index.ts (0 errors) ==== + import { ios } from "./foo"; +==== /foo.ios.ts (0 errors) ==== + export function ios() {} +==== /foo.ts (0 errors) ==== + export function base() {} + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_oneBlank.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_oneBlank.errors.txt new file mode 100644 index 0000000000000..e3997b190cb72 --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_oneBlank.errors.txt @@ -0,0 +1,19 @@ +/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": [""] + } + } + +==== /index.ts (0 errors) ==== + import { base } from "./foo"; +==== /foo.ts (0 errors) ==== + export function base() {} + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_oneNotFound.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_oneNotFound.errors.txt index 92a8d1f8ac596..14e951443ce3b 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_oneNotFound.errors.txt +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_oneNotFound.errors.txt @@ -1,10 +1,13 @@ +/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /index.ts(1,21): error TS2307: Cannot find module './foo' or its corresponding type declarations. -==== /tsconfig.json (0 errors) ==== +==== /tsconfig.json (1 errors) ==== { "compilerOptions": { "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "traceResolution": true, "moduleSuffixes": [".ios"] } diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_dirModuleWithIndex.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_one_dirModuleWithIndex.errors.txt new file mode 100644 index 0000000000000..0cf6e58012702 --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_dirModuleWithIndex.errors.txt @@ -0,0 +1,20 @@ +/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": [".ios"] + } + } + +==== /index.ts (0 errors) ==== + import { ios } from "./foo"; +==== /foo/index.ios.ts (0 errors) ==== + export function ios() {} +==== /foo/index.ts (0 errors) ==== + export function base() {} \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.errors.txt new file mode 100644 index 0000000000000..92a701e6a7a32 --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.errors.txt @@ -0,0 +1,35 @@ +/tsconfig.json(6,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "allowJs": true, + "checkJs": false, + "outDir": "bin", + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": [".ios"] + } + } + +==== /index.ts (0 errors) ==== + import { ios } from "some-library"; + +==== /node_modules/some-library/index.ios.js (0 errors) ==== + "use strict"; + exports.__esModule = true; + function ios() {} + exports.ios = ios; +==== /node_modules/some-library/index.ios.d.ts (0 errors) ==== + export declare function ios(): void; +==== /node_modules/some-library/index.js (0 errors) ==== + "use strict"; + exports.__esModule = true; + function base() {} + exports.base = base; +==== /node_modules/some-library/index.d.ts (0 errors) ==== + export declare function base(): void; + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.errors.txt new file mode 100644 index 0000000000000..151262113cc3e --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.errors.txt @@ -0,0 +1,35 @@ +/tsconfig.json(6,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "allowJs": true, + "checkJs": false, + "outDir": "bin", + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": [".ios"] + } + } + +==== /index.ts (0 errors) ==== + import { iosfoo } from "some-library/foo"; + +==== /node_modules/some-library/foo.ios.js (0 errors) ==== + "use strict"; + exports.__esModule = true; + function iosfoo() {} + exports.iosfoo = iosfoo; +==== /node_modules/some-library/foo.ios.d.ts (0 errors) ==== + export declare function iosfoo(): void; +==== /node_modules/some-library/foo.js (0 errors) ==== + "use strict"; + exports.__esModule = true; + function basefoo() {} + exports.basefoo = basefoo; +==== /node_modules/some-library/foo.d.ts (0 errors) ==== + export declare function basefoo(): void; + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.errors.txt new file mode 100644 index 0000000000000..f433b11ed6640 --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.errors.txt @@ -0,0 +1,42 @@ +/tsconfig.json(6,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "allowJs": true, + "checkJs": false, + "outDir": "bin", + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": [".ios"], + "baseUrl": "/", + "paths": { + "some-library": ["node_modules/some-library/lib"], + "some-library/*": ["node_modules/some-library/lib/*"] + } + } + } + +==== /test.ts (0 errors) ==== + import { ios } from "some-library"; + import { ios as ios2 } from "some-library/index"; + import { ios as ios3 } from "some-library/index.js"; + +==== /node_modules/some-library/lib/index.ios.js (0 errors) ==== + "use strict"; + exports.__esModule = true; + function ios() {} + exports.ios = ios; +==== /node_modules/some-library/lib/index.ios.d.ts (0 errors) ==== + export declare function ios(): void; +==== /node_modules/some-library/lib/index.js (0 errors) ==== + "use strict"; + exports.__esModule = true; + function base() {} + exports.base = base; +==== /node_modules/some-library/lib/index.d.ts (0 errors) ==== + export declare function base(): void; + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.errors.txt new file mode 100644 index 0000000000000..a74bab1368f06 --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.errors.txt @@ -0,0 +1,22 @@ +/tsconfig.json(4,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "outDir": "bin", + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": [".ios"] + } + } + +==== /test.ts (0 errors) ==== + import { ios } from "some-library"; + +==== /node_modules/some-library/index.ios.ts (0 errors) ==== + export function ios() {} +==== /node_modules/some-library/index.ts (0 errors) ==== + export function base() {} \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsModule.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsModule.errors.txt new file mode 100644 index 0000000000000..fa4fc2da349f2 --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsModule.errors.txt @@ -0,0 +1,30 @@ +/tsconfig.json(6,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "allowJs": true, + "checkJs": false, + "outDir": "bin", + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": [".ios"] + } + } + +==== /index.ts (0 errors) ==== + import { ios } from "./foo.js"; +==== /foo.ios.js (0 errors) ==== + "use strict"; + exports.__esModule = true; + function ios() {} + exports.ios = ios; +==== /foo.js (0 errors) ==== + "use strict"; + exports.__esModule = true; + function base() {} + exports.base = base; + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsonModule.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsonModule.errors.txt new file mode 100644 index 0000000000000..73a7bf7c6a2bf --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsonModule.errors.txt @@ -0,0 +1,29 @@ +/tsconfig.json(6,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "esModuleInterop": true, + "resolveJsonModule": true, + "outDir": "bin", + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": [".ios"] + } + } + +==== /index.ts (0 errors) ==== + import foo from "./foo.json"; + console.log(foo.ios); +==== /foo.ios.json (0 errors) ==== + { + "ios": "platform ios" + } +==== /foo.json (0 errors) ==== + { + "base": "platform base" + } + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank1.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank1.errors.txt new file mode 100644 index 0000000000000..cac9052c8fe0d --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank1.errors.txt @@ -0,0 +1,23 @@ +/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": ["-ios", "__native", ""] + } + } + +==== /index.ts (0 errors) ==== + import { ios } from "./foo"; +==== /foo-ios.ts (0 errors) ==== + export function ios() {} +==== /foo__native.ts (0 errors) ==== + export function native() {} +==== /foo.ts (0 errors) ==== + export function base() {} + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank2.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank2.errors.txt new file mode 100644 index 0000000000000..2b642a1d4240f --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank2.errors.txt @@ -0,0 +1,21 @@ +/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": ["-ios", "__native", ""] + } + } + +==== /index.ts (0 errors) ==== + import { native } from "./foo"; +==== /foo__native.ts (0 errors) ==== + export function native() {} +==== /foo.ts (0 errors) ==== + export function base() {} + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank3.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank3.errors.txt new file mode 100644 index 0000000000000..355ed32c08739 --- /dev/null +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank3.errors.txt @@ -0,0 +1,19 @@ +/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + "traceResolution": true, + "moduleSuffixes": ["-ios", "__native", ""] + } + } + +==== /index.ts (0 errors) ==== + import { base } from "./foo"; +==== /foo.ts (0 errors) ==== + export function base() {} + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank4.errors.txt b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank4.errors.txt index 0a329aac3fee2..7e5c6fc204675 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank4.errors.txt +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank4.errors.txt @@ -1,10 +1,13 @@ +/tsconfig.json(3,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /index.ts(1,22): error TS2307: Cannot find module './foo' or its corresponding type declarations. -==== /tsconfig.json (0 errors) ==== +==== /tsconfig.json (1 errors) ==== { "compilerOptions": { "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "traceResolution": true, "moduleSuffixes": ["-ios", "__native", ""] } diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks.trace.json b/tests/baselines/reference/moduleResolutionWithSymlinks.trace.json index d717a732e0266..d6acfbf9f1e3a 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks.trace.json @@ -1,25 +1,35 @@ [ "======== Resolving module './library-a' from '/src/app.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/src/library-a', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/src/library-a', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/src/library-a.ts' does not exist.", "File '/src/library-a.tsx' does not exist.", "File '/src/library-a.d.ts' does not exist.", + "File '/src/library-a.js' does not exist.", + "File '/src/library-a.jsx' does not exist.", "File '/src/library-a/package.json' does not exist.", "File '/src/library-a/index.ts' exists - use it as a name resolution result.", "======== Module name './library-a' was successfully resolved to '/src/library-a/index.ts'. ========", "======== Resolving module './library-b' from '/src/app.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/src/library-b', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/src/library-b', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/src/library-b.ts' does not exist.", "File '/src/library-b.tsx' does not exist.", "File '/src/library-b.d.ts' does not exist.", + "File '/src/library-b.js' does not exist.", + "File '/src/library-b.jsx' does not exist.", "File '/src/library-b/package.json' does not exist.", "File '/src/library-b/index.ts' exists - use it as a name resolution result.", "======== Module name './library-b' was successfully resolved to '/src/library-b/index.ts'. ========", "======== Resolving module 'library-a' from '/src/library-b/index.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'library-a' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/src/library-b/package.json' does not exist according to earlier cached lookups.", + "File '/src/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'library-a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/src/library-b/node_modules/library-a/package.json' does not exist.", "File '/src/library-b/node_modules/library-a.ts' does not exist.", diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks_notInNodeModules.trace.json b/tests/baselines/reference/moduleResolutionWithSymlinks_notInNodeModules.trace.json index ec59557b23985..51cdd2457d1e5 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_notInNodeModules.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_notInNodeModules.trace.json @@ -1,12 +1,14 @@ [ "======== Resolving module './shared/abc' from '/src/app.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/src/shared/abc', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/src/shared/abc', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/src/shared/abc.ts' exists - use it as a name resolution result.", "======== Module name './shared/abc' was successfully resolved to '/src/shared/abc.ts'. ========", "======== Resolving module './shared2/abc' from '/src/app.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/src/shared2/abc', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/src/shared2/abc', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/src/shared2/abc.ts' exists - use it as a name resolution result.", "======== Module name './shared2/abc' was successfully resolved to '/src/shared2/abc.ts'. ========", "======== Resolving module '@typescript/lib-es5' from '/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json b/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json index 4192eec404fb4..19de4f7e8fd33 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json @@ -14,8 +14,13 @@ "File '/app/package.json' does not exist.", "File '/package.json' does not exist.", "======== Resolving module 'real' from '/app/node_modules/linked/index.d.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'real' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/app/node_modules/linked/package.json' does not exist according to earlier cached lookups.", + "File '/app/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/app/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'real' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/app/node_modules/linked/node_modules' does not exist, skipping all lookups in it.", "File '/app/node_modules/real/package.json' does not exist.", @@ -31,8 +36,11 @@ "File '/app/package.json' does not exist according to earlier cached lookups.", "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'linked' from '/app/app.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'linked' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/app/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'linked' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/app/node_modules/linked/package.json' does not exist according to earlier cached lookups.", "File '/app/node_modules/linked.ts' does not exist.", @@ -43,8 +51,11 @@ "File '/app/node_modules/linked/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'linked' was successfully resolved to '/app/node_modules/linked/index.d.ts'. ========", "======== Resolving module 'linked2' from '/app/app.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'linked2' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/app/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'linked2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/app/node_modules/linked2/package.json' does not exist.", "File '/app/node_modules/linked2.ts' does not exist.", @@ -59,8 +70,13 @@ "File '/app/package.json' does not exist according to earlier cached lookups.", "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'real' from '/app/node_modules/linked2/index.d.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'real' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/app/node_modules/linked2/package.json' does not exist according to earlier cached lookups.", + "File '/app/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/app/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'real' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/app/node_modules/linked2/node_modules' does not exist, skipping all lookups in it.", "File '/app/node_modules/real/package.json' does not exist according to earlier cached lookups.", diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks_withOutDir.trace.json b/tests/baselines/reference/moduleResolutionWithSymlinks_withOutDir.trace.json index d717a732e0266..d6acfbf9f1e3a 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_withOutDir.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_withOutDir.trace.json @@ -1,25 +1,35 @@ [ "======== Resolving module './library-a' from '/src/app.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/src/library-a', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/src/library-a', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/src/library-a.ts' does not exist.", "File '/src/library-a.tsx' does not exist.", "File '/src/library-a.d.ts' does not exist.", + "File '/src/library-a.js' does not exist.", + "File '/src/library-a.jsx' does not exist.", "File '/src/library-a/package.json' does not exist.", "File '/src/library-a/index.ts' exists - use it as a name resolution result.", "======== Module name './library-a' was successfully resolved to '/src/library-a/index.ts'. ========", "======== Resolving module './library-b' from '/src/app.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/src/library-b', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/src/library-b', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/src/library-b.ts' does not exist.", "File '/src/library-b.tsx' does not exist.", "File '/src/library-b.d.ts' does not exist.", + "File '/src/library-b.js' does not exist.", + "File '/src/library-b.jsx' does not exist.", "File '/src/library-b/package.json' does not exist.", "File '/src/library-b/index.ts' exists - use it as a name resolution result.", "======== Module name './library-b' was successfully resolved to '/src/library-b/index.ts'. ========", "======== Resolving module 'library-a' from '/src/library-b/index.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'library-a' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/src/library-b/package.json' does not exist according to earlier cached lookups.", + "File '/src/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'library-a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/src/library-b/node_modules/library-a/package.json' does not exist.", "File '/src/library-b/node_modules/library-a.ts' does not exist.", diff --git a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json index 4432deac645e3..7c28163d756e5 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json @@ -1,9 +1,12 @@ [ "======== Resolving module 'foo/bar' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'foo/bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'foo/bar' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/foo/bar/package.json'.", + "Found 'package.json' at '/node_modules/foo/package.json'.", "File '/node_modules/foo/bar.ts' does not exist.", "File '/node_modules/foo/bar.tsx' does not exist.", "File '/node_modules/foo/bar.d.ts' does not exist.", diff --git a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json index 33293b8d68f15..8cea491d8a6eb 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json @@ -1,9 +1,12 @@ [ "======== Resolving module 'foo/@bar' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'foo/@bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'foo/@bar' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/foo/@bar/package.json'.", + "Found 'package.json' at '/node_modules/foo/package.json'.", "File '/node_modules/foo/@bar.ts' does not exist.", "File '/node_modules/foo/@bar.tsx' does not exist.", "File '/node_modules/foo/@bar.d.ts' does not exist.", diff --git a/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json b/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json index 13bc7de8f6129..9e7f8030e68f9 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module '@foo/bar' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module '@foo/bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module '@foo/bar' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/@foo/bar/package.json'.", "File '/node_modules/@foo/bar.ts' does not exist.", diff --git a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot.trace.json b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot.trace.json index 08f6b72c2e57a..2fb033b386fd7 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module 'foo/bar' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'foo/bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'foo/bar' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/foo/bar/package.json' does not exist.", "Found 'package.json' at '/node_modules/foo/package.json'.", @@ -13,26 +15,13 @@ "File '/node_modules/foo/bar/index.tsx' does not exist.", "File '/node_modules/foo/bar/index.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "Loading module 'foo/bar' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/node_modules/foo/bar/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "File '/node_modules/foo/bar.js' does not exist.", "File '/node_modules/foo/bar.jsx' does not exist.", "File '/node_modules/foo/bar/index.js' exists - use it as a name resolution result.", "'package.json' does not have a 'peerDependencies' field.", - "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", - "Loading module 'foo/bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/foo/bar/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", - "File '/node_modules/foo/bar.ts' does not exist.", - "File '/node_modules/foo/bar.tsx' does not exist.", - "File '/node_modules/foo/bar.d.ts' does not exist.", - "File '/node_modules/foo/bar/index.ts' does not exist.", - "File '/node_modules/foo/bar/index.tsx' does not exist.", - "File '/node_modules/foo/bar/index.d.ts' does not exist.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "Resolving real path for '/node_modules/foo/bar/index.js', result '/node_modules/foo/bar/index.js'.", "======== Module name 'foo/bar' was successfully resolved to '/node_modules/foo/bar/index.js' with Package ID 'foo/bar/index.js@1.2.3'. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_fakeScopedPackage.trace.json b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_fakeScopedPackage.trace.json index e4ba32f52f320..81ae13fb726c9 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_fakeScopedPackage.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_fakeScopedPackage.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module 'foo/@bar' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'foo/@bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'foo/@bar' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/foo/@bar/package.json' does not exist.", "Found 'package.json' at '/node_modules/foo/package.json'.", @@ -13,26 +15,13 @@ "File '/node_modules/foo/@bar/index.tsx' does not exist.", "File '/node_modules/foo/@bar/index.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "Loading module 'foo/@bar' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/node_modules/foo/@bar/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "File '/node_modules/foo/@bar.js' does not exist.", "File '/node_modules/foo/@bar.jsx' does not exist.", "File '/node_modules/foo/@bar/index.js' exists - use it as a name resolution result.", "'package.json' does not have a 'peerDependencies' field.", - "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", - "Loading module 'foo/@bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/foo/@bar/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", - "File '/node_modules/foo/@bar.ts' does not exist.", - "File '/node_modules/foo/@bar.tsx' does not exist.", - "File '/node_modules/foo/@bar.d.ts' does not exist.", - "File '/node_modules/foo/@bar/index.ts' does not exist.", - "File '/node_modules/foo/@bar/index.tsx' does not exist.", - "File '/node_modules/foo/@bar/index.d.ts' does not exist.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "Resolving real path for '/node_modules/foo/@bar/index.js', result '/node_modules/foo/@bar/index.js'.", "======== Module name 'foo/@bar' was successfully resolved to '/node_modules/foo/@bar/index.js' with Package ID 'foo/@bar/index.js@1.2.3'. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json index eb2c2768622a9..6e43581f9f392 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json @@ -2,8 +2,10 @@ "File '/node_modules/foo/src/package.json' does not exist.", "Found 'package.json' at '/node_modules/foo/package.json'.", "======== Resolving module 'foo' from '/index.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "File '/node_modules/foo.ts' does not exist.", diff --git a/tests/baselines/reference/module_augmentUninstantiatedModule2.js b/tests/baselines/reference/module_augmentUninstantiatedModule2.js index 98c93b07b7247..3f5624133e410 100644 --- a/tests/baselines/reference/module_augmentUninstantiatedModule2.js +++ b/tests/baselines/reference/module_augmentUninstantiatedModule2.js @@ -1,8 +1,42 @@ //// [tests/cases/compiler/module_augmentUninstantiatedModule2.ts] //// -//// [module_augmentUninstantiatedModule2.ts] -declare var ng: ng.IAngularStatic; declare module ng { export interface IModule { name: string; } export interface IAngularStatic { module: (s: string) => IModule; } } export = ng; +//// [app.ts] +import ng = require("angular"); +import "./moduleAugmentation"; + +var x: number = ng.getNumber(); -//// [module_augmentUninstantiatedModule2.js] +//// [moduleAugmentation.ts] +import * as ng from "angular" +declare module "angular" { + export interface IAngularStatic { + getNumber: () => number; + } +} + +//// [index.d.ts] +declare var ng: ng.IAngularStatic; + +declare module ng { + export interface IModule { + name: string; + } + + export interface IAngularStatic { + module: (s: string) => IModule; + } +} + +export = ng; + + + +//// [moduleAugmentation.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//// [app.js] "use strict"; -module.exports = ng; +Object.defineProperty(exports, "__esModule", { value: true }); +var ng = require("angular"); +require("./moduleAugmentation"); +var x = ng.getNumber(); diff --git a/tests/baselines/reference/module_augmentUninstantiatedModule2.symbols b/tests/baselines/reference/module_augmentUninstantiatedModule2.symbols index d8a3779193eea..17c284df01978 100644 --- a/tests/baselines/reference/module_augmentUninstantiatedModule2.symbols +++ b/tests/baselines/reference/module_augmentUninstantiatedModule2.symbols @@ -1,32 +1,59 @@ //// [tests/cases/compiler/module_augmentUninstantiatedModule2.ts] //// -=== module_augmentUninstantiatedModule2.ts === +=== app.ts === +import ng = require("angular"); +>ng : Symbol(ng, Decl(app.ts, 0, 0)) + +import "./moduleAugmentation"; + +var x: number = ng.getNumber(); +>x : Symbol(x, Decl(app.ts, 3, 3)) +>ng.getNumber : Symbol(ng.IAngularStatic.getNumber, Decl(moduleAugmentation.ts, 2, 37)) +>ng : Symbol(ng, Decl(app.ts, 0, 0)) +>getNumber : Symbol(ng.IAngularStatic.getNumber, Decl(moduleAugmentation.ts, 2, 37)) + +=== moduleAugmentation.ts === +import * as ng from "angular" +>ng : Symbol(ng, Decl(moduleAugmentation.ts, 0, 6)) + +declare module "angular" { +>"angular" : Symbol(ng, Decl(index.d.ts, 0, 11), Decl(index.d.ts, 0, 34), Decl(moduleAugmentation.ts, 0, 29)) + + export interface IAngularStatic { +>IAngularStatic : Symbol(IAngularStatic, Decl(index.d.ts, 5, 4), Decl(moduleAugmentation.ts, 1, 26)) + + getNumber: () => number; +>getNumber : Symbol(IAngularStatic.getNumber, Decl(moduleAugmentation.ts, 2, 37)) + } +} + +=== node_modules/angular/index.d.ts === declare var ng: ng.IAngularStatic; ->ng : Symbol(ng, Decl(module_augmentUninstantiatedModule2.ts, 0, 11), Decl(module_augmentUninstantiatedModule2.ts, 0, 34)) ->ng : Symbol(ng, Decl(module_augmentUninstantiatedModule2.ts, 0, 11), Decl(module_augmentUninstantiatedModule2.ts, 0, 34)) ->IAngularStatic : Symbol(ng.IAngularStatic, Decl(module_augmentUninstantiatedModule2.ts, 5, 4)) +>ng : Symbol(ng, Decl(index.d.ts, 0, 11), Decl(index.d.ts, 0, 34), Decl(moduleAugmentation.ts, 0, 29)) +>ng : Symbol(ng, Decl(index.d.ts, 0, 11), Decl(index.d.ts, 0, 34), Decl(moduleAugmentation.ts, 0, 29)) +>IAngularStatic : Symbol(ng.IAngularStatic, Decl(index.d.ts, 5, 4), Decl(moduleAugmentation.ts, 1, 26)) declare module ng { ->ng : Symbol(ng, Decl(module_augmentUninstantiatedModule2.ts, 0, 11), Decl(module_augmentUninstantiatedModule2.ts, 0, 34)) +>ng : Symbol(ng, Decl(index.d.ts, 0, 11), Decl(index.d.ts, 0, 34), Decl(moduleAugmentation.ts, 0, 29)) export interface IModule { ->IModule : Symbol(IModule, Decl(module_augmentUninstantiatedModule2.ts, 2, 19)) +>IModule : Symbol(IModule, Decl(index.d.ts, 2, 19)) name: string; ->name : Symbol(IModule.name, Decl(module_augmentUninstantiatedModule2.ts, 3, 29)) +>name : Symbol(IModule.name, Decl(index.d.ts, 3, 29)) } export interface IAngularStatic { ->IAngularStatic : Symbol(IAngularStatic, Decl(module_augmentUninstantiatedModule2.ts, 5, 4)) +>IAngularStatic : Symbol(IAngularStatic, Decl(index.d.ts, 5, 4), Decl(moduleAugmentation.ts, 1, 26)) module: (s: string) => IModule; ->module : Symbol(IAngularStatic.module, Decl(module_augmentUninstantiatedModule2.ts, 7, 36)) ->s : Symbol(s, Decl(module_augmentUninstantiatedModule2.ts, 8, 16)) ->IModule : Symbol(IModule, Decl(module_augmentUninstantiatedModule2.ts, 2, 19)) +>module : Symbol(IAngularStatic.module, Decl(index.d.ts, 7, 36)) +>s : Symbol(s, Decl(index.d.ts, 8, 16)) +>IModule : Symbol(IModule, Decl(index.d.ts, 2, 19)) } } export = ng; ->ng : Symbol(ng, Decl(module_augmentUninstantiatedModule2.ts, 0, 11), Decl(module_augmentUninstantiatedModule2.ts, 0, 34)) +>ng : Symbol(ng, Decl(index.d.ts, 0, 11), Decl(index.d.ts, 0, 34), Decl(moduleAugmentation.ts, 0, 29)) diff --git a/tests/baselines/reference/module_augmentUninstantiatedModule2.types b/tests/baselines/reference/module_augmentUninstantiatedModule2.types index 9672aeef624e5..63f548564dd8b 100644 --- a/tests/baselines/reference/module_augmentUninstantiatedModule2.types +++ b/tests/baselines/reference/module_augmentUninstantiatedModule2.types @@ -1,9 +1,44 @@ //// [tests/cases/compiler/module_augmentUninstantiatedModule2.ts] //// -=== module_augmentUninstantiatedModule2.ts === -declare var ng: ng.IAngularStatic; +=== app.ts === +import ng = require("angular"); +>ng : ng.IAngularStatic +> : ^^^^^^^^^^^^^^^^^ + +import "./moduleAugmentation"; + +var x: number = ng.getNumber(); +>x : number +> : ^^^^^^ +>ng.getNumber() : number +> : ^^^^^^ +>ng.getNumber : () => number +> : ^^^^^^ +>ng : ng.IAngularStatic +> : ^^^^^^^^^^^^^^^^^ +>getNumber : () => number +> : ^^^^^^ + +=== moduleAugmentation.ts === +import * as ng from "angular" >ng : ng.IAngularStatic > : ^^^^^^^^^^^^^^^^^ + +declare module "angular" { +>"angular" : IAngularStatic +> : ^^^^^^^^^^^^^^ + + export interface IAngularStatic { + getNumber: () => number; +>getNumber : () => number +> : ^^^^^^ + } +} + +=== node_modules/angular/index.d.ts === +declare var ng: ng.IAngularStatic; +>ng : import("node_modules/angular/index.d.ts").IAngularStatic +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >ng : any > : ^^^ @@ -24,7 +59,7 @@ declare module ng { } export = ng; ->ng : ng.IAngularStatic -> : ^^^^^^^^^^^^^^^^^ +>ng : import("node_modules/angular/index.d.ts").IAngularStatic +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/noBundledEmitFromNodeModules.errors.txt b/tests/baselines/reference/noBundledEmitFromNodeModules.errors.txt new file mode 100644 index 0000000000000..7af8f8770a0f1 --- /dev/null +++ b/tests/baselines/reference/noBundledEmitFromNodeModules.errors.txt @@ -0,0 +1,12 @@ +error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. +error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. + + +!!! error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. +!!! error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. +==== /a.ts (0 errors) ==== + import { C } from "projB"; + +==== /node_modules/projB/index.ts (0 errors) ==== + export class C {} + \ No newline at end of file diff --git a/tests/baselines/reference/node10AlternateResult_noResolution.errors.txt b/tests/baselines/reference/node10AlternateResult_noResolution.errors.txt index 9576d99ffb6a1..dee485238c2c4 100644 --- a/tests/baselines/reference/node10AlternateResult_noResolution.errors.txt +++ b/tests/baselines/reference/node10AlternateResult_noResolution.errors.txt @@ -1,7 +1,9 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /index.ts(1,21): error TS2307: Cannot find module 'pkg' or its corresponding type declarations. There are types at '/node_modules/pkg/definitely-not-index.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'. +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /node_modules/pkg/package.json (0 errors) ==== { "name": "pkg", diff --git a/tests/baselines/reference/node10Alternateresult_noTypes.errors.txt b/tests/baselines/reference/node10Alternateresult_noTypes.errors.txt index 26df19d3b9461..65eca3ffd926d 100644 --- a/tests/baselines/reference/node10Alternateresult_noTypes.errors.txt +++ b/tests/baselines/reference/node10Alternateresult_noTypes.errors.txt @@ -1,3 +1,4 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. error TS6504: File '/node_modules/pkg/untyped.js' is a JavaScript file. Did you mean to enable the 'allowJs' option? The file is in the program because: Root file specified for compilation @@ -5,6 +6,7 @@ error TS6504: File '/node_modules/pkg/untyped.js' is a JavaScript file. Did you There are types at '/node_modules/pkg/definitely-not-index.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'. +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS6504: File '/node_modules/pkg/untyped.js' is a JavaScript file. Did you mean to enable the 'allowJs' option? !!! error TS6504: The file is in the program because: !!! error TS6504: Root file specified for compilation diff --git a/tests/baselines/reference/node10IsNode_node.errors.txt b/tests/baselines/reference/node10IsNode_node.errors.txt new file mode 100644 index 0000000000000..c04ca1cadcb61 --- /dev/null +++ b/tests/baselines/reference/node10IsNode_node.errors.txt @@ -0,0 +1,24 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== /node_modules/fancy-lib/package.json (0 errors) ==== + { + "name": "fancy-lib", + "version": "1.0.0", + "main": "index.js", + "exports": { + ".": "./definitely-not-index.js" + } + } + +==== /node_modules/fancy-lib/index.d.ts (0 errors) ==== + export declare const fancy: "feast"; + +==== /node_modules/fancy-lib/definitely-not-index.d.ts (0 errors) ==== + export declare const fancy: "ketchup"; + +==== /main.ts (0 errors) ==== + import { fancy } from "fancy-lib"; + fancy; + \ No newline at end of file diff --git a/tests/baselines/reference/node10IsNode_node10.trace.json b/tests/baselines/reference/node10IsNode_node10.trace.json index 63b91f9db023e..db043509a2b75 100644 --- a/tests/baselines/reference/node10IsNode_node10.trace.json +++ b/tests/baselines/reference/node10IsNode_node10.trace.json @@ -2,24 +2,20 @@ "Found 'package.json' at '/node_modules/fancy-lib/package.json'.", "File '/node_modules/fancy-lib/package.json' exists according to earlier cached lookups.", "======== Resolving module 'fancy-lib' from '/main.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module 'fancy-lib' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'fancy-lib' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/fancy-lib/package.json' exists according to earlier cached lookups.", - "File '/node_modules/fancy-lib.ts' does not exist.", - "File '/node_modules/fancy-lib.tsx' does not exist.", - "File '/node_modules/fancy-lib.d.ts' does not exist.", - "'package.json' does not have a 'typesVersions' field.", - "'package.json' does not have a 'typings' field.", - "'package.json' does not have a 'types' field.", - "'package.json' has 'main' field 'index.js' that references '/node_modules/fancy-lib/index.js'.", - "File name '/node_modules/fancy-lib/index.js' has a '.js' extension - stripping it.", - "File '/node_modules/fancy-lib/index.ts' does not exist.", - "File '/node_modules/fancy-lib/index.tsx' does not exist.", - "File '/node_modules/fancy-lib/index.d.ts' exists - use it as a name resolution result.", + "Using 'exports' subpath '.' with target './definitely-not-index.js'.", + "File name '/node_modules/fancy-lib/definitely-not-index.js' has a '.js' extension - stripping it.", + "File '/node_modules/fancy-lib/definitely-not-index.ts' does not exist.", + "File '/node_modules/fancy-lib/definitely-not-index.tsx' does not exist.", + "File '/node_modules/fancy-lib/definitely-not-index.d.ts' exists - use it as a name resolution result.", "'package.json' does not have a 'peerDependencies' field.", - "Resolving real path for '/node_modules/fancy-lib/index.d.ts', result '/node_modules/fancy-lib/index.d.ts'.", - "======== Module name 'fancy-lib' was successfully resolved to '/node_modules/fancy-lib/index.d.ts' with Package ID 'fancy-lib/index.d.ts@1.0.0'. ========", + "Resolving real path for '/node_modules/fancy-lib/definitely-not-index.d.ts', result '/node_modules/fancy-lib/definitely-not-index.d.ts'.", + "======== Module name 'fancy-lib' was successfully resolved to '/node_modules/fancy-lib/definitely-not-index.d.ts' with Package ID 'fancy-lib/definitely-not-index.d.ts@1.0.0'. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/node10IsNode_node10.types b/tests/baselines/reference/node10IsNode_node10.types index f786e73fab17e..ec7a18d4a3007 100644 --- a/tests/baselines/reference/node10IsNode_node10.types +++ b/tests/baselines/reference/node10IsNode_node10.types @@ -12,10 +12,10 @@ export declare const fancy: "ketchup"; === /main.ts === import { fancy } from "fancy-lib"; ->fancy : "feast" -> : ^^^^^^^ +>fancy : "ketchup" +> : ^^^^^^^^^ fancy; ->fancy : "feast" -> : ^^^^^^^ +>fancy : "ketchup" +> : ^^^^^^^^^ diff --git a/tests/baselines/reference/nodeColonModuleResolution.trace.json b/tests/baselines/reference/nodeColonModuleResolution.trace.json index 78ea40371a4d3..d6bd7a5655ab8 100644 --- a/tests/baselines/reference/nodeColonModuleResolution.trace.json +++ b/tests/baselines/reference/nodeColonModuleResolution.trace.json @@ -7,9 +7,12 @@ "File '/package.json' does not exist.", "Module 'ph' was resolved as locally declared ambient module in file '/a/b/node_modules/@types/node/ph.d.ts'.", "======== Resolving module 'node:ph' from '/a/b/main.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Skipping module 'node:ph' that looks like an absolute URI, target file types: TypeScript, Declaration.", - "Skipping module 'node:ph' that looks like an absolute URI, target file types: JavaScript.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/a/b/package.json' does not exist according to earlier cached lookups.", + "File '/a/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Skipping module 'node:ph' that looks like an absolute URI, target file types: TypeScript, JavaScript, Declaration, JSON.", "======== Module name 'node:ph' was not resolved. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", diff --git a/tests/baselines/reference/nodeColonModuleResolution2.trace.json b/tests/baselines/reference/nodeColonModuleResolution2.trace.json index 4d62d93394670..7770a4e722b1f 100644 --- a/tests/baselines/reference/nodeColonModuleResolution2.trace.json +++ b/tests/baselines/reference/nodeColonModuleResolution2.trace.json @@ -1,13 +1,16 @@ [ "======== Resolving module 'fake:thing' from '/a/b/main.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'paths' option is specified, looking for a pattern to match module name 'fake:thing'.", "Module name 'fake:thing', matched pattern 'fake:thing'.", "Trying substitution './node_modules/fake/thing', candidate module location: './node_modules/fake/thing'.", - "Loading module as file / folder, candidate module location '/a/b/node_modules/fake/thing', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/a/b/node_modules/fake/thing', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/a/b/node_modules/fake/thing.ts' does not exist.", "File '/a/b/node_modules/fake/thing.tsx' does not exist.", "File '/a/b/node_modules/fake/thing.d.ts' does not exist.", + "File '/a/b/node_modules/fake/thing.js' does not exist.", + "File '/a/b/node_modules/fake/thing.jsx' does not exist.", "File '/a/b/node_modules/fake/thing/package.json' does not exist.", "File '/a/b/node_modules/fake/thing/index.ts' does not exist.", "File '/a/b/node_modules/fake/thing/index.tsx' does not exist.", diff --git a/tests/baselines/reference/packageJsonImportsExportsOptionCompat(moduleresolution=node).errors.txt b/tests/baselines/reference/packageJsonImportsExportsOptionCompat(moduleresolution=node).errors.txt index 5d90d36e485be..4cb493c094bda 100644 --- a/tests/baselines/reference/packageJsonImportsExportsOptionCompat(moduleresolution=node).errors.txt +++ b/tests/baselines/reference/packageJsonImportsExportsOptionCompat(moduleresolution=node).errors.txt @@ -1,8 +1,10 @@ error TS5098: Option 'resolvePackageJsonExports' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'. error TS5098: Option 'resolvePackageJsonImports' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'. +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. !!! error TS5098: Option 'resolvePackageJsonExports' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'. !!! error TS5098: Option 'resolvePackageJsonImports' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'. +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== index.ts (0 errors) ==== \ No newline at end of file diff --git a/tests/baselines/reference/packageJsonMain.trace.json b/tests/baselines/reference/packageJsonMain.trace.json index 7a5ae1bf7af59..4a04265673ef5 100644 --- a/tests/baselines/reference/packageJsonMain.trace.json +++ b/tests/baselines/reference/packageJsonMain.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module 'foo' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/foo/package.json'.", "File '/node_modules/foo.ts' does not exist.", @@ -20,38 +22,20 @@ "File '/node_modules/foo/index.tsx' does not exist.", "File '/node_modules/foo/index.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "Loading module 'foo' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "File '/node_modules/foo.js' does not exist.", "File '/node_modules/foo.jsx' does not exist.", "'package.json' has 'main' field 'oof' that references '/node_modules/foo/oof'.", - "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: JavaScript.", + "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: JavaScript, JSON.", "File '/node_modules/foo/oof.js' exists - use it as a name resolution result.", - "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", - "File '/node_modules/foo.ts' does not exist.", - "File '/node_modules/foo.tsx' does not exist.", - "File '/node_modules/foo.d.ts' does not exist.", - "'package.json' does not have a 'typings' field.", - "'package.json' does not have a 'types' field.", - "'package.json' has 'main' field 'oof' that references '/node_modules/foo/oof'.", - "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: TypeScript, Declaration.", - "File '/node_modules/foo/oof.ts' does not exist.", - "File '/node_modules/foo/oof.tsx' does not exist.", - "File '/node_modules/foo/oof.d.ts' does not exist.", - "Directory '/node_modules/foo/oof' does not exist, skipping all lookups in it.", - "File '/node_modules/foo/index.ts' does not exist.", - "File '/node_modules/foo/index.tsx' does not exist.", - "File '/node_modules/foo/index.d.ts' does not exist.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "Resolving real path for '/node_modules/foo/oof.js', result '/node_modules/foo/oof.js'.", "======== Module name 'foo' was successfully resolved to '/node_modules/foo/oof.js'. ========", "======== Resolving module 'bar' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'bar' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/bar/package.json'.", "File '/node_modules/bar.ts' does not exist.", @@ -78,46 +62,20 @@ "File '/node_modules/bar/index.tsx' does not exist.", "File '/node_modules/bar/index.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "Loading module 'bar' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/node_modules/bar/package.json' exists according to earlier cached lookups.", "File '/node_modules/bar.js' does not exist.", "File '/node_modules/bar.jsx' does not exist.", "'package.json' has 'main' field 'rab.js' that references '/node_modules/bar/rab.js'.", "File name '/node_modules/bar/rab.js' has a '.js' extension - stripping it.", "File '/node_modules/bar/rab.js' exists - use it as a name resolution result.", - "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", - "Loading module 'bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/bar/package.json' exists according to earlier cached lookups.", - "File '/node_modules/bar.ts' does not exist.", - "File '/node_modules/bar.tsx' does not exist.", - "File '/node_modules/bar.d.ts' does not exist.", - "'package.json' does not have a 'typings' field.", - "'package.json' does not have a 'types' field.", - "'package.json' has 'main' field 'rab.js' that references '/node_modules/bar/rab.js'.", - "File name '/node_modules/bar/rab.js' has a '.js' extension - stripping it.", - "File '/node_modules/bar/rab.ts' does not exist.", - "File '/node_modules/bar/rab.tsx' does not exist.", - "File '/node_modules/bar/rab.d.ts' does not exist.", - "Loading module as file / folder, candidate module location '/node_modules/bar/rab.js', target file types: TypeScript, Declaration.", - "File name '/node_modules/bar/rab.js' has a '.js' extension - stripping it.", - "File '/node_modules/bar/rab.ts' does not exist.", - "File '/node_modules/bar/rab.tsx' does not exist.", - "File '/node_modules/bar/rab.d.ts' does not exist.", - "File '/node_modules/bar/rab.js.ts' does not exist.", - "File '/node_modules/bar/rab.js.tsx' does not exist.", - "File '/node_modules/bar/rab.js.d.ts' does not exist.", - "Directory '/node_modules/bar/rab.js' does not exist, skipping all lookups in it.", - "File '/node_modules/bar/index.ts' does not exist.", - "File '/node_modules/bar/index.tsx' does not exist.", - "File '/node_modules/bar/index.d.ts' does not exist.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "Resolving real path for '/node_modules/bar/rab.js', result '/node_modules/bar/rab.js'.", "======== Module name 'bar' was successfully resolved to '/node_modules/bar/rab.js'. ========", "======== Resolving module 'baz' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'baz' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'baz' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/baz/package.json'.", "File '/node_modules/baz.ts' does not exist.", @@ -138,37 +96,15 @@ "File '/node_modules/baz/index.tsx' does not exist.", "File '/node_modules/baz/index.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "Loading module 'baz' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/node_modules/baz/package.json' exists according to earlier cached lookups.", "File '/node_modules/baz.js' does not exist.", "File '/node_modules/baz.jsx' does not exist.", "'package.json' has 'main' field 'zab' that references '/node_modules/baz/zab'.", - "Loading module as file / folder, candidate module location '/node_modules/baz/zab', target file types: JavaScript.", + "Loading module as file / folder, candidate module location '/node_modules/baz/zab', target file types: JavaScript, JSON.", "File '/node_modules/baz/zab.js' does not exist.", "File '/node_modules/baz/zab.jsx' does not exist.", "File '/node_modules/baz/zab/index.js' exists - use it as a name resolution result.", - "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", - "Loading module 'baz' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/baz/package.json' exists according to earlier cached lookups.", - "File '/node_modules/baz.ts' does not exist.", - "File '/node_modules/baz.tsx' does not exist.", - "File '/node_modules/baz.d.ts' does not exist.", - "'package.json' does not have a 'typings' field.", - "'package.json' does not have a 'types' field.", - "'package.json' has 'main' field 'zab' that references '/node_modules/baz/zab'.", - "Loading module as file / folder, candidate module location '/node_modules/baz/zab', target file types: TypeScript, Declaration.", - "File '/node_modules/baz/zab.ts' does not exist.", - "File '/node_modules/baz/zab.tsx' does not exist.", - "File '/node_modules/baz/zab.d.ts' does not exist.", - "File '/node_modules/baz/zab/index.ts' does not exist.", - "File '/node_modules/baz/zab/index.tsx' does not exist.", - "File '/node_modules/baz/zab/index.d.ts' does not exist.", - "File '/node_modules/baz/index.ts' does not exist.", - "File '/node_modules/baz/index.tsx' does not exist.", - "File '/node_modules/baz/index.d.ts' does not exist.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "Resolving real path for '/node_modules/baz/zab/index.js', result '/node_modules/baz/zab/index.js'.", "======== Module name 'baz' was successfully resolved to '/node_modules/baz/zab/index.js'. ========", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/packageJsonMain_isNonRecursive.trace.json b/tests/baselines/reference/packageJsonMain_isNonRecursive.trace.json index 1b4d806fee202..d6edf2d3622c0 100644 --- a/tests/baselines/reference/packageJsonMain_isNonRecursive.trace.json +++ b/tests/baselines/reference/packageJsonMain_isNonRecursive.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module 'foo' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/foo/package.json'.", "File '/node_modules/foo.ts' does not exist.", @@ -22,40 +24,18 @@ "File '/node_modules/foo/index.tsx' does not exist.", "File '/node_modules/foo/index.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "Loading module 'foo' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "File '/node_modules/foo.js' does not exist.", "File '/node_modules/foo.jsx' does not exist.", "'package.json' has 'main' field 'oof' that references '/node_modules/foo/oof'.", - "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: JavaScript.", + "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: JavaScript, JSON.", "File '/node_modules/foo/oof.js' does not exist.", "File '/node_modules/foo/oof.jsx' does not exist.", "File '/node_modules/foo/oof/index.js' does not exist.", "File '/node_modules/foo/oof/index.jsx' does not exist.", "File '/node_modules/foo/index.js' does not exist.", "File '/node_modules/foo/index.jsx' does not exist.", - "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", - "File '/node_modules/foo.ts' does not exist.", - "File '/node_modules/foo.tsx' does not exist.", - "File '/node_modules/foo.d.ts' does not exist.", - "'package.json' does not have a 'typings' field.", - "'package.json' does not have a 'types' field.", - "'package.json' has 'main' field 'oof' that references '/node_modules/foo/oof'.", - "Loading module as file / folder, candidate module location '/node_modules/foo/oof', target file types: TypeScript, Declaration.", - "File '/node_modules/foo/oof.ts' does not exist.", - "File '/node_modules/foo/oof.tsx' does not exist.", - "File '/node_modules/foo/oof.d.ts' does not exist.", - "File '/node_modules/foo/oof/index.ts' does not exist.", - "File '/node_modules/foo/oof/index.tsx' does not exist.", - "File '/node_modules/foo/oof/index.d.ts' does not exist.", - "File '/node_modules/foo/index.ts' does not exist.", - "File '/node_modules/foo/index.tsx' does not exist.", - "File '/node_modules/foo/index.d.ts' does not exist.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "======== Module name 'foo' was not resolved. ========", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json index 6a93f552ca0c2..27fd3ff7d6fc4 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json @@ -1,26 +1,34 @@ [ "======== Resolving module 'folder2/file2' from 'c:/root/folder1/file1.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folder2/file2'.", "Resolving module name 'folder2/file2' relative to base url 'c:/root' - 'c:/root/folder2/file2'.", - "Loading module as file / folder, candidate module location 'c:/root/folder2/file2', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/folder2/file2', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/folder2/file2.ts' exists - use it as a name resolution result.", "======== Module name 'folder2/file2' was successfully resolved to 'c:/root/folder2/file2.ts'. ========", "======== Resolving module './file3' from 'c:/root/folder2/file2.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module as file / folder, candidate module location 'c:/root/folder2/file3', target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location 'c:/root/folder2/file3', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/folder2/file3.ts' exists - use it as a name resolution result.", "======== Module name './file3' was successfully resolved to 'c:/root/folder2/file3.ts'. ========", "======== Resolving module 'file4' from 'c:/root/folder2/file2.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'file4'.", "Resolving module name 'file4' relative to base url 'c:/root' - 'c:/root/file4'.", - "Loading module as file / folder, candidate module location 'c:/root/file4', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/file4', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/file4.ts' does not exist.", "File 'c:/root/file4.tsx' does not exist.", "File 'c:/root/file4.d.ts' does not exist.", + "File 'c:/root/file4.js' does not exist.", + "File 'c:/root/file4.jsx' does not exist.", "Directory 'c:/root/file4' does not exist, skipping all lookups in it.", - "Loading module 'file4' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "File 'c:/root/folder2/package.json' does not exist.", + "File 'c:/root/package.json' does not exist.", + "File 'c:/package.json' does not exist.", + "Loading module 'file4' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory 'c:/root/folder2/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", @@ -35,7 +43,7 @@ "======== Module name 'file4' was successfully resolved to 'c:/node_modules/file4/index.d.ts'. ========", "File 'c:/node_modules/file4/package.json' does not exist according to earlier cached lookups.", "File 'c:/node_modules/package.json' does not exist.", - "File 'c:/package.json' does not exist.", + "File 'c:/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json index bac803a741825..af45c99d11391 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json @@ -1,26 +1,34 @@ [ "======== Resolving module 'folder2/file2' from 'c:/root/folder1/file1.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folder2/file2'.", "Resolving module name 'folder2/file2' relative to base url 'c:/root' - 'c:/root/folder2/file2'.", - "Loading module as file / folder, candidate module location 'c:/root/folder2/file2', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/folder2/file2', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/folder2/file2.ts' exists - use it as a name resolution result.", "======== Module name 'folder2/file2' was successfully resolved to 'c:/root/folder2/file2.ts'. ========", "======== Resolving module './file3' from 'c:/root/folder2/file2.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", - "Loading module as file / folder, candidate module location 'c:/root/folder2/file3', target file types: TypeScript, Declaration.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location 'c:/root/folder2/file3', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/folder2/file3.ts' exists - use it as a name resolution result.", "======== Module name './file3' was successfully resolved to 'c:/root/folder2/file3.ts'. ========", "======== Resolving module 'file4' from 'c:/root/folder2/file2.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'file4'.", "Resolving module name 'file4' relative to base url 'c:/root' - 'c:/root/file4'.", - "Loading module as file / folder, candidate module location 'c:/root/file4', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/file4', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/file4.ts' does not exist.", "File 'c:/root/file4.tsx' does not exist.", "File 'c:/root/file4.d.ts' does not exist.", + "File 'c:/root/file4.js' does not exist.", + "File 'c:/root/file4.jsx' does not exist.", "Directory 'c:/root/file4' does not exist, skipping all lookups in it.", - "Loading module 'file4' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "File 'c:/root/folder2/package.json' does not exist.", + "File 'c:/root/package.json' does not exist.", + "File 'c:/package.json' does not exist.", + "Loading module 'file4' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory 'c:/root/folder2/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", @@ -35,7 +43,7 @@ "======== Module name 'file4' was successfully resolved to 'c:/node_modules/file4/index.d.ts'. ========", "File 'c:/node_modules/file4/package.json' does not exist according to earlier cached lookups.", "File 'c:/node_modules/package.json' does not exist.", - "File 'c:/package.json' does not exist.", + "File 'c:/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json index a4485db887d62..9c27d66131e2c 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json @@ -1,57 +1,70 @@ [ "======== Resolving module 'folder2/file1' from 'c:/root/folder1/file1.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folder2/file1'.", "'paths' option is specified, looking for a pattern to match module name 'folder2/file1'.", "Module name 'folder2/file1', matched pattern '*'.", "Trying substitution '*', candidate module location: 'folder2/file1'.", - "Loading module as file / folder, candidate module location 'c:/root/folder2/file1', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/folder2/file1', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/folder2/file1.ts' exists - use it as a name resolution result.", "======== Module name 'folder2/file1' was successfully resolved to 'c:/root/folder2/file1.ts'. ========", "======== Resolving module 'folder3/file2' from 'c:/root/folder1/file1.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folder3/file2'.", "'paths' option is specified, looking for a pattern to match module name 'folder3/file2'.", "Module name 'folder3/file2', matched pattern '*'.", "Trying substitution '*', candidate module location: 'folder3/file2'.", - "Loading module as file / folder, candidate module location 'c:/root/folder3/file2', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/folder3/file2', target file types: TypeScript, JavaScript, Declaration, JSON.", "Trying substitution 'generated/*', candidate module location: 'generated/folder3/file2'.", - "Loading module as file / folder, candidate module location 'c:/root/generated/folder3/file2', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/generated/folder3/file2', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/generated/folder3/file2.ts' exists - use it as a name resolution result.", "======== Module name 'folder3/file2' was successfully resolved to 'c:/root/generated/folder3/file2.ts'. ========", "======== Resolving module 'components/file3' from 'c:/root/folder1/file1.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'components/file3'.", "'paths' option is specified, looking for a pattern to match module name 'components/file3'.", "Module name 'components/file3', matched pattern 'components/*'.", "Trying substitution 'shared/components/*', candidate module location: 'shared/components/file3'.", - "Loading module as file / folder, candidate module location 'c:/root/shared/components/file3', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/shared/components/file3', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/shared/components/file3.ts' does not exist.", "File 'c:/root/shared/components/file3.tsx' does not exist.", "File 'c:/root/shared/components/file3.d.ts' does not exist.", + "File 'c:/root/shared/components/file3.js' does not exist.", + "File 'c:/root/shared/components/file3.jsx' does not exist.", "File 'c:/root/shared/components/file3/package.json' does not exist.", "File 'c:/root/shared/components/file3/index.ts' does not exist.", "File 'c:/root/shared/components/file3/index.tsx' does not exist.", "File 'c:/root/shared/components/file3/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'components/file3' was successfully resolved to 'c:/root/shared/components/file3/index.d.ts'. ========", "======== Resolving module 'file4' from 'c:/root/folder1/file1.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'file4'.", "'paths' option is specified, looking for a pattern to match module name 'file4'.", "Module name 'file4', matched pattern '*'.", "Trying substitution '*', candidate module location: 'file4'.", - "Loading module as file / folder, candidate module location 'c:/root/file4', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/file4', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/file4.ts' does not exist.", "File 'c:/root/file4.tsx' does not exist.", "File 'c:/root/file4.d.ts' does not exist.", + "File 'c:/root/file4.js' does not exist.", + "File 'c:/root/file4.jsx' does not exist.", "Directory 'c:/root/file4' does not exist, skipping all lookups in it.", "Trying substitution 'generated/*', candidate module location: 'generated/file4'.", - "Loading module as file / folder, candidate module location 'c:/root/generated/file4', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/generated/file4', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/generated/file4.ts' does not exist.", "File 'c:/root/generated/file4.tsx' does not exist.", "File 'c:/root/generated/file4.d.ts' does not exist.", + "File 'c:/root/generated/file4.js' does not exist.", + "File 'c:/root/generated/file4.jsx' does not exist.", "Directory 'c:/root/generated/file4' does not exist, skipping all lookups in it.", - "Loading module 'file4' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "File 'c:/root/folder1/package.json' does not exist.", + "File 'c:/root/package.json' does not exist.", + "File 'c:/package.json' does not exist.", + "Loading module 'file4' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory 'c:/root/folder1/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", @@ -59,7 +72,7 @@ "Resolving real path for 'c:/node_modules/file4.ts', result 'c:/node_modules/file4.ts'.", "======== Module name 'file4' was successfully resolved to 'c:/node_modules/file4.ts'. ========", "File 'c:/node_modules/package.json' does not exist.", - "File 'c:/package.json' does not exist.", + "File 'c:/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution6_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution6_node.trace.json index b03e837a0b3c1..38b16b0ace2bf 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution6_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution6_node.trace.json @@ -1,36 +1,42 @@ [ "======== Resolving module './project/file3' from 'c:/root/src/file1.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'rootDirs' option is set, using it to resolve relative module name './project/file3'.", "Checking if 'c:/root/src/' is the longest matching prefix for 'c:/root/src/project/file3' - 'true'.", "Checking if 'c:/root/generated/src/' is the longest matching prefix for 'c:/root/src/project/file3' - 'false'.", "Longest matching prefix for 'c:/root/src/project/file3' is 'c:/root/src/'.", "Loading 'project/file3' from the root dir 'c:/root/src/', candidate location 'c:/root/src/project/file3'.", - "Loading module as file / folder, candidate module location 'c:/root/src/project/file3', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/src/project/file3', target file types: TypeScript, JavaScript, Declaration, JSON.", "Directory 'c:/root/src/project' does not exist, skipping all lookups in it.", "Trying other entries in 'rootDirs'.", "Loading 'project/file3' from the root dir 'c:/root/generated/src', candidate location 'c:/root/generated/src/project/file3'.", - "Loading module as file / folder, candidate module location 'c:/root/generated/src/project/file3', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/generated/src/project/file3', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/generated/src/project/file3.ts' exists - use it as a name resolution result.", "======== Module name './project/file3' was successfully resolved to 'c:/root/generated/src/project/file3.ts'. ========", "======== Resolving module '../file2' from 'c:/root/generated/src/project/file3.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'rootDirs' option is set, using it to resolve relative module name '../file2'.", "Checking if 'c:/root/src/' is the longest matching prefix for 'c:/root/generated/src/file2' - 'false'.", "Checking if 'c:/root/generated/src/' is the longest matching prefix for 'c:/root/generated/src/file2' - 'true'.", "Longest matching prefix for 'c:/root/generated/src/file2' is 'c:/root/generated/src/'.", "Loading 'file2' from the root dir 'c:/root/generated/src/', candidate location 'c:/root/generated/src/file2'.", - "Loading module as file / folder, candidate module location 'c:/root/generated/src/file2', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/generated/src/file2', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/generated/src/file2.ts' does not exist.", "File 'c:/root/generated/src/file2.tsx' does not exist.", "File 'c:/root/generated/src/file2.d.ts' does not exist.", + "File 'c:/root/generated/src/file2.js' does not exist.", + "File 'c:/root/generated/src/file2.jsx' does not exist.", "Directory 'c:/root/generated/src/file2' does not exist, skipping all lookups in it.", "Trying other entries in 'rootDirs'.", "Loading 'file2' from the root dir 'c:/root/src', candidate location 'c:/root/src/file2'.", - "Loading module as file / folder, candidate module location 'c:/root/src/file2', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/src/file2', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/src/file2.ts' does not exist.", "File 'c:/root/src/file2.tsx' does not exist.", "File 'c:/root/src/file2.d.ts' does not exist.", + "File 'c:/root/src/file2.js' does not exist.", + "File 'c:/root/src/file2.jsx' does not exist.", "File 'c:/root/src/file2/package.json' does not exist.", "File 'c:/root/src/file2/index.ts' does not exist.", "File 'c:/root/src/file2/index.tsx' does not exist.", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json index 9963fd527d948..9894d451006a2 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json @@ -1,36 +1,45 @@ [ "======== Resolving module './project/file2' from 'c:/root/src/file1.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'rootDirs' option is set, using it to resolve relative module name './project/file2'.", "Checking if 'c:/root/src/' is the longest matching prefix for 'c:/root/src/project/file2' - 'true'.", "Checking if 'c:/root/generated/src/' is the longest matching prefix for 'c:/root/src/project/file2' - 'false'.", "Longest matching prefix for 'c:/root/src/project/file2' is 'c:/root/src/'.", "Loading 'project/file2' from the root dir 'c:/root/src/', candidate location 'c:/root/src/project/file2'.", - "Loading module as file / folder, candidate module location 'c:/root/src/project/file2', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/src/project/file2', target file types: TypeScript, JavaScript, Declaration, JSON.", "Directory 'c:/root/src/project' does not exist, skipping all lookups in it.", "Trying other entries in 'rootDirs'.", "Loading 'project/file2' from the root dir 'c:/root/generated/src', candidate location 'c:/root/generated/src/project/file2'.", - "Loading module as file / folder, candidate module location 'c:/root/generated/src/project/file2', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/generated/src/project/file2', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/generated/src/project/file2.ts' exists - use it as a name resolution result.", "======== Module name './project/file2' was successfully resolved to 'c:/root/generated/src/project/file2.ts'. ========", "======== Resolving module 'module3' from 'c:/root/src/file1.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'module3'.", "'paths' option is specified, looking for a pattern to match module name 'module3'.", "Module name 'module3', matched pattern '*'.", "Trying substitution '*', candidate module location: 'module3'.", - "Loading module as file / folder, candidate module location 'c:/root/module3', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/module3', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/module3.ts' does not exist.", "File 'c:/root/module3.tsx' does not exist.", "File 'c:/root/module3.d.ts' does not exist.", + "File 'c:/root/module3.js' does not exist.", + "File 'c:/root/module3.jsx' does not exist.", "Directory 'c:/root/module3' does not exist, skipping all lookups in it.", "Trying substitution 'c:/shared/*', candidate module location: 'c:/shared/module3'.", - "Loading module as file / folder, candidate module location 'c:/shared/module3', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/shared/module3', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/shared/module3.ts' does not exist.", "File 'c:/shared/module3.tsx' does not exist.", "File 'c:/shared/module3.d.ts' does not exist.", + "File 'c:/shared/module3.js' does not exist.", + "File 'c:/shared/module3.jsx' does not exist.", "Directory 'c:/shared/module3' does not exist, skipping all lookups in it.", - "Loading module 'module3' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "File 'c:/root/src/package.json' does not exist.", + "File 'c:/root/package.json' does not exist.", + "File 'c:/package.json' does not exist.", + "Loading module 'module3' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory 'c:/root/src/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", @@ -40,60 +49,71 @@ "Resolving real path for 'c:/node_modules/module3.d.ts', result 'c:/node_modules/module3.d.ts'.", "======== Module name 'module3' was successfully resolved to 'c:/node_modules/module3.d.ts'. ========", "======== Resolving module 'module1' from 'c:/root/generated/src/project/file2.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'module1'.", "'paths' option is specified, looking for a pattern to match module name 'module1'.", "Module name 'module1', matched pattern '*'.", "Trying substitution '*', candidate module location: 'module1'.", - "Loading module as file / folder, candidate module location 'c:/root/module1', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/module1', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/module1.ts' does not exist.", "File 'c:/root/module1.tsx' does not exist.", "File 'c:/root/module1.d.ts' does not exist.", + "File 'c:/root/module1.js' does not exist.", + "File 'c:/root/module1.jsx' does not exist.", "Directory 'c:/root/module1' does not exist, skipping all lookups in it.", "Trying substitution 'c:/shared/*', candidate module location: 'c:/shared/module1'.", - "Loading module as file / folder, candidate module location 'c:/shared/module1', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/shared/module1', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/shared/module1.ts' does not exist.", "File 'c:/shared/module1.tsx' does not exist.", "File 'c:/shared/module1.d.ts' does not exist.", + "File 'c:/shared/module1.js' does not exist.", + "File 'c:/shared/module1.jsx' does not exist.", "File 'c:/shared/module1/package.json' does not exist.", "File 'c:/shared/module1/index.ts' does not exist.", "File 'c:/shared/module1/index.tsx' does not exist.", "File 'c:/shared/module1/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'module1' was successfully resolved to 'c:/shared/module1/index.d.ts'. ========", "======== Resolving module 'templates/module2' from 'c:/root/generated/src/project/file2.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'templates/module2'.", "'paths' option is specified, looking for a pattern to match module name 'templates/module2'.", "Module name 'templates/module2', matched pattern 'templates/*'.", "Trying substitution 'generated/src/templates/*', candidate module location: 'generated/src/templates/module2'.", - "Loading module as file / folder, candidate module location 'c:/root/generated/src/templates/module2', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/generated/src/templates/module2', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/generated/src/templates/module2.ts' exists - use it as a name resolution result.", "======== Module name 'templates/module2' was successfully resolved to 'c:/root/generated/src/templates/module2.ts'. ========", "======== Resolving module '../file3' from 'c:/root/generated/src/project/file2.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'rootDirs' option is set, using it to resolve relative module name '../file3'.", "Checking if 'c:/root/src/' is the longest matching prefix for 'c:/root/generated/src/file3' - 'false'.", "Checking if 'c:/root/generated/src/' is the longest matching prefix for 'c:/root/generated/src/file3' - 'true'.", "Longest matching prefix for 'c:/root/generated/src/file3' is 'c:/root/generated/src/'.", "Loading 'file3' from the root dir 'c:/root/generated/src/', candidate location 'c:/root/generated/src/file3'.", - "Loading module as file / folder, candidate module location 'c:/root/generated/src/file3', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/generated/src/file3', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/generated/src/file3.ts' does not exist.", "File 'c:/root/generated/src/file3.tsx' does not exist.", "File 'c:/root/generated/src/file3.d.ts' does not exist.", + "File 'c:/root/generated/src/file3.js' does not exist.", + "File 'c:/root/generated/src/file3.jsx' does not exist.", "Directory 'c:/root/generated/src/file3' does not exist, skipping all lookups in it.", "Trying other entries in 'rootDirs'.", "Loading 'file3' from the root dir 'c:/root/src', candidate location 'c:/root/src/file3'.", - "Loading module as file / folder, candidate module location 'c:/root/src/file3', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location 'c:/root/src/file3', target file types: TypeScript, JavaScript, Declaration, JSON.", "File 'c:/root/src/file3.ts' does not exist.", "File 'c:/root/src/file3.tsx' does not exist.", "File 'c:/root/src/file3.d.ts' does not exist.", + "File 'c:/root/src/file3.js' does not exist.", + "File 'c:/root/src/file3.jsx' does not exist.", "File 'c:/root/src/file3/package.json' does not exist.", "File 'c:/root/src/file3/index.ts' does not exist.", "File 'c:/root/src/file3/index.tsx' does not exist.", "File 'c:/root/src/file3/index.d.ts' exists - use it as a name resolution result.", "======== Module name '../file3' was successfully resolved to 'c:/root/src/file3/index.d.ts'. ========", "File 'c:/node_modules/package.json' does not exist.", - "File 'c:/package.json' does not exist.", + "File 'c:/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution8_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution8_node.trace.json index 039e06eb311f3..de9a704fe2c93 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution8_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution8_node.trace.json @@ -1,6 +1,7 @@ [ "======== Resolving module '@speedy/folder1/testing' from 'c:/root/index.ts'. ========", - "Explicitly specified module resolution kind: 'Node10'.", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name '@speedy/folder1/testing'.", "'paths' option is specified, looking for a pattern to match module name '@speedy/folder1/testing'.", "Module name '@speedy/folder1/testing', matched pattern '@speedy/*/testing'.", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot.trace.json index 9c4a7a475be14..6ea8ca21f3aeb 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot.trace.json @@ -1,34 +1,25 @@ [ "======== Resolving module '/foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/foo'.", "'paths' option is specified, looking for a pattern to match module name '/foo'.", "Module name '/foo', matched pattern '/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name '/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module '/bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/bar'.", "'paths' option is specified, looking for a pattern to match module name '/bar'.", "Module name '/bar', matched pattern '/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/bar.ts' does not exist.", "File '/root/src/bar.tsx' does not exist.", "File '/root/src/bar.d.ts' does not exist.", - "Directory '/root/src/bar' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location '/bar', target file types: TypeScript, Declaration.", - "File '/bar.ts' does not exist.", - "File '/bar.tsx' does not exist.", - "File '/bar.d.ts' does not exist.", - "Directory '/bar' does not exist, skipping all lookups in it.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/bar'.", - "'paths' option is specified, looking for a pattern to match module name '/bar'.", - "Module name '/bar', matched pattern '/*'.", - "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module '@typescript/lib-es5' from '/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.trace.json index 75e151060ae50..61527b6c99e4f 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.trace.json @@ -1,262 +1,209 @@ [ "======== Resolving module '/foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/foo'.", "'paths' option is specified, looking for a pattern to match module name '/foo'.", "Module name '/foo', matched pattern '/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name '/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module '/bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/bar'.", "'paths' option is specified, looking for a pattern to match module name '/bar'.", "Module name '/bar', matched pattern '/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/bar.ts' does not exist.", "File '/root/src/bar.tsx' does not exist.", "File '/root/src/bar.d.ts' does not exist.", - "Directory '/root/src/bar' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location '/bar', target file types: TypeScript, Declaration.", - "File '/bar.ts' does not exist.", - "File '/bar.tsx' does not exist.", - "File '/bar.d.ts' does not exist.", - "Directory '/bar' does not exist, skipping all lookups in it.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/bar'.", - "'paths' option is specified, looking for a pattern to match module name '/bar'.", - "Module name '/bar', matched pattern '/*'.", - "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module 'c:/foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'c:/foo'.", "'paths' option is specified, looking for a pattern to match module name 'c:/foo'.", "Module name 'c:/foo', matched pattern 'c:/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name 'c:/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module 'c:/bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'c:/bar'.", "'paths' option is specified, looking for a pattern to match module name 'c:/bar'.", "Module name 'c:/bar', matched pattern 'c:/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/bar.ts' does not exist.", "File '/root/src/bar.tsx' does not exist.", "File '/root/src/bar.d.ts' does not exist.", - "Directory '/root/src/bar' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location 'c:/bar', target file types: TypeScript, Declaration.", - "Directory 'c:/' does not exist, skipping all lookups in it.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'c:/bar'.", - "'paths' option is specified, looking for a pattern to match module name 'c:/bar'.", - "Module name 'c:/bar', matched pattern 'c:/*'.", - "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name 'c:/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module 'c:\\foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'c:\\foo'.", "'paths' option is specified, looking for a pattern to match module name 'c:\\foo'.", "Module name 'c:\\foo', matched pattern 'c:\\*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name 'c:\\foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module 'c:\\bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'c:\\bar'.", "'paths' option is specified, looking for a pattern to match module name 'c:\\bar'.", "Module name 'c:\\bar', matched pattern 'c:\\*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/bar.ts' does not exist.", "File '/root/src/bar.tsx' does not exist.", "File '/root/src/bar.d.ts' does not exist.", - "Directory '/root/src/bar' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location 'c:/bar', target file types: TypeScript, Declaration.", - "Directory 'c:/' does not exist, skipping all lookups in it.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'c:\\bar'.", - "'paths' option is specified, looking for a pattern to match module name 'c:\\bar'.", - "Module name 'c:\\bar', matched pattern 'c:\\*'.", - "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name 'c:\\bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module '//server/foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '//server/foo'.", "'paths' option is specified, looking for a pattern to match module name '//server/foo'.", "Module name '//server/foo', matched pattern '//server/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name '//server/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module '//server/bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '//server/bar'.", "'paths' option is specified, looking for a pattern to match module name '//server/bar'.", "Module name '//server/bar', matched pattern '//server/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/bar.ts' does not exist.", "File '/root/src/bar.tsx' does not exist.", "File '/root/src/bar.d.ts' does not exist.", - "Directory '/root/src/bar' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location '//server/bar', target file types: TypeScript, Declaration.", - "Directory '//server/' does not exist, skipping all lookups in it.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '//server/bar'.", - "'paths' option is specified, looking for a pattern to match module name '//server/bar'.", - "Module name '//server/bar', matched pattern '//server/*'.", - "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name '//server/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module '\\\\server\\foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '\\\\server\\foo'.", "'paths' option is specified, looking for a pattern to match module name '\\\\server\\foo'.", "Module name '\\\\server\\foo', matched pattern '\\\\server\\*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name '\\\\server\\foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module '\\\\server\\bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '\\\\server\\bar'.", "'paths' option is specified, looking for a pattern to match module name '\\\\server\\bar'.", "Module name '\\\\server\\bar', matched pattern '\\\\server\\*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/bar.ts' does not exist.", "File '/root/src/bar.tsx' does not exist.", "File '/root/src/bar.d.ts' does not exist.", - "Directory '/root/src/bar' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location '//server/bar', target file types: TypeScript, Declaration.", - "Directory '//server/' does not exist, skipping all lookups in it.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '\\\\server\\bar'.", - "'paths' option is specified, looking for a pattern to match module name '\\\\server\\bar'.", - "Module name '\\\\server\\bar', matched pattern '\\\\server\\*'.", - "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name '\\\\server\\bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module 'file:///foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'file:///foo'.", "'paths' option is specified, looking for a pattern to match module name 'file:///foo'.", "Module name 'file:///foo', matched pattern 'file:///*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name 'file:///foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module 'file:///bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'file:///bar'.", "'paths' option is specified, looking for a pattern to match module name 'file:///bar'.", "Module name 'file:///bar', matched pattern 'file:///*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/bar.ts' does not exist.", "File '/root/src/bar.tsx' does not exist.", "File '/root/src/bar.d.ts' does not exist.", - "Directory '/root/src/bar' does not exist, skipping all lookups in it.", - "Skipping module 'file:///bar' that looks like an absolute URI, target file types: TypeScript, Declaration.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'file:///bar'.", - "'paths' option is specified, looking for a pattern to match module name 'file:///bar'.", - "Module name 'file:///bar', matched pattern 'file:///*'.", - "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name 'file:///bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module 'file://c:/foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'file://c:/foo'.", "'paths' option is specified, looking for a pattern to match module name 'file://c:/foo'.", "Module name 'file://c:/foo', matched pattern 'file://c:/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name 'file://c:/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module 'file://c:/bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'file://c:/bar'.", "'paths' option is specified, looking for a pattern to match module name 'file://c:/bar'.", "Module name 'file://c:/bar', matched pattern 'file://c:/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/bar.ts' does not exist.", "File '/root/src/bar.tsx' does not exist.", "File '/root/src/bar.d.ts' does not exist.", - "Directory '/root/src/bar' does not exist, skipping all lookups in it.", - "Skipping module 'file://c:/bar' that looks like an absolute URI, target file types: TypeScript, Declaration.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'file://c:/bar'.", - "'paths' option is specified, looking for a pattern to match module name 'file://c:/bar'.", - "Module name 'file://c:/bar', matched pattern 'file://c:/*'.", - "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name 'file://c:/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module 'file://server/foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'file://server/foo'.", "'paths' option is specified, looking for a pattern to match module name 'file://server/foo'.", "Module name 'file://server/foo', matched pattern 'file://server/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name 'file://server/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module 'file://server/bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'file://server/bar'.", "'paths' option is specified, looking for a pattern to match module name 'file://server/bar'.", "Module name 'file://server/bar', matched pattern 'file://server/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/bar.ts' does not exist.", "File '/root/src/bar.tsx' does not exist.", "File '/root/src/bar.d.ts' does not exist.", - "Directory '/root/src/bar' does not exist, skipping all lookups in it.", - "Skipping module 'file://server/bar' that looks like an absolute URI, target file types: TypeScript, Declaration.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'file://server/bar'.", - "'paths' option is specified, looking for a pattern to match module name 'file://server/bar'.", - "Module name 'file://server/bar', matched pattern 'file://server/*'.", - "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name 'file://server/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module 'http://server/foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'http://server/foo'.", "'paths' option is specified, looking for a pattern to match module name 'http://server/foo'.", "Module name 'http://server/foo', matched pattern 'http://server/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name 'http://server/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module 'http://server/bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'http://server/bar'.", "'paths' option is specified, looking for a pattern to match module name 'http://server/bar'.", "Module name 'http://server/bar', matched pattern 'http://server/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/bar.ts' does not exist.", "File '/root/src/bar.tsx' does not exist.", "File '/root/src/bar.d.ts' does not exist.", - "Directory '/root/src/bar' does not exist, skipping all lookups in it.", - "Skipping module 'http://server/bar' that looks like an absolute URI, target file types: TypeScript, Declaration.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name 'http://server/bar'.", - "'paths' option is specified, looking for a pattern to match module name 'http://server/bar'.", - "Module name 'http://server/bar', matched pattern 'http://server/*'.", - "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name 'http://server/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module '@typescript/lib-es5' from '/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_multipleAliases.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_multipleAliases.trace.json index 456d80728aa3f..f2cdb5c097f24 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_multipleAliases.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_multipleAliases.trace.json @@ -1,31 +1,25 @@ [ "======== Resolving module '/import/foo' from '/root/src/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/import/foo'.", "'paths' option is specified, looking for a pattern to match module name '/import/foo'.", "Module name '/import/foo', matched pattern '/import/*'.", "Trying substitution './import/*', candidate module location: './import/foo'.", - "Loading module as file / folder, candidate module location '/root/import/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/import/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/import/foo.ts' exists - use it as a name resolution result.", "======== Module name '/import/foo' was successfully resolved to '/root/import/foo.ts'. ========", "======== Resolving module '/client/bar' from '/root/src/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/client/bar'.", "'paths' option is specified, looking for a pattern to match module name '/client/bar'.", "Module name '/client/bar', matched pattern '/client/*'.", "Trying substitution './client/*', candidate module location: './client/bar'.", - "Loading module as file / folder, candidate module location '/root/client/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/client/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/client/bar.ts' does not exist.", "File '/root/client/bar.tsx' does not exist.", "File '/root/client/bar.d.ts' does not exist.", - "Directory '/root/client/bar' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location '/client/bar', target file types: TypeScript, Declaration.", - "Directory '/client' does not exist, skipping all lookups in it.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/client/bar'.", - "'paths' option is specified, looking for a pattern to match module name '/client/bar'.", - "Module name '/client/bar', matched pattern '/client/*'.", - "Trying substitution './client/*', candidate module location: './client/bar'.", - "Loading module as file / folder, candidate module location '/root/client/bar', target file types: JavaScript.", "File '/root/client/bar.js' exists - use it as a name resolution result.", "======== Module name '/client/bar' was successfully resolved to '/root/client/bar.js'. ========", "======== Resolving module '@typescript/lib-es5' from '/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_realRootFile.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_realRootFile.trace.json index 48590334f1e15..c30fc4891ff5d 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_realRootFile.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_realRootFile.trace.json @@ -1,32 +1,27 @@ [ "======== Resolving module '/foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/foo'.", "'paths' option is specified, looking for a pattern to match module name '/foo'.", "Module name '/foo', matched pattern '/*'.", "Trying substitution './src/*', candidate module location: './src/foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", + "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/foo.ts' exists - use it as a name resolution result.", "======== Module name '/foo' was successfully resolved to '/foo.ts'. ========", "======== Resolving module '/bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/bar'.", "'paths' option is specified, looking for a pattern to match module name '/bar'.", "Module name '/bar', matched pattern '/*'.", "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", - "Loading module as file / folder, candidate module location '/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", + "Loading module as file / folder, candidate module location '/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/bar.ts' does not exist.", "File '/bar.tsx' does not exist.", "File '/bar.d.ts' does not exist.", - "Directory '/bar' does not exist, skipping all lookups in it.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/bar'.", - "'paths' option is specified, looking for a pattern to match module name '/bar'.", - "Module name '/bar', matched pattern '/*'.", - "Trying substitution './src/*', candidate module location: './src/bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "Loading module as file / folder, candidate module location '/bar', target file types: JavaScript.", "File '/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/bar.js'. ========", "======== Resolving module '@typescript/lib-es5' from '/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot.trace.json index ec744ffe595b4..56d447c4793f2 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot.trace.json @@ -1,34 +1,25 @@ [ "======== Resolving module '/foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/foo'.", "'paths' option is specified, looking for a pattern to match module name '/foo'.", "Module name '/foo', matched pattern '*'.", "Trying substitution './src/*', candidate module location: './src//foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/foo.ts' exists - use it as a name resolution result.", "======== Module name '/foo' was successfully resolved to '/root/src/foo.ts'. ========", "======== Resolving module '/bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/bar'.", "'paths' option is specified, looking for a pattern to match module name '/bar'.", "Module name '/bar', matched pattern '*'.", "Trying substitution './src/*', candidate module location: './src//bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/root/src/bar.ts' does not exist.", "File '/root/src/bar.tsx' does not exist.", "File '/root/src/bar.d.ts' does not exist.", - "Directory '/root/src/bar' does not exist, skipping all lookups in it.", - "Loading module as file / folder, candidate module location '/bar', target file types: TypeScript, Declaration.", - "File '/bar.ts' does not exist.", - "File '/bar.tsx' does not exist.", - "File '/bar.d.ts' does not exist.", - "Directory '/bar' does not exist, skipping all lookups in it.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/bar'.", - "'paths' option is specified, looking for a pattern to match module name '/bar'.", - "Module name '/bar', matched pattern '*'.", - "Trying substitution './src/*', candidate module location: './src//bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/root/src/bar.js'. ========", "======== Resolving module '@typescript/lib-es5' from '/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot_realRootFile.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot_realRootFile.trace.json index c32e683d6dd1b..941469353a338 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot_realRootFile.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot_realRootFile.trace.json @@ -1,32 +1,27 @@ [ "======== Resolving module '/foo' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/foo'.", "'paths' option is specified, looking for a pattern to match module name '/foo'.", "Module name '/foo', matched pattern '*'.", "Trying substitution './src/*', candidate module location: './src//foo'.", - "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, Declaration.", - "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", + "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/foo.ts' exists - use it as a name resolution result.", "======== Module name '/foo' was successfully resolved to '/foo.ts'. ========", "======== Resolving module '/bar' from '/root/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/bar'.", "'paths' option is specified, looking for a pattern to match module name '/bar'.", "Module name '/bar', matched pattern '*'.", "Trying substitution './src/*', candidate module location: './src//bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, Declaration.", - "Loading module as file / folder, candidate module location '/bar', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/root/src/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", + "Loading module as file / folder, candidate module location '/bar', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/bar.ts' does not exist.", "File '/bar.tsx' does not exist.", "File '/bar.d.ts' does not exist.", - "Directory '/bar' does not exist, skipping all lookups in it.", - "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/bar'.", - "'paths' option is specified, looking for a pattern to match module name '/bar'.", - "Module name '/bar', matched pattern '*'.", - "Trying substitution './src/*', candidate module location: './src//bar'.", - "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", - "Loading module as file / folder, candidate module location '/bar', target file types: JavaScript.", "File '/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/bar.js'. ========", "======== Resolving module '@typescript/lib-es5' from '/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension.trace.json index dc8f888023a89..9ac3a085234e6 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension.trace.json @@ -1,6 +1,7 @@ [ "======== Resolving module 'foo' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo'.", "'paths' option is specified, looking for a pattern to match module name 'foo'.", "Module name 'foo', matched pattern 'foo'.", @@ -8,7 +9,8 @@ "File '/foo/foo.ts' exists - use it as a name resolution result.", "======== Module name 'foo' was successfully resolved to '/foo/foo.ts'. ========", "======== Resolving module 'bar' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'bar'.", "'paths' option is specified, looking for a pattern to match module name 'bar'.", "Module name 'bar', matched pattern 'bar'.", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtensionInName.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtensionInName.trace.json index d58ed7c1057ec..eb6409050bd61 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtensionInName.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtensionInName.trace.json @@ -1,37 +1,47 @@ [ "======== Resolving module 'zone.js' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'zone.js'.", "'paths' option is specified, looking for a pattern to match module name 'zone.js'.", "Module name 'zone.js', matched pattern '*'.", "Trying substitution 'foo/*', candidate module location: 'foo/zone.js'.", - "Loading module as file / folder, candidate module location '/foo/zone.js', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/foo/zone.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/foo/zone.js' has a '.js' extension - stripping it.", "File '/foo/zone.ts' does not exist.", "File '/foo/zone.tsx' does not exist.", "File '/foo/zone.d.ts' does not exist.", + "File '/foo/zone.js' does not exist.", + "File '/foo/zone.jsx' does not exist.", "File '/foo/zone.js.ts' does not exist.", "File '/foo/zone.js.tsx' does not exist.", "File '/foo/zone.js.d.ts' does not exist.", + "File '/foo/zone.js.js' does not exist.", + "File '/foo/zone.js.jsx' does not exist.", "File '/foo/zone.js/package.json' does not exist.", "File '/foo/zone.js/index.ts' does not exist.", "File '/foo/zone.js/index.tsx' does not exist.", "File '/foo/zone.js/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'zone.js' was successfully resolved to '/foo/zone.js/index.d.ts'. ========", "======== Resolving module 'zone.tsx' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'zone.tsx'.", "'paths' option is specified, looking for a pattern to match module name 'zone.tsx'.", "Module name 'zone.tsx', matched pattern '*'.", "Trying substitution 'foo/*', candidate module location: 'foo/zone.tsx'.", - "Loading module as file / folder, candidate module location '/foo/zone.tsx', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/foo/zone.tsx', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/foo/zone.tsx' has a '.tsx' extension - stripping it.", "File '/foo/zone.tsx' does not exist.", "File '/foo/zone.ts' does not exist.", "File '/foo/zone.d.ts' does not exist.", + "File '/foo/zone.jsx' does not exist.", + "File '/foo/zone.js' does not exist.", "File '/foo/zone.tsx.ts' does not exist.", "File '/foo/zone.tsx.tsx' does not exist.", "File '/foo/zone.tsx.d.ts' does not exist.", + "File '/foo/zone.tsx.js' does not exist.", + "File '/foo/zone.tsx.jsx' does not exist.", "File '/foo/zone.tsx/package.json' does not exist.", "File '/foo/zone.tsx/index.ts' does not exist.", "File '/foo/zone.tsx/index.tsx' does not exist.", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_MapedToNodeModules.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_MapedToNodeModules.trace.json index d5ad90d3381f0..5414d211fca53 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_MapedToNodeModules.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_MapedToNodeModules.trace.json @@ -1,41 +1,18 @@ [ "======== Resolving module 'foo/bar/foobar.js' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo/bar/foobar.js'.", "'paths' option is specified, looking for a pattern to match module name 'foo/bar/foobar.js'.", "Module name 'foo/bar/foobar.js', matched pattern '*'.", "Trying substitution 'node_modules/*', candidate module location: 'node_modules/foo/bar/foobar.js'.", - "Loading module as file / folder, candidate module location '/node_modules/foo/bar/foobar.js', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/node_modules/foo/bar/foobar.js', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/node_modules/foo/bar/foobar.js' has a '.js' extension - stripping it.", "File '/node_modules/foo/bar/foobar.ts' does not exist.", "File '/node_modules/foo/bar/foobar.tsx' does not exist.", "File '/node_modules/foo/bar/foobar.d.ts' does not exist.", - "File '/node_modules/foo/bar/foobar.js.ts' does not exist.", - "File '/node_modules/foo/bar/foobar.js.tsx' does not exist.", - "File '/node_modules/foo/bar/foobar.js.d.ts' does not exist.", - "Directory '/node_modules/foo/bar/foobar.js' does not exist, skipping all lookups in it.", - "Trying substitution 'src/types', candidate module location: 'src/types'.", - "Loading module as file / folder, candidate module location '/src/types', target file types: TypeScript, Declaration.", - "Loading module 'foo/bar/foobar.js' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/foo/package.json' does not exist.", - "File name '/node_modules/foo/bar/foobar.js' has a '.js' extension - stripping it.", - "File '/node_modules/foo/bar/foobar.ts' does not exist.", - "File '/node_modules/foo/bar/foobar.tsx' does not exist.", - "File '/node_modules/foo/bar/foobar.d.ts' does not exist.", - "File '/node_modules/foo/bar/foobar.js.ts' does not exist.", - "File '/node_modules/foo/bar/foobar.js.tsx' does not exist.", - "File '/node_modules/foo/bar/foobar.js.d.ts' does not exist.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "File name '/node_modules/@types/foo/bar/foobar.js' has a '.js' extension - stripping it.", - "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo/bar/foobar.js'.", - "'paths' option is specified, looking for a pattern to match module name 'foo/bar/foobar.js'.", - "Module name 'foo/bar/foobar.js', matched pattern '*'.", - "Trying substitution 'node_modules/*', candidate module location: 'node_modules/foo/bar/foobar.js'.", - "Loading module as file / folder, candidate module location '/node_modules/foo/bar/foobar.js', target file types: JavaScript.", - "File name '/node_modules/foo/bar/foobar.js' has a '.js' extension - stripping it.", "File '/node_modules/foo/bar/foobar.js' exists - use it as a name resolution result.", - "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/foo/package.json' does not exist.", "Resolving real path for '/node_modules/foo/bar/foobar.js', result '/node_modules/foo/bar/foobar.js'.", "======== Module name 'foo/bar/foobar.js' was successfully resolved to '/node_modules/foo/bar/foobar.js'. ========", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_failedLookup.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_failedLookup.trace.json index e55f4c7d6b98d..81f1fe3fa83c2 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_failedLookup.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_failedLookup.trace.json @@ -1,25 +1,19 @@ [ "======== Resolving module 'foo' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo'.", "'paths' option is specified, looking for a pattern to match module name 'foo'.", "Module name 'foo', matched pattern 'foo'.", "Trying substitution 'foo/foo.ts', candidate module location: 'foo/foo.ts'.", "File '/foo/foo.ts' does not exist.", - "Loading module as file / folder, candidate module location '/foo/foo.ts', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/foo/foo.ts', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/foo/foo.ts' has a '.ts' extension - stripping it.", - "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "File '/package.json' does not exist.", + "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo'.", - "'paths' option is specified, looking for a pattern to match module name 'foo'.", - "Module name 'foo', matched pattern 'foo'.", - "Trying substitution 'foo/foo.ts', candidate module location: 'foo/foo.ts'.", - "File '/foo/foo.ts' does not exist.", - "Loading module as file / folder, candidate module location '/foo/foo.ts', target file types: JavaScript.", - "File name '/foo/foo.ts' has a '.ts' extension - stripping it.", - "Loading module 'foo' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'foo' was not resolved. ========", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/pathsValidation4.trace.json b/tests/baselines/reference/pathsValidation4.trace.json index b9c4ab14796b6..4ec44e5a38968 100644 --- a/tests/baselines/reference/pathsValidation4.trace.json +++ b/tests/baselines/reference/pathsValidation4.trace.json @@ -1,30 +1,27 @@ [ "======== Resolving module 'someModule' from '/.src/src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/.src/src', using this value to resolve non-relative module name 'someModule'.", "'paths' option is specified, looking for a pattern to match module name 'someModule'.", "'baseUrl' option is set to '/.src/src', using this value to resolve non-relative module name 'someModule'.", "Resolving module name 'someModule' relative to base url '/.src/src' - '/.src/src/someModule'.", - "Loading module as file / folder, candidate module location '/.src/src/someModule', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/.src/src/someModule', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/.src/src/someModule.ts' does not exist.", "File '/.src/src/someModule.tsx' does not exist.", "File '/.src/src/someModule.d.ts' does not exist.", + "File '/.src/src/someModule.js' does not exist.", + "File '/.src/src/someModule.jsx' does not exist.", "Directory '/.src/src/someModule' does not exist, skipping all lookups in it.", - "Loading module 'someModule' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "File '/.src/src/package.json' does not exist.", + "File '/.src/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'someModule' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/src/node_modules' does not exist, skipping all lookups in it.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "'baseUrl' option is set to '/.src/src', using this value to resolve non-relative module name 'someModule'.", - "'paths' option is specified, looking for a pattern to match module name 'someModule'.", - "'baseUrl' option is set to '/.src/src', using this value to resolve non-relative module name 'someModule'.", - "Resolving module name 'someModule' relative to base url '/.src/src' - '/.src/src/someModule'.", - "Loading module as file / folder, candidate module location '/.src/src/someModule', target file types: JavaScript.", - "File '/.src/src/someModule.js' does not exist.", - "File '/.src/src/someModule.jsx' does not exist.", - "Directory '/.src/src/someModule' does not exist, skipping all lookups in it.", - "Loading module 'someModule' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "Directory '/.src/src/node_modules' does not exist, skipping all lookups in it.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", diff --git a/tests/baselines/reference/pathsValidation5.trace.json b/tests/baselines/reference/pathsValidation5.trace.json index 5bb648f020711..ee36556ff1db8 100644 --- a/tests/baselines/reference/pathsValidation5.trace.json +++ b/tests/baselines/reference/pathsValidation5.trace.json @@ -1,15 +1,17 @@ [ "======== Resolving module 'someModule' from '/.src/src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'paths' option is specified, looking for a pattern to match module name 'someModule'.", - "Loading module 'someModule' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "File '/.src/src/package.json' does not exist.", + "File '/.src/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'someModule' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/src/node_modules' does not exist, skipping all lookups in it.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "'paths' option is specified, looking for a pattern to match module name 'someModule'.", - "Loading module 'someModule' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "Directory '/.src/src/node_modules' does not exist, skipping all lookups in it.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", diff --git a/tests/baselines/reference/project/nodeModulesImportHigher/amd/nodeModulesImportHigher.errors.txt b/tests/baselines/reference/project/nodeModulesImportHigher/amd/nodeModulesImportHigher.errors.txt index 4efd5d2049c74..774e8b8dfdd99 100644 --- a/tests/baselines/reference/project/nodeModulesImportHigher/amd/nodeModulesImportHigher.errors.txt +++ b/tests/baselines/reference/project/nodeModulesImportHigher/amd/nodeModulesImportHigher.errors.txt @@ -1,12 +1,15 @@ +importHigher/tsconfig.json(5,25): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. importHigher/root.ts(6,1): error TS2322: Type 'string' is not assignable to type 'number'. -==== importHigher/tsconfig.json (0 errors) ==== +==== importHigher/tsconfig.json (1 errors) ==== { "compilerOptions": { "allowJs": true, "declaration": false, "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "maxNodeModuleJsDepth": 2 } } diff --git a/tests/baselines/reference/project/nodeModulesImportHigher/node/nodeModulesImportHigher.errors.txt b/tests/baselines/reference/project/nodeModulesImportHigher/node/nodeModulesImportHigher.errors.txt index 4efd5d2049c74..774e8b8dfdd99 100644 --- a/tests/baselines/reference/project/nodeModulesImportHigher/node/nodeModulesImportHigher.errors.txt +++ b/tests/baselines/reference/project/nodeModulesImportHigher/node/nodeModulesImportHigher.errors.txt @@ -1,12 +1,15 @@ +importHigher/tsconfig.json(5,25): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. importHigher/root.ts(6,1): error TS2322: Type 'string' is not assignable to type 'number'. -==== importHigher/tsconfig.json (0 errors) ==== +==== importHigher/tsconfig.json (1 errors) ==== { "compilerOptions": { "allowJs": true, "declaration": false, "moduleResolution": "node", + ~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "maxNodeModuleJsDepth": 2 } } diff --git a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/nodeModulesMaxDepthExceeded.errors.txt b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/nodeModulesMaxDepthExceeded.errors.txt index ca38a9a5bcfc8..c31f3e8f802dd 100644 --- a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/nodeModulesMaxDepthExceeded.errors.txt +++ b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/nodeModulesMaxDepthExceeded.errors.txt @@ -1,10 +1,13 @@ +maxDepthExceeded/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. maxDepthExceeded/root.ts(3,1): error TS2322: Type 'string' is not assignable to type 'number'. maxDepthExceeded/root.ts(4,4): error TS2540: Cannot assign to 'rel' because it is a read-only property. -==== maxDepthExceeded/tsconfig.json (0 errors) ==== +==== maxDepthExceeded/tsconfig.json (1 errors) ==== { "compilerOptions": { + ~~~~~~~~~~~~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "allowJs": true, "maxNodeModuleJsDepth": 1, // Note: Module m1 is already included as a root file "outDir": "built" diff --git a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/nodeModulesMaxDepthExceeded.errors.txt b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/nodeModulesMaxDepthExceeded.errors.txt index ca38a9a5bcfc8..c31f3e8f802dd 100644 --- a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/nodeModulesMaxDepthExceeded.errors.txt +++ b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/nodeModulesMaxDepthExceeded.errors.txt @@ -1,10 +1,13 @@ +maxDepthExceeded/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. maxDepthExceeded/root.ts(3,1): error TS2322: Type 'string' is not assignable to type 'number'. maxDepthExceeded/root.ts(4,4): error TS2540: Cannot assign to 'rel' because it is a read-only property. -==== maxDepthExceeded/tsconfig.json (0 errors) ==== +==== maxDepthExceeded/tsconfig.json (1 errors) ==== { "compilerOptions": { + ~~~~~~~~~~~~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "allowJs": true, "maxNodeModuleJsDepth": 1, // Note: Module m1 is already included as a root file "outDir": "built" diff --git a/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/amd/nodeModulesMaxDepthIncreased.errors.txt b/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/amd/nodeModulesMaxDepthIncreased.errors.txt index 0e8caa5830463..7bee0e796e93e 100644 --- a/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/amd/nodeModulesMaxDepthIncreased.errors.txt +++ b/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/amd/nodeModulesMaxDepthIncreased.errors.txt @@ -1,9 +1,12 @@ +maxDepthIncreased/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. maxDepthIncreased/root.ts(7,1): error TS2322: Type 'string' is not assignable to type 'number'. -==== maxDepthIncreased/tsconfig.json (0 errors) ==== +==== maxDepthIncreased/tsconfig.json (1 errors) ==== { "compilerOptions": { + ~~~~~~~~~~~~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "allowJs": true, "maxNodeModuleJsDepth": 3 } diff --git a/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/node/nodeModulesMaxDepthIncreased.errors.txt b/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/node/nodeModulesMaxDepthIncreased.errors.txt index 0e8caa5830463..7bee0e796e93e 100644 --- a/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/node/nodeModulesMaxDepthIncreased.errors.txt +++ b/tests/baselines/reference/project/nodeModulesMaxDepthIncreased/node/nodeModulesMaxDepthIncreased.errors.txt @@ -1,9 +1,12 @@ +maxDepthIncreased/tsconfig.json(2,3): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. maxDepthIncreased/root.ts(7,1): error TS2322: Type 'string' is not assignable to type 'number'. -==== maxDepthIncreased/tsconfig.json (0 errors) ==== +==== maxDepthIncreased/tsconfig.json (1 errors) ==== { "compilerOptions": { + ~~~~~~~~~~~~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "allowJs": true, "maxNodeModuleJsDepth": 3 } diff --git a/tests/baselines/reference/reexportMissingDefault4.errors.txt b/tests/baselines/reference/reexportMissingDefault4.errors.txt deleted file mode 100644 index 468f59714c578..0000000000000 --- a/tests/baselines/reference/reexportMissingDefault4.errors.txt +++ /dev/null @@ -1,12 +0,0 @@ -a.ts(2,10): error TS2305: Module '"./b"' has no exported member 'default'. - - -==== b.d.ts (0 errors) ==== - declare var b: number; - export { b }; - -==== a.ts (1 errors) ==== - export { b } from "./b"; - export { default } from "./b"; - ~~~~~~~ -!!! error TS2305: Module '"./b"' has no exported member 'default'. \ No newline at end of file diff --git a/tests/baselines/reference/reexportMissingDefault4.types b/tests/baselines/reference/reexportMissingDefault4.types index a30c01eab987a..5da1cdc1b1c5b 100644 --- a/tests/baselines/reference/reexportMissingDefault4.types +++ b/tests/baselines/reference/reexportMissingDefault4.types @@ -15,6 +15,6 @@ export { b } from "./b"; > : ^^^^^^ export { default } from "./b"; ->default : any -> : ^^^ +>default : typeof import("b") +> : ^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitAmd.errors.txt b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitAmd.errors.txt new file mode 100644 index 0000000000000..b751a1a3ab69d --- /dev/null +++ b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitAmd.errors.txt @@ -0,0 +1,12 @@ +error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. + + +!!! error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. +==== file1.ts (0 errors) ==== + import * as b from './b.json'; + +==== b.json (0 errors) ==== + { + "a": true, + "b": "hello" + } \ No newline at end of file diff --git a/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitAmdOutFile.errors.txt b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitAmdOutFile.errors.txt new file mode 100644 index 0000000000000..b751a1a3ab69d --- /dev/null +++ b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitAmdOutFile.errors.txt @@ -0,0 +1,12 @@ +error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. + + +!!! error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. +==== file1.ts (0 errors) ==== + import * as b from './b.json'; + +==== b.json (0 errors) ==== + { + "a": true, + "b": "hello" + } \ No newline at end of file diff --git a/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitNone.errors.txt b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitNone.errors.txt index 1cd05c516e62d..2d750ddc6fcc5 100644 --- a/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitNone.errors.txt +++ b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitNone.errors.txt @@ -1,8 +1,10 @@ error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. +error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. file1.ts(1,1): error TS1148: Cannot use imports, exports, or module augmentations when '--module' is 'none'. !!! error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. +!!! error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. ==== file1.ts (1 errors) ==== import * as b from './b.json'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitSystem.errors.txt b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitSystem.errors.txt index dbae322e4265b..cd0affe7ce19f 100644 --- a/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitSystem.errors.txt +++ b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitSystem.errors.txt @@ -1,7 +1,9 @@ error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. +error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. !!! error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. +!!! error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. ==== file1.ts (0 errors) ==== import * as b from './b.json'; diff --git a/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitUmd.errors.txt b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitUmd.errors.txt index dbae322e4265b..cd0affe7ce19f 100644 --- a/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitUmd.errors.txt +++ b/tests/baselines/reference/requireOfJsonFileWithModuleNodeResolutionEmitUmd.errors.txt @@ -1,7 +1,9 @@ error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. +error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. !!! error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. +!!! error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. ==== file1.ts (0 errors) ==== import * as b from './b.json'; diff --git a/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.errors.txt b/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.errors.txt index c9bda0421dad7..bfb095b8d2690 100644 --- a/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.errors.txt +++ b/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.errors.txt @@ -1,19 +1,43 @@ -file1.ts(1,21): error TS2732: Cannot find module './b.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. -file1.ts(3,21): error TS2732: Cannot find module './b.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. +b.json(1,1): error TS1005: '{' expected. +b.json(1,1): error TS1136: Property assignment expected. +b.json(1,10): error TS1005: ',' expected. +b.json(1,10): error TS1136: Property assignment expected. +b.json(1,14): error TS1005: ',' expected. +b.json(1,14): error TS1136: Property assignment expected. +b.json(1,18): error TS1005: '}' expected. +file1.ts(2,12): error TS2339: Property 'a' does not exist on type '{ contents: any; Not: any; read: any; }'. +file1.ts(5,16): error TS2339: Property 'b' does not exist on type '{ contents: any; Not: any; read: any; }'. +file1.ts(6,13): error TS2339: Property 'b' does not exist on type '{ contents: any; Not: any; read: any; }'. -==== file1.ts (2 errors) ==== +==== file1.ts (3 errors) ==== import b1 = require('./b.json'); // error - ~~~~~~~~~~ -!!! error TS2732: Cannot find module './b.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. let x = b1.a; + ~ +!!! error TS2339: Property 'a' does not exist on type '{ contents: any; Not: any; read: any; }'. import b2 = require('./b.json'); // error - ~~~~~~~~~~ -!!! error TS2732: Cannot find module './b.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. if (x) { let b = b2.b; + ~ +!!! error TS2339: Property 'b' does not exist on type '{ contents: any; Not: any; read: any; }'. x = (b1.b === b); + ~ +!!! error TS2339: Property 'b' does not exist on type '{ contents: any; Not: any; read: any; }'. } -==== b.json (0 errors) ==== - contents Not read \ No newline at end of file +==== b.json (7 errors) ==== + contents Not read + ~~~~~~~~ +!!! error TS1005: '{' expected. + ~~~~~~~~ +!!! error TS1136: Property assignment expected. + ~~~ +!!! error TS1005: ',' expected. + ~~~ +!!! error TS1136: Property assignment expected. + ~~~~ +!!! error TS1005: ',' expected. + ~~~~ +!!! error TS1136: Property assignment expected. + +!!! error TS1005: '}' expected. \ No newline at end of file diff --git a/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.js b/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.js index 3fedccc7d8429..09b3ceb757153 100644 --- a/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.js +++ b/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.js @@ -12,6 +12,8 @@ if (x) { //// [b.json] contents Not read +//// [out/b.json] +({ contents: contents, Not: Not, read: read }) //// [out/file1.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.symbols b/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.symbols index 507b4a3e23b55..698c8249bf80b 100644 --- a/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.symbols +++ b/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.symbols @@ -24,3 +24,9 @@ if (x) { >b : Symbol(b, Decl(file1.ts, 4, 7)) } +=== b.json === +contents Not read +>contents : Symbol(contents, Decl(b.json, 0, 0)) +>Not : Symbol(Not, Decl(b.json, 0, 8)) +>read : Symbol(read, Decl(b.json, 0, 12)) + diff --git a/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.types b/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.types index 6f9f1f7a8ddf0..173ffbaf53cc6 100644 --- a/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.types +++ b/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModule.types @@ -2,22 +2,22 @@ === file1.ts === import b1 = require('./b.json'); // error ->b1 : any -> : ^^^ +>b1 : { contents: any; Not: any; read: any; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ let x = b1.a; >x : any > : ^^^ >b1.a : any > : ^^^ ->b1 : any -> : ^^^ +>b1 : { contents: any; Not: any; read: any; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >a : any > : ^^^ import b2 = require('./b.json'); // error ->b2 : any -> : ^^^ +>b2 : { contents: any; Not: any; read: any; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ if (x) { >x : any @@ -28,8 +28,8 @@ if (x) { > : ^^^ >b2.b : any > : ^^^ ->b2 : any -> : ^^^ +>b2 : { contents: any; Not: any; read: any; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : any > : ^^^ @@ -44,11 +44,22 @@ if (x) { > : ^^^^^^^ >b1.b : any > : ^^^ ->b1 : any -> : ^^^ +>b1 : { contents: any; Not: any; read: any; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >b : any > : ^^^ >b : any > : ^^^ } +=== b.json === +contents Not read +>contents Not read : { contents: any; Not: any; read: any; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>contents : any +> : ^^^ +>Not : any +> : ^^^ +>read : any +> : ^^^ + diff --git a/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModuleAndPathMapping.trace.json b/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModuleAndPathMapping.trace.json index 094bdc2634882..abcbcede65428 100644 --- a/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModuleAndPathMapping.trace.json +++ b/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModuleAndPathMapping.trace.json @@ -1,20 +1,24 @@ [ "======== Resolving module 'foo/bar/foobar.json' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo/bar/foobar.json'.", "'paths' option is specified, looking for a pattern to match module name 'foo/bar/foobar.json'.", "Module name 'foo/bar/foobar.json', matched pattern '*'.", "Trying substitution 'node_modules/*', candidate module location: 'node_modules/foo/bar/foobar.json'.", - "Loading module as file / folder, candidate module location '/node_modules/foo/bar/foobar.json', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/node_modules/foo/bar/foobar.json', target file types: TypeScript, JavaScript, Declaration.", "File name '/node_modules/foo/bar/foobar.json' has a '.json' extension - stripping it.", "File '/node_modules/foo/bar/foobar.d.json.ts' does not exist.", "File '/node_modules/foo/bar/foobar.json.ts' does not exist.", "File '/node_modules/foo/bar/foobar.json.tsx' does not exist.", "File '/node_modules/foo/bar/foobar.json.d.ts' does not exist.", + "File '/node_modules/foo/bar/foobar.json.js' does not exist.", + "File '/node_modules/foo/bar/foobar.json.jsx' does not exist.", "Directory '/node_modules/foo/bar/foobar.json' does not exist, skipping all lookups in it.", "Trying substitution 'src/types', candidate module location: 'src/types'.", - "Loading module as file / folder, candidate module location '/src/types', target file types: TypeScript, Declaration.", - "Loading module 'foo/bar/foobar.json' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/src/types', target file types: TypeScript, JavaScript, Declaration.", + "File '/package.json' does not exist.", + "Loading module 'foo/bar/foobar.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/foo/package.json' does not exist.", "File name '/node_modules/foo/bar/foobar.json' has a '.json' extension - stripping it.", @@ -24,18 +28,6 @@ "File '/node_modules/foo/bar/foobar.json.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "File name '/node_modules/@types/foo/bar/foobar.json' has a '.json' extension - stripping it.", - "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo/bar/foobar.json'.", - "'paths' option is specified, looking for a pattern to match module name 'foo/bar/foobar.json'.", - "Module name 'foo/bar/foobar.json', matched pattern '*'.", - "Trying substitution 'node_modules/*', candidate module location: 'node_modules/foo/bar/foobar.json'.", - "Loading module as file / folder, candidate module location '/node_modules/foo/bar/foobar.json', target file types: JavaScript.", - "File name '/node_modules/foo/bar/foobar.json' has a '.json' extension - stripping it.", - "File '/node_modules/foo/bar/foobar.json.js' does not exist.", - "File '/node_modules/foo/bar/foobar.json.jsx' does not exist.", - "Directory '/node_modules/foo/bar/foobar.json' does not exist, skipping all lookups in it.", - "Trying substitution 'src/types', candidate module location: 'src/types'.", - "Loading module as file / folder, candidate module location '/src/types', target file types: JavaScript.", - "Loading module 'foo/bar/foobar.json' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", "File name '/node_modules/foo/bar/foobar.json' has a '.json' extension - stripping it.", diff --git a/tests/baselines/reference/requireOfJsonFile_PathMapping.trace.json b/tests/baselines/reference/requireOfJsonFile_PathMapping.trace.json index 7ff6bd7b37f52..6fc895578f254 100644 --- a/tests/baselines/reference/requireOfJsonFile_PathMapping.trace.json +++ b/tests/baselines/reference/requireOfJsonFile_PathMapping.trace.json @@ -1,37 +1,16 @@ [ "======== Resolving module 'foo/bar/foobar.json' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo/bar/foobar.json'.", "'paths' option is specified, looking for a pattern to match module name 'foo/bar/foobar.json'.", "Module name 'foo/bar/foobar.json', matched pattern '*'.", "Trying substitution 'node_modules/*', candidate module location: 'node_modules/foo/bar/foobar.json'.", - "Loading module as file / folder, candidate module location '/node_modules/foo/bar/foobar.json', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/node_modules/foo/bar/foobar.json', target file types: TypeScript, JavaScript, Declaration, JSON.", "File name '/node_modules/foo/bar/foobar.json' has a '.json' extension - stripping it.", "File '/node_modules/foo/bar/foobar.d.json.ts' does not exist.", - "File '/node_modules/foo/bar/foobar.json.ts' does not exist.", - "File '/node_modules/foo/bar/foobar.json.tsx' does not exist.", - "File '/node_modules/foo/bar/foobar.json.d.ts' does not exist.", - "Directory '/node_modules/foo/bar/foobar.json' does not exist, skipping all lookups in it.", - "Trying substitution 'src/types', candidate module location: 'src/types'.", - "Loading module as file / folder, candidate module location '/src/types', target file types: TypeScript, Declaration.", - "Loading module 'foo/bar/foobar.json' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/foo/package.json' does not exist.", - "File name '/node_modules/foo/bar/foobar.json' has a '.json' extension - stripping it.", - "File '/node_modules/foo/bar/foobar.d.json.ts' does not exist.", - "File '/node_modules/foo/bar/foobar.json.ts' does not exist.", - "File '/node_modules/foo/bar/foobar.json.tsx' does not exist.", - "File '/node_modules/foo/bar/foobar.json.d.ts' does not exist.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "File name '/node_modules/@types/foo/bar/foobar.json' has a '.json' extension - stripping it.", - "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo/bar/foobar.json'.", - "'paths' option is specified, looking for a pattern to match module name 'foo/bar/foobar.json'.", - "Module name 'foo/bar/foobar.json', matched pattern '*'.", - "Trying substitution 'node_modules/*', candidate module location: 'node_modules/foo/bar/foobar.json'.", - "Loading module as file / folder, candidate module location '/node_modules/foo/bar/foobar.json', target file types: JavaScript, JSON.", - "File name '/node_modules/foo/bar/foobar.json' has a '.json' extension - stripping it.", "File '/node_modules/foo/bar/foobar.json' exists - use it as a name resolution result.", - "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/foo/package.json' does not exist.", "Resolving real path for '/node_modules/foo/bar/foobar.json', result '/node_modules/foo/bar/foobar.json'.", "======== Module name 'foo/bar/foobar.json' was successfully resolved to '/node_modules/foo/bar/foobar.json'. ========", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", diff --git a/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=node10).errors.txt b/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=node10).errors.txt deleted file mode 100644 index 40b353506a090..0000000000000 --- a/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=node10).errors.txt +++ /dev/null @@ -1,25 +0,0 @@ -test.ts(1,19): error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled. - - -==== tsconfig.json (0 errors) ==== - { - "compilerOptions": { - "paths": { - "foo/*": ["./dist/*"], - "baz/*.ts": ["./types/*.d.ts"] - } - } - } - -==== dist/bar.ts (0 errors) ==== - export const a = 1234; - -==== types/main.d.ts (0 errors) ==== - export const b: string; - -==== test.ts (1 errors) ==== - import { a } from "foo/bar.ts"; - ~~~~~~~~~~~~ -!!! error TS5097: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled. - import { b } from "baz/main.ts"; - \ No newline at end of file diff --git a/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=node10).js b/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=node10).js deleted file mode 100644 index fc322d5465d3d..0000000000000 --- a/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=node10).js +++ /dev/null @@ -1,21 +0,0 @@ -//// [tests/cases/compiler/resolutionCandidateFromPackageJsonField2.ts] //// - -//// [bar.ts] -export const a = 1234; - -//// [main.d.ts] -export const b: string; - -//// [test.ts] -import { a } from "foo/bar.ts"; -import { b } from "baz/main.ts"; - - -//// [bar.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.a = void 0; -exports.a = 1234; -//// [test.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=node10).symbols b/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=node10).symbols deleted file mode 100644 index 5ea0f0947832a..0000000000000 --- a/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=node10).symbols +++ /dev/null @@ -1,17 +0,0 @@ -//// [tests/cases/compiler/resolutionCandidateFromPackageJsonField2.ts] //// - -=== dist/bar.ts === -export const a = 1234; ->a : Symbol(a, Decl(bar.ts, 0, 12)) - -=== types/main.d.ts === -export const b: string; ->b : Symbol(b, Decl(main.d.ts, 0, 12)) - -=== test.ts === -import { a } from "foo/bar.ts"; ->a : Symbol(a, Decl(test.ts, 0, 8)) - -import { b } from "baz/main.ts"; ->b : Symbol(b, Decl(test.ts, 1, 8)) - diff --git a/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=node10).types b/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=node10).types deleted file mode 100644 index 63938c1da01d2..0000000000000 --- a/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=node10).types +++ /dev/null @@ -1,23 +0,0 @@ -//// [tests/cases/compiler/resolutionCandidateFromPackageJsonField2.ts] //// - -=== dist/bar.ts === -export const a = 1234; ->a : 1234 -> : ^^^^ ->1234 : 1234 -> : ^^^^ - -=== types/main.d.ts === -export const b: string; ->b : string -> : ^^^^^^ - -=== test.ts === -import { a } from "foo/bar.ts"; ->a : 1234 -> : ^^^^ - -import { b } from "baz/main.ts"; ->b : string -> : ^^^^^^ - diff --git a/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=bundler).errors.txt b/tests/baselines/reference/resolutionCandidateFromPackageJsonField2.errors.txt similarity index 100% rename from tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=bundler).errors.txt rename to tests/baselines/reference/resolutionCandidateFromPackageJsonField2.errors.txt diff --git a/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=bundler).js b/tests/baselines/reference/resolutionCandidateFromPackageJsonField2.js similarity index 100% rename from tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=bundler).js rename to tests/baselines/reference/resolutionCandidateFromPackageJsonField2.js diff --git a/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=bundler).symbols b/tests/baselines/reference/resolutionCandidateFromPackageJsonField2.symbols similarity index 100% rename from tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=bundler).symbols rename to tests/baselines/reference/resolutionCandidateFromPackageJsonField2.symbols diff --git a/tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=bundler).types b/tests/baselines/reference/resolutionCandidateFromPackageJsonField2.types similarity index 100% rename from tests/baselines/reference/resolutionCandidateFromPackageJsonField2(moduleresolution=bundler).types rename to tests/baselines/reference/resolutionCandidateFromPackageJsonField2.types diff --git a/tests/baselines/reference/resolutionModeImportType1(moduleresolution=node10).errors.txt b/tests/baselines/reference/resolutionModeImportType1(moduleresolution=node10).errors.txt deleted file mode 100644 index 98d064cd30133..0000000000000 --- a/tests/baselines/reference/resolutionModeImportType1(moduleresolution=node10).errors.txt +++ /dev/null @@ -1,42 +0,0 @@ -error TS2688: Cannot find type definition file for 'foo'. - The file is in the program because: - Entry point for implicit type library 'foo' -/app.ts(1,30): error TS2307: Cannot find module 'foo' or its corresponding type declarations. - There are types at '/node_modules/@types/foo/index.d.mts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'. - - -!!! error TS2688: Cannot find type definition file for 'foo'. -!!! error TS2688: The file is in the program because: -!!! error TS2688: Entry point for implicit type library 'foo' -==== /node_modules/@types/foo/package.json (0 errors) ==== - { - "name": "@types/foo", - "version": "1.0.0", - "exports": { - ".": { - "import": "./index.d.mts", - "require": "./index.d.cts" - } - } - } - -==== /node_modules/@types/foo/index.d.mts (0 errors) ==== - export declare const x: "module"; - -==== /node_modules/@types/foo/index.d.cts (0 errors) ==== - export declare const x: "script"; - -==== /app.ts (1 errors) ==== - type Default = typeof import("foo").x; - ~~~~~ -!!! error TS2307: Cannot find module 'foo' or its corresponding type declarations. -!!! error TS2307: There are types at '/node_modules/@types/foo/index.d.mts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'. - type Import = typeof import("foo", { assert: { "resolution-mode": "import" } }).x; - type Require = typeof import("foo", { assert: { "resolution-mode": "require" } }).x; - // resolution-mode does not enforce file extension in `bundler`, just sets conditions - type ImportRelative = typeof import("./other", { assert: { "resolution-mode": "import" } }).x; - type RequireRelative = typeof import("./other", { assert: { "resolution-mode": "require" } }).x; - -==== /other.ts (0 errors) ==== - export const x = "other"; - \ No newline at end of file diff --git a/tests/baselines/reference/resolutionModeImportType1(moduleresolution=node10).symbols b/tests/baselines/reference/resolutionModeImportType1(moduleresolution=node10).symbols deleted file mode 100644 index e83a9671ea382..0000000000000 --- a/tests/baselines/reference/resolutionModeImportType1(moduleresolution=node10).symbols +++ /dev/null @@ -1,35 +0,0 @@ -//// [tests/cases/conformance/moduleResolution/resolutionModeImportType1.ts] //// - -=== /node_modules/@types/foo/index.d.mts === -export declare const x: "module"; ->x : Symbol(x, Decl(index.d.mts, 0, 20)) - -=== /node_modules/@types/foo/index.d.cts === -export declare const x: "script"; ->x : Symbol(x, Decl(index.d.cts, 0, 20)) - -=== /app.ts === -type Default = typeof import("foo").x; ->Default : Symbol(Default, Decl(app.ts, 0, 0)) - -type Import = typeof import("foo", { assert: { "resolution-mode": "import" } }).x; ->Import : Symbol(Import, Decl(app.ts, 0, 38)) ->x : Symbol(x, Decl(index.d.mts, 0, 20)) - -type Require = typeof import("foo", { assert: { "resolution-mode": "require" } }).x; ->Require : Symbol(Require, Decl(app.ts, 1, 82)) ->x : Symbol(x, Decl(index.d.cts, 0, 20)) - -// resolution-mode does not enforce file extension in `bundler`, just sets conditions -type ImportRelative = typeof import("./other", { assert: { "resolution-mode": "import" } }).x; ->ImportRelative : Symbol(ImportRelative, Decl(app.ts, 2, 84)) ->x : Symbol(x, Decl(other.ts, 0, 12)) - -type RequireRelative = typeof import("./other", { assert: { "resolution-mode": "require" } }).x; ->RequireRelative : Symbol(RequireRelative, Decl(app.ts, 4, 94)) ->x : Symbol(x, Decl(other.ts, 0, 12)) - -=== /other.ts === -export const x = "other"; ->x : Symbol(x, Decl(other.ts, 0, 12)) - diff --git a/tests/baselines/reference/resolutionModeImportType1(moduleresolution=node10).types b/tests/baselines/reference/resolutionModeImportType1(moduleresolution=node10).types deleted file mode 100644 index 2f4c7bc6eb637..0000000000000 --- a/tests/baselines/reference/resolutionModeImportType1(moduleresolution=node10).types +++ /dev/null @@ -1,51 +0,0 @@ -//// [tests/cases/conformance/moduleResolution/resolutionModeImportType1.ts] //// - -=== /node_modules/@types/foo/index.d.mts === -export declare const x: "module"; ->x : "module" -> : ^^^^^^^^ - -=== /node_modules/@types/foo/index.d.cts === -export declare const x: "script"; ->x : "script" -> : ^^^^^^^^ - -=== /app.ts === -type Default = typeof import("foo").x; ->Default : any -> : ^^^ ->x : any -> : ^^^ - -type Import = typeof import("foo", { assert: { "resolution-mode": "import" } }).x; ->Import : "module" -> : ^^^^^^^^ ->x : any -> : ^^^ - -type Require = typeof import("foo", { assert: { "resolution-mode": "require" } }).x; ->Require : "script" -> : ^^^^^^^^ ->x : any -> : ^^^ - -// resolution-mode does not enforce file extension in `bundler`, just sets conditions -type ImportRelative = typeof import("./other", { assert: { "resolution-mode": "import" } }).x; ->ImportRelative : "other" -> : ^^^^^^^ ->x : any -> : ^^^ - -type RequireRelative = typeof import("./other", { assert: { "resolution-mode": "require" } }).x; ->RequireRelative : "other" -> : ^^^^^^^ ->x : any -> : ^^^ - -=== /other.ts === -export const x = "other"; ->x : "other" -> : ^^^^^^^ ->"other" : "other" -> : ^^^^^^^ - diff --git a/tests/baselines/reference/resolutionModeTripleSlash4.errors.txt b/tests/baselines/reference/resolutionModeTripleSlash4.errors.txt index 81626cc54b2f6..cba5c19bba862 100644 --- a/tests/baselines/reference/resolutionModeTripleSlash4.errors.txt +++ b/tests/baselines/reference/resolutionModeTripleSlash4.errors.txt @@ -1,13 +1,16 @@ +/tsconfig.json(4,25): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /app.ts(1,23): error TS2688: Cannot find type definition file for 'foo'. /app.ts(2,1): error TS2304: Cannot find name 'MODULE'. /app.ts(3,1): error TS2552: Cannot find name 'SCRIPT'. Did you mean 'WScript'? -==== /tsconfig.json (0 errors) ==== +==== /tsconfig.json (1 errors) ==== { "compilerOptions": { "module": "esnext", "moduleResolution": "node10", + ~~~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "noEmit": true, "types": [] } diff --git a/tests/baselines/reference/resolutionModeTripleSlash5.errors.txt b/tests/baselines/reference/resolutionModeTripleSlash5.errors.txt index 6618295aa9e5c..213cc69e008ca 100644 --- a/tests/baselines/reference/resolutionModeTripleSlash5.errors.txt +++ b/tests/baselines/reference/resolutionModeTripleSlash5.errors.txt @@ -1,11 +1,14 @@ +/tsconfig.json(4,25): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /app.ts(3,1): error TS2552: Cannot find name 'SCRIPT'. Did you mean 'WScript'? -==== /tsconfig.json (0 errors) ==== +==== /tsconfig.json (1 errors) ==== { "compilerOptions": { "module": "esnext", "moduleResolution": "node10", + ~~~~~~~~ +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. "noEmit": true, "types": [] } diff --git a/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=node10).errors.txt b/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=node10).errors.txt deleted file mode 100644 index dce99cd4f59bd..0000000000000 --- a/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=node10).errors.txt +++ /dev/null @@ -1,56 +0,0 @@ -error TS2688: Cannot find type definition file for 'foo'. - The file is in the program because: - Entry point for implicit type library 'foo' -/app.ts(1,35): error TS2307: Cannot find module 'foo' or its corresponding type declarations. - There are types at '/node_modules/@types/foo/index.d.mts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'. - - -!!! error TS2688: Cannot find type definition file for 'foo'. -!!! error TS2688: The file is in the program because: -!!! error TS2688: Entry point for implicit type library 'foo' -==== /node_modules/@types/foo/package.json (0 errors) ==== - { - "name": "@types/foo", - "version": "1.0.0", - "exports": { - ".": { - "import": "./index.d.mts", - "require": "./index.d.cts" - } - } - } - -==== /node_modules/@types/foo/index.d.mts (0 errors) ==== - export declare const x: "module"; - -==== /node_modules/@types/foo/index.d.cts (0 errors) ==== - export declare const x: "script"; - -==== /app.ts (1 errors) ==== - import type { x as Default } from "foo"; - ~~~~~ -!!! error TS2307: Cannot find module 'foo' or its corresponding type declarations. -!!! error TS2307: There are types at '/node_modules/@types/foo/index.d.mts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'. - import type { x as Import } from "foo" assert { "resolution-mode": "import" }; - import type { x as Require } from "foo" assert { "resolution-mode": "require" }; - type _Default = typeof Default; - type _Import = typeof Import; - type _Require = typeof Require; - - // resolution-mode does not enforce file extension in `bundler`, just sets conditions - import type { x as ImportRelative } from "./other" assert { "resolution-mode": "import" }; - import type { x as RequireRelative } from "./other" assert { "resolution-mode": "require" }; - type _ImportRelative = typeof ImportRelative; - type _RequireRelative = typeof RequireRelative; - - export { - _Default, - _Import, - _Require, - _ImportRelative, - _RequireRelative - } - -==== /other.ts (0 errors) ==== - export const x = "other"; - \ No newline at end of file diff --git a/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=node10).js b/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=node10).js deleted file mode 100644 index 961512bfab79f..0000000000000 --- a/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=node10).js +++ /dev/null @@ -1,62 +0,0 @@ -//// [tests/cases/conformance/moduleResolution/resolutionModeTypeOnlyImport1.ts] //// - -//// [package.json] -{ - "name": "@types/foo", - "version": "1.0.0", - "exports": { - ".": { - "import": "./index.d.mts", - "require": "./index.d.cts" - } - } -} - -//// [index.d.mts] -export declare const x: "module"; - -//// [index.d.cts] -export declare const x: "script"; - -//// [app.ts] -import type { x as Default } from "foo"; -import type { x as Import } from "foo" assert { "resolution-mode": "import" }; -import type { x as Require } from "foo" assert { "resolution-mode": "require" }; -type _Default = typeof Default; -type _Import = typeof Import; -type _Require = typeof Require; - -// resolution-mode does not enforce file extension in `bundler`, just sets conditions -import type { x as ImportRelative } from "./other" assert { "resolution-mode": "import" }; -import type { x as RequireRelative } from "./other" assert { "resolution-mode": "require" }; -type _ImportRelative = typeof ImportRelative; -type _RequireRelative = typeof RequireRelative; - -export { - _Default, - _Import, - _Require, - _ImportRelative, - _RequireRelative -} - -//// [other.ts] -export const x = "other"; - - - - -//// [other.d.ts] -export declare const x = "other"; -//// [app.d.ts] -import type { x as Default } from "foo"; -import type { x as Import } from "foo" assert { "resolution-mode": "import" }; -import type { x as Require } from "foo" assert { "resolution-mode": "require" }; -type _Default = typeof Default; -type _Import = typeof Import; -type _Require = typeof Require; -import type { x as ImportRelative } from "./other" assert { "resolution-mode": "import" }; -import type { x as RequireRelative } from "./other" assert { "resolution-mode": "require" }; -type _ImportRelative = typeof ImportRelative; -type _RequireRelative = typeof RequireRelative; -export { _Default, _Import, _Require, _ImportRelative, _RequireRelative }; diff --git a/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=node10).symbols b/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=node10).symbols deleted file mode 100644 index fd0c9f96b57a3..0000000000000 --- a/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=node10).symbols +++ /dev/null @@ -1,72 +0,0 @@ -//// [tests/cases/conformance/moduleResolution/resolutionModeTypeOnlyImport1.ts] //// - -=== /node_modules/@types/foo/index.d.mts === -export declare const x: "module"; ->x : Symbol(x, Decl(index.d.mts, 0, 20)) - -=== /node_modules/@types/foo/index.d.cts === -export declare const x: "script"; ->x : Symbol(x, Decl(index.d.cts, 0, 20)) - -=== /app.ts === -import type { x as Default } from "foo"; ->Default : Symbol(Default, Decl(app.ts, 0, 13)) - -import type { x as Import } from "foo" assert { "resolution-mode": "import" }; ->x : Symbol(Import, Decl(index.d.mts, 0, 20)) ->Import : Symbol(Import, Decl(app.ts, 1, 13)) - -import type { x as Require } from "foo" assert { "resolution-mode": "require" }; ->x : Symbol(Require, Decl(index.d.cts, 0, 20)) ->Require : Symbol(Require, Decl(app.ts, 2, 13)) - -type _Default = typeof Default; ->_Default : Symbol(_Default, Decl(app.ts, 2, 80)) ->Default : Symbol(Default, Decl(app.ts, 0, 13)) - -type _Import = typeof Import; ->_Import : Symbol(_Import, Decl(app.ts, 3, 31)) ->Import : Symbol(Import, Decl(app.ts, 1, 13)) - -type _Require = typeof Require; ->_Require : Symbol(_Require, Decl(app.ts, 4, 29)) ->Require : Symbol(Require, Decl(app.ts, 2, 13)) - -// resolution-mode does not enforce file extension in `bundler`, just sets conditions -import type { x as ImportRelative } from "./other" assert { "resolution-mode": "import" }; ->x : Symbol(ImportRelative, Decl(other.ts, 0, 12)) ->ImportRelative : Symbol(ImportRelative, Decl(app.ts, 8, 13)) - -import type { x as RequireRelative } from "./other" assert { "resolution-mode": "require" }; ->x : Symbol(ImportRelative, Decl(other.ts, 0, 12)) ->RequireRelative : Symbol(RequireRelative, Decl(app.ts, 9, 13)) - -type _ImportRelative = typeof ImportRelative; ->_ImportRelative : Symbol(_ImportRelative, Decl(app.ts, 9, 92)) ->ImportRelative : Symbol(ImportRelative, Decl(app.ts, 8, 13)) - -type _RequireRelative = typeof RequireRelative; ->_RequireRelative : Symbol(_RequireRelative, Decl(app.ts, 10, 45)) ->RequireRelative : Symbol(RequireRelative, Decl(app.ts, 9, 13)) - -export { - _Default, ->_Default : Symbol(_Default, Decl(app.ts, 13, 8)) - - _Import, ->_Import : Symbol(_Import, Decl(app.ts, 14, 11)) - - _Require, ->_Require : Symbol(_Require, Decl(app.ts, 15, 10)) - - _ImportRelative, ->_ImportRelative : Symbol(_ImportRelative, Decl(app.ts, 16, 11)) - - _RequireRelative ->_RequireRelative : Symbol(_RequireRelative, Decl(app.ts, 17, 18)) -} - -=== /other.ts === -export const x = "other"; ->x : Symbol(x, Decl(other.ts, 0, 12)) - diff --git a/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=node10).types b/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=node10).types deleted file mode 100644 index ad37fbd27d340..0000000000000 --- a/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=node10).types +++ /dev/null @@ -1,103 +0,0 @@ -//// [tests/cases/conformance/moduleResolution/resolutionModeTypeOnlyImport1.ts] //// - -=== /node_modules/@types/foo/index.d.mts === -export declare const x: "module"; ->x : "module" -> : ^^^^^^^^ - -=== /node_modules/@types/foo/index.d.cts === -export declare const x: "script"; ->x : "script" -> : ^^^^^^^^ - -=== /app.ts === -import type { x as Default } from "foo"; ->x : any -> : ^^^ ->Default : any -> : ^^^ - -import type { x as Import } from "foo" assert { "resolution-mode": "import" }; ->x : "module" -> : ^^^^^^^^ ->Import : any -> : ^^^ - -import type { x as Require } from "foo" assert { "resolution-mode": "require" }; ->x : "script" -> : ^^^^^^^^ ->Require : any -> : ^^^ - -type _Default = typeof Default; ->_Default : any -> : ^^^ ->Default : any -> : ^^^ - -type _Import = typeof Import; ->_Import : "module" -> : ^^^^^^^^ ->Import : "module" -> : ^^^^^^^^ - -type _Require = typeof Require; ->_Require : "script" -> : ^^^^^^^^ ->Require : "script" -> : ^^^^^^^^ - -// resolution-mode does not enforce file extension in `bundler`, just sets conditions -import type { x as ImportRelative } from "./other" assert { "resolution-mode": "import" }; ->x : "other" -> : ^^^^^^^ ->ImportRelative : any -> : ^^^ - -import type { x as RequireRelative } from "./other" assert { "resolution-mode": "require" }; ->x : "other" -> : ^^^^^^^ ->RequireRelative : any -> : ^^^ - -type _ImportRelative = typeof ImportRelative; ->_ImportRelative : "other" -> : ^^^^^^^ ->ImportRelative : "other" -> : ^^^^^^^ - -type _RequireRelative = typeof RequireRelative; ->_RequireRelative : "other" -> : ^^^^^^^ ->RequireRelative : "other" -> : ^^^^^^^ - -export { - _Default, ->_Default : any -> : ^^^ - - _Import, ->_Import : any -> : ^^^ - - _Require, ->_Require : any -> : ^^^ - - _ImportRelative, ->_ImportRelative : any -> : ^^^ - - _RequireRelative ->_RequireRelative : any -> : ^^^ -} - -=== /other.ts === -export const x = "other"; ->x : "other" -> : ^^^^^^^ ->"other" : "other" -> : ^^^^^^^ - diff --git a/tests/baselines/reference/scopedPackages.trace.json b/tests/baselines/reference/scopedPackages.trace.json index a2320a796a188..e2d956f4aafce 100644 --- a/tests/baselines/reference/scopedPackages.trace.json +++ b/tests/baselines/reference/scopedPackages.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module '@cow/boy' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module '@cow/boy' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module '@cow/boy' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/@cow/boy/package.json' does not exist.", "File '/node_modules/@cow/boy.ts' does not exist.", @@ -13,8 +15,10 @@ "Resolving real path for '/node_modules/@cow/boy/index.d.ts', result '/node_modules/@cow/boy/index.d.ts'.", "======== Module name '@cow/boy' was successfully resolved to '/node_modules/@cow/boy/index.d.ts'. ========", "======== Resolving module '@be/bop' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module '@be/bop' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module '@be/bop' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Scoped package detected, looking in 'be__bop'", "File '/node_modules/@types/be__bop/package.json' does not exist.", @@ -23,8 +27,10 @@ "Resolving real path for '/node_modules/@types/be__bop/index.d.ts', result '/node_modules/@types/be__bop/index.d.ts'.", "======== Module name '@be/bop' was successfully resolved to '/node_modules/@types/be__bop/index.d.ts'. ========", "======== Resolving module '@be/bop/e/z' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module '@be/bop/e/z' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module '@be/bop/e/z' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Scoped package detected, looking in 'be__bop/e/z'", "File '/node_modules/@types/be__bop/package.json' does not exist according to earlier cached lookups.", @@ -34,7 +40,7 @@ "File '/node_modules/@cow/boy/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@cow/package.json' does not exist.", "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@types/be__bop/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@types/package.json' does not exist.", "File '/node_modules/package.json' does not exist according to earlier cached lookups.", diff --git a/tests/baselines/reference/syntheticDefaultExportsWithDynamicImports.errors.txt b/tests/baselines/reference/syntheticDefaultExportsWithDynamicImports.errors.txt new file mode 100644 index 0000000000000..1cb7bc88fe9c6 --- /dev/null +++ b/tests/baselines/reference/syntheticDefaultExportsWithDynamicImports.errors.txt @@ -0,0 +1,12 @@ +error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. +error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. + + +!!! error TS5071: Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. +!!! error TS5095: Option 'bundler' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later. +==== node_modules/package/index.d.ts (0 errors) ==== + declare function packageExport(x: number): string; + export = packageExport; + +==== index.ts (0 errors) ==== + import("package").then(({default: foo}) => foo(42)); \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).errors.txt new file mode 100644 index 0000000000000..a4a90872e759e --- /dev/null +++ b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== file.ts (0 errors) ==== + import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}} \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).oldTranspile.errors.txt new file mode 100644 index 0000000000000..a4a90872e759e --- /dev/null +++ b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option (verbatimModuleSyntax=true).oldTranspile.errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== file.ts (0 errors) ==== + import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}} \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.errors.txt b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.errors.txt new file mode 100644 index 0000000000000..a4a90872e759e --- /dev/null +++ b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== file.ts (0 errors) ==== + import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}} \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.oldTranspile.errors.txt new file mode 100644 index 0000000000000..a4a90872e759e --- /dev/null +++ b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with CommonJS option.oldTranspile.errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== file.ts (0 errors) ==== + import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}} \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.errors.txt b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.errors.txt new file mode 100644 index 0000000000000..a4a90872e759e --- /dev/null +++ b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== file.ts (0 errors) ==== + import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}} \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.oldTranspile.errors.txt new file mode 100644 index 0000000000000..a4a90872e759e --- /dev/null +++ b/tests/baselines/reference/transpile/Correctly serialize metadata when transpile with System option.oldTranspile.errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== file.ts (0 errors) ==== + import * as ng from "angular2/core";declare function foo(...args: any[]);@fooexport class MyClass1 { constructor(private _elementRef: ng.ElementRef){}} \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).errors.txt b/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).errors.txt new file mode 100644 index 0000000000000..f3eaa4ae1bc6d --- /dev/null +++ b/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== input.js (0 errors) ==== + x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).oldTranspile.errors.txt new file mode 100644 index 0000000000000..f3eaa4ae1bc6d --- /dev/null +++ b/tests/baselines/reference/transpile/Supports setting moduleResolution (verbatimModuleSyntax=true).oldTranspile.errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== input.js (0 errors) ==== + x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting moduleResolution.errors.txt b/tests/baselines/reference/transpile/Supports setting moduleResolution.errors.txt new file mode 100644 index 0000000000000..f3eaa4ae1bc6d --- /dev/null +++ b/tests/baselines/reference/transpile/Supports setting moduleResolution.errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== input.js (0 errors) ==== + x; \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting moduleResolution.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Supports setting moduleResolution.oldTranspile.errors.txt new file mode 100644 index 0000000000000..f3eaa4ae1bc6d --- /dev/null +++ b/tests/baselines/reference/transpile/Supports setting moduleResolution.oldTranspile.errors.txt @@ -0,0 +1,6 @@ +error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +!!! error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. +==== input.js (0 errors) ==== + x; \ No newline at end of file diff --git a/tests/baselines/reference/tripleSlashTypesReferenceWithMissingExports(module=commonjs).errors.txt b/tests/baselines/reference/tripleSlashTypesReferenceWithMissingExports(module=commonjs).errors.txt new file mode 100644 index 0000000000000..9062d29947423 --- /dev/null +++ b/tests/baselines/reference/tripleSlashTypesReferenceWithMissingExports(module=commonjs).errors.txt @@ -0,0 +1,17 @@ +usage.ts(1,23): error TS2688: Cannot find type definition file for 'pkg'. + + +==== node_modules/pkg/index.d.ts (0 errors) ==== + interface GlobalThing { a: number } +==== node_modules/pkg/package.json (0 errors) ==== + { + "name": "pkg", + "types": "index.d.ts", + "exports": "some-other-thing.js" + } +==== usage.ts (1 errors) ==== + /// + ~~~ +!!! error TS2688: Cannot find type definition file for 'pkg'. + + const a: GlobalThing = { a: 0 }; \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/extends/configDir-template.js b/tests/baselines/reference/tsbuild/extends/configDir-template.js index 474bf4f1f154a..51b7323242b89 100644 --- a/tests/baselines/reference/tsbuild/extends/configDir-template.js +++ b/tests/baselines/reference/tsbuild/extends/configDir-template.js @@ -96,22 +96,30 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/myproject/tsconfig.json'... ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. Trying substitution '/home/src/projects/myproject/types/*', candidate module location: '/home/src/projects/myproject/types/sometype'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. Trying substitution 'other/*', candidate module location: 'other/sometype2'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, Declaration. -Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, JavaScript, Declaration, JSON. +File '/home/src/projects/myproject/src/package.json' does not exist. +File '/home/src/projects/myproject/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. @@ -119,6 +127,13 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. +Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/node_modules' does not exist, skipping all lookups in it. +Directory '/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/configs/first/root1' does not exist, skipping all lookups in it. File '/home/src/projects/myproject/root2/other/sometype2.d.ts' does not exist. File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist. diff --git a/tests/baselines/reference/tsbuild/fileDelete/multiFile/deleted-file-without-composite.js b/tests/baselines/reference/tsbuild/fileDelete/multiFile/deleted-file-without-composite.js index 40573579f9ebf..ac3d6d1115353 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/multiFile/deleted-file-without-composite.js +++ b/tests/baselines/reference/tsbuild/fileDelete/multiFile/deleted-file-without-composite.js @@ -43,8 +43,9 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/child/tsconfig.json'... ======== Resolving module '../child/child2' from '/home/src/workspaces/solution/child/child.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/solution/child/child2.ts' exists - use it as a name resolution result. ======== Module name '../child/child2' was successfully resolved to '/home/src/workspaces/solution/child/child2.ts'. ======== ../../tslibs/TS/Lib/lib.d.ts @@ -106,13 +107,12 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/child/tsconfig.json'... ======== Resolving module '../child/child2' from '/home/src/workspaces/solution/child/child.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/solution/child/child2.ts' does not exist. File '/home/src/workspaces/solution/child/child2.tsx' does not exist. File '/home/src/workspaces/solution/child/child2.d.ts' does not exist. -Directory '/home/src/workspaces/solution/child/child2' does not exist, skipping all lookups in it. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: JavaScript. File '/home/src/workspaces/solution/child/child2.js' does not exist. File '/home/src/workspaces/solution/child/child2.jsx' does not exist. Directory '/home/src/workspaces/solution/child/child2' does not exist, skipping all lookups in it. diff --git a/tests/baselines/reference/tsbuild/fileDelete/multiFile/detects-deleted-file.js b/tests/baselines/reference/tsbuild/fileDelete/multiFile/detects-deleted-file.js index 005208879d580..9a194b6aa7a08 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/multiFile/detects-deleted-file.js +++ b/tests/baselines/reference/tsbuild/fileDelete/multiFile/detects-deleted-file.js @@ -65,8 +65,9 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/child/tsconfig.json'... ======== Resolving module '../child/child2' from '/home/src/workspaces/solution/child/child.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/solution/child/child2.ts' exists - use it as a name resolution result. ======== Module name '../child/child2' was successfully resolved to '/home/src/workspaces/solution/child/child2.ts'. ======== ../../tslibs/TS/Lib/lib.d.ts @@ -81,8 +82,9 @@ child/child.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/main/tsconfig.json'... ======== Resolving module '../child/child' from '/home/src/workspaces/solution/main/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/solution/child/child.ts' exists - use it as a name resolution result. ======== Module name '../child/child' was successfully resolved to '/home/src/workspaces/solution/child/child.ts'. ======== ../../tslibs/TS/Lib/lib.d.ts @@ -277,13 +279,12 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/child/tsconfig.json'... ======== Resolving module '../child/child2' from '/home/src/workspaces/solution/child/child.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/solution/child/child2.ts' does not exist. File '/home/src/workspaces/solution/child/child2.tsx' does not exist. File '/home/src/workspaces/solution/child/child2.d.ts' does not exist. -Directory '/home/src/workspaces/solution/child/child2' does not exist, skipping all lookups in it. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/child/child2', target file types: JavaScript. File '/home/src/workspaces/solution/child/child2.js' does not exist. File '/home/src/workspaces/solution/child/child2.jsx' does not exist. Directory '/home/src/workspaces/solution/child/child2' does not exist, skipping all lookups in it. diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index a16f9b295e543..ff8661bf77bc8 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -69,10 +69,11 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... ======== Resolving module 'const' from '/user/username/projects/myproject/packages/pkg2/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/myproject/packages/pkg2', using this value to resolve non-relative module name 'const'. Resolving module name 'const' relative to base url '/user/username/projects/myproject/packages/pkg2' - '/user/username/projects/myproject/packages/pkg2/const'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. ======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== [HH:MM:SS AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/tsconfig.tsbuildinfo' does not exist @@ -80,8 +81,16 @@ File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/packages/pkg1/package.json' does not exist. +File '/user/username/projects/myproject/packages/package.json' does not exist. +File '/user/username/projects/myproject/package.json' does not exist. +File '/user/username/projects/package.json' does not exist. +File '/user/username/package.json' does not exist. +File '/user/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/packages/pkg1/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/myproject/packages/node_modules' does not exist, skipping all lookups in it. @@ -103,10 +112,11 @@ File '/user/username/projects/myproject/node_modules/pkg2/build/package.json' do File '/user/username/projects/myproject/node_modules/pkg2/package.json' exists according to earlier cached lookups. ======== Resolving module 'const' from '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/myproject/packages/pkg2', using this value to resolve non-relative module name 'const'. Resolving module name 'const' relative to base url '/user/username/projects/myproject/packages/pkg2' - '/user/username/projects/myproject/packages/pkg2/const'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. ======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index 099907acadfbd..413ebfaaee364 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -67,10 +67,11 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... ======== Resolving module 'const' from '/user/username/projects/myproject/packages/pkg2/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/myproject/packages/pkg2', using this value to resolve non-relative module name 'const'. Resolving module name 'const' relative to base url '/user/username/projects/myproject/packages/pkg2' - '/user/username/projects/myproject/packages/pkg2/const'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. ======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== [HH:MM:SS AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/tsconfig.tsbuildinfo' does not exist @@ -78,8 +79,16 @@ File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/packages/pkg1/package.json' does not exist. +File '/user/username/projects/myproject/packages/package.json' does not exist. +File '/user/username/projects/myproject/package.json' does not exist. +File '/user/username/projects/package.json' does not exist. +File '/user/username/package.json' does not exist. +File '/user/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/packages/pkg1/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/myproject/packages/node_modules' does not exist, skipping all lookups in it. @@ -100,10 +109,11 @@ Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/bui ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== ======== Resolving module 'const' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/myproject/packages/pkg2', using this value to resolve non-relative module name 'const'. Resolving module name 'const' relative to base url '/user/username/projects/myproject/packages/pkg2' - '/user/username/projects/myproject/packages/pkg2/const'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. ======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file-non-composite.js index 99f5faacec338..2dc33dc75cfe7 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file-non-composite.js @@ -52,6 +52,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/hello.json TSFILE: /home/src/workspaces/solution/project/dist/index.js TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo @@ -62,6 +67,9 @@ project/src/hello.json Part of 'files' list in tsconfig.json project/src/index.ts Part of 'files' list in tsconfig.json + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/hello.json] @@ -81,7 +89,7 @@ exports.default = hello_json_1.default.hello; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"root":["../src/index.ts","../src/hello.json"],"version":"FakeTSVersion"} +{"root":["../src/index.ts","../src/hello.json"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -89,9 +97,10 @@ exports.default = hello_json_1.default.hello; "../src/index.ts", "../src/hello.json" ], + "errors": true, "version": "FakeTSVersion", - "size": 74 + "size": 88 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index 8b6bb7aced513..1d52395abe915 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -53,6 +53,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.d.ts @@ -64,6 +69,9 @@ project/src/hello.json Part of 'files' list in tsconfig.json project/src/index.ts Part of 'files' list in tsconfig.json + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/src/hello.json] @@ -88,7 +96,7 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -148,10 +156,24 @@ export default _default; "../src/hello.json" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../src/hello.json", + "not cached or not changed" + ], + [ + "../src/index.ts", + "not cached or not changed" + ] + ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1066 + "size": 1103 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files-non-composite.js index 6c6f9108cded0..bd6458c8de221 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files-non-composite.js @@ -54,6 +54,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/hello.json TSFILE: /home/src/workspaces/solution/project/dist/index.js TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo @@ -64,6 +69,9 @@ project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/hello.json] @@ -83,7 +91,7 @@ exports.default = hello_json_1.default.hello; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"root":["../src/hello.json","../src/index.ts"],"version":"FakeTSVersion"} +{"root":["../src/hello.json","../src/index.ts"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -91,9 +99,10 @@ exports.default = hello_json_1.default.hello; "../src/hello.json", "../src/index.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 74 + "size": 88 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index acbdd6b8f11ea..22696dc7839a1 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -55,6 +55,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.d.ts @@ -66,6 +71,9 @@ project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/src/hello.json] @@ -90,7 +98,7 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -150,10 +158,24 @@ export default _default; "../src/hello.json" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../src/hello.json", + "not cached or not changed" + ], + [ + "../src/index.ts", + "not cached or not changed" + ] + ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1066 + "size": 1103 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file-non-composite.js index ac3925187bdbc..ff3e31cec637c 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file-non-composite.js @@ -52,6 +52,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/index.json TSFILE: /home/src/workspaces/solution/project/dist/index.js TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo @@ -62,6 +67,9 @@ project/src/index.json Matched by include pattern 'src/**/*.json' in 'project/tsconfig.json' project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/index.json] @@ -81,7 +89,7 @@ exports.default = index_json_1.default.hello; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"root":["../src/index.ts","../src/index.json"],"version":"FakeTSVersion"} +{"root":["../src/index.ts","../src/index.json"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -89,9 +97,10 @@ exports.default = index_json_1.default.hello; "../src/index.ts", "../src/index.json" ], + "errors": true, "version": "FakeTSVersion", - "size": 74 + "size": 88 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index 7117326ceef93..f51abd24a3f27 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -53,6 +53,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/src/index.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.d.ts @@ -64,6 +69,9 @@ project/src/index.json Matched by include pattern 'src/**/*.json' in 'project/tsconfig.json' project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/src/index.json] @@ -88,7 +96,7 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/index.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-19435552038-import hello from \"./index.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/index.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-19435552038-import hello from \"./index.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -148,10 +156,24 @@ export default _default; "../src/index.json" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../src/index.json", + "not cached or not changed" + ], + [ + "../src/index.ts", + "not cached or not changed" + ] + ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1067 + "size": 1104 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-non-composite.js index 996cb32ba70ff..423aff995b06a 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-non-composite.js @@ -52,6 +52,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/hello.json TSFILE: /home/src/workspaces/solution/project/dist/index.js TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo @@ -62,6 +67,9 @@ project/src/hello.json Matched by include pattern 'src/**/*.json' in 'project/tsconfig.json' project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/hello.json] @@ -81,7 +89,7 @@ exports.default = hello_json_1.default.hello; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"root":["../src/index.ts","../src/hello.json"],"version":"FakeTSVersion"} +{"root":["../src/index.ts","../src/hello.json"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -89,9 +97,10 @@ exports.default = hello_json_1.default.hello; "../src/index.ts", "../src/hello.json" ], + "errors": true, "version": "FakeTSVersion", - "size": 74 + "size": 88 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index a29189b9accda..a8487ca0bcc2b 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -53,6 +53,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.d.ts @@ -64,6 +69,9 @@ project/src/hello.json Matched by include pattern 'src/**/*.json' in 'project/tsconfig.json' project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/src/hello.json] @@ -88,7 +96,7 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -148,10 +156,24 @@ export default _default; "../src/hello.json" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../src/hello.json", + "not cached or not changed" + ], + [ + "../src/index.ts", + "not cached or not changed" + ] + ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1066 + "size": 1103 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-non-composite.js index b0c14a984d31d..855cd0276ce0f 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-non-composite.js @@ -51,6 +51,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/hello.json TSFILE: /home/src/workspaces/solution/project/dist/index.js TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo @@ -60,6 +65,9 @@ project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/hello.json] @@ -79,16 +87,17 @@ exports.default = hello_json_1.default.hello; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"root":["../src/index.ts"],"version":"FakeTSVersion"} +{"root":["../src/index.ts"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "root": [ "../src/index.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 54 + "size": 68 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir-non-composite.js index d89d62b137af3..1a43346701800 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir-non-composite.js @@ -52,6 +52,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/index.js TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo ../../tslibs/TS/Lib/lib.d.ts @@ -60,6 +65,9 @@ project/hello.json Imported via "../hello.json" from file 'project/src/index.ts' project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/index.js] @@ -73,16 +81,17 @@ exports.default = hello_json_1.default.hello; //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] -{"root":["./src/index.ts"],"version":"FakeTSVersion"} +{"root":["./src/index.ts"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "root": [ "./src/index.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 53 + "size": 67 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js index 359d0bd35db23..ac87f2066ab92 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js @@ -53,6 +53,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/index.js TSFILE: /home/src/workspaces/solution/project/dist/index.d.ts TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo @@ -62,6 +67,9 @@ project/hello.json Imported via "../hello.json" from file 'project/src/index.ts' project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/index.js] @@ -80,7 +88,7 @@ export default _default; //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./hello.json","./src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-17927595516-import hello from \"../hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./dist","rootDir":"./src","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./dist/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./hello.json","./src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-17927595516-import hello from \"../hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./dist","rootDir":"./src","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./dist/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -137,10 +145,24 @@ export default _default; "./hello.json" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./hello.json", + "not cached or not changed" + ], + [ + "./src/index.ts", + "not cached or not changed" + ] + ], "latestChangedDtsFile": "./dist/index.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1117 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory-non-composite.js index 852f2173e30da..a876a42d1f4b3 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory-non-composite.js @@ -51,6 +51,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/hello.json TSFILE: /home/src/workspaces/solution/project/dist/project/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo @@ -62,6 +67,9 @@ project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/workspaces/solution/project/tsconfig.json'... + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/hello.json] @@ -81,16 +89,17 @@ exports.default = hello_json_1.default.hello; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"root":["../src/index.ts"],"version":"FakeTSVersion"} +{"root":["../src/index.ts"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "root": [ "../src/index.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 54 + "size": 68 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js index 60be72c2fcc8b..44e586d2bce84 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js @@ -52,6 +52,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.d.ts TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo @@ -61,6 +66,9 @@ hello.json Imported via "../../hello.json" from file 'project/src/index.ts' project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/src/index.js] @@ -79,7 +87,7 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../../hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-19695506097-import hello from \"../../hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../../hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-19695506097-import hello from \"../../hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -135,10 +143,24 @@ export default _default; "../../hello.json" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../../hello.json", + "not cached or not changed" + ], + [ + "../src/index.ts", + "not cached or not changed" + ] + ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1068 + "size": 1105 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir-non-composite.js index 71fc516cc4dec..dc65c43771ff2 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir-non-composite.js @@ -50,6 +50,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/src/index.js TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo ../../tslibs/TS/Lib/lib.d.ts @@ -58,6 +63,9 @@ project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' + +Found 1 error. + //// [/home/src/workspaces/solution/project/src/index.js] @@ -71,16 +79,17 @@ exports.default = hello_json_1.default.hello; //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] -{"root":["./src/index.ts"],"version":"FakeTSVersion"} +{"root":["./src/index.ts"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "root": [ "./src/index.ts" ], + "errors": true, "version": "FakeTSVersion", - "size": 53 + "size": 67 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js index 00be8894e2cd4..ab596148b2cf9 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js @@ -51,6 +51,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/src/index.js TSFILE: /home/src/workspaces/solution/project/src/index.d.ts TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo @@ -60,6 +65,9 @@ project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts Matched by include pattern 'src/**/*' in 'project/tsconfig.json' + +Found 1 error. + //// [/home/src/workspaces/solution/project/src/index.js] @@ -78,7 +86,7 @@ export default _default; //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/hello.json","./src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/hello.json","./src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -133,10 +141,24 @@ export default _default; "./src/hello.json" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./src/hello.json", + "not cached or not changed" + ], + [ + "./src/index.ts", + "not cached or not changed" + ] + ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1045 + "size": 1082 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index ac0e2a977b2d8..71bb6700db58b 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -52,10 +52,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... -project/src/index.ts:1:19 - error TS6307: File '/home/src/workspaces/solution/project/src/hello.json' is not listed within the file list of project '/home/src/workspaces/solution/project/tsconfig.json'. Projects must list all files or use an 'include' pattern. +project/tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 import hello from "./hello.json" -   ~~~~~~~~~~~~~~ +4 "moduleResolution": "node", +   ~~~~~~ TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js @@ -94,7 +94,7 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts","errors":true,"version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -150,10 +150,23 @@ export default _default; "../src/hello.json" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../src/hello.json", + "not cached or not changed" + ], + [ + "../src/index.ts", + "not cached or not changed" + ] + ], "latestChangedDtsFile": "./src/index.d.ts", - "errors": true, "version": "FakeTSVersion", - "size": 1078 + "size": 1101 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js index 1b183827ff0e8..ea9735b086ff0 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js @@ -53,6 +53,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/hello.json TSFILE: /home/src/workspaces/solution/project/dist/index.js TSFILE: /home/src/workspaces/solution/project/dist/index.js.map @@ -64,6 +69,9 @@ project/src/hello.json Part of 'files' list in tsconfig.json project/src/index.ts Part of 'files' list in tsconfig.json + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/hello.json] @@ -86,7 +94,7 @@ exports.default = hello_json_1.default.hello; //# sourceMappingURL=index.js.map //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"root":["../src/index.ts","../src/hello.json"],"version":"FakeTSVersion"} +{"root":["../src/index.ts","../src/hello.json"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -94,12 +102,13 @@ exports.default = hello_json_1.default.hello; "../src/index.ts", "../src/hello.json" ], + "errors": true, "version": "FakeTSVersion", - "size": 74 + "size": 88 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -110,9 +119,35 @@ Output:: [HH:MM:SS AM] Projects in this build: * project/tsconfig.json -[HH:MM:SS AM] Project 'project/tsconfig.json' is up to date because newest input 'project/src/index.ts' is older than output 'project/dist/hello.json' +[HH:MM:SS AM] Project 'project/tsconfig.json' is out of date because buildinfo file 'project/dist/tsconfig.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... + +project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + +TSFILE: /home/src/workspaces/solution/project/dist/hello.json +TSFILE: /home/src/workspaces/solution/project/dist/index.js +TSFILE: /home/src/workspaces/solution/project/dist/index.js.map +TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo +../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' +project/src/hello.json + Imported via "./hello.json" from file 'project/src/index.ts' + Part of 'files' list in tsconfig.json +project/src/index.ts + Part of 'files' list in tsconfig.json + +Found 1 error. +//// [/home/src/workspaces/solution/project/dist/hello.json] file written with same contents +//// [/home/src/workspaces/solution/project/dist/index.js.map] file written with same contents +//// [/home/src/workspaces/solution/project/dist/index.js] file written with same contents +//// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] file written with same contents +//// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index 353744280df75..e2b14e4a073ec 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -54,6 +54,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json TSFILE: /home/src/workspaces/solution/project/dist/src/index.js TSFILE: /home/src/workspaces/solution/project/dist/src/index.js.map @@ -66,6 +71,9 @@ project/src/hello.json Part of 'files' list in tsconfig.json project/src/index.ts Part of 'files' list in tsconfig.json + +Found 1 error. + //// [/home/src/workspaces/solution/project/dist/src/hello.json] @@ -93,7 +101,7 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../tslibs/ts/lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -154,13 +162,27 @@ export default _default; "../src/hello.json" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "../src/hello.json", + "not cached or not changed" + ], + [ + "../src/index.ts", + "not cached or not changed" + ] + ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1083 + "size": 1120 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -171,9 +193,26 @@ Output:: [HH:MM:SS AM] Projects in this build: * project/tsconfig.json -[HH:MM:SS AM] Project 'project/tsconfig.json' is up to date because newest input 'project/src/index.ts' is older than output 'project/dist/tsconfig.tsbuildinfo' +[HH:MM:SS AM] Project 'project/tsconfig.json' is out of date because buildinfo file 'project/dist/tsconfig.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... + +project/tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "moduleResolution": "node", +   ~~~~~~ + +../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' +project/src/hello.json + Imported via "./hello.json" from file 'project/src/index.ts' + Part of 'files' list in tsconfig.json +project/src/index.ts + Part of 'files' list in tsconfig.json + +Found 1 error. -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-non-composite.js index bf8b3af9ce12e..6bdc4c43ce81d 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-non-composite.js @@ -51,6 +51,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/src/index.js TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo ../../tslibs/TS/Lib/lib.d.ts @@ -60,6 +65,9 @@ project/src/hello.json Part of 'files' list in tsconfig.json project/src/index.ts Part of 'files' list in tsconfig.json + +Found 1 error. + //// [/home/src/workspaces/solution/project/src/index.js] @@ -73,7 +81,7 @@ exports.default = hello_json_1.default.hello; //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] -{"root":["./src/index.ts","./src/hello.json"],"version":"FakeTSVersion"} +{"root":["./src/index.ts","./src/hello.json"],"errors":true,"version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -81,12 +89,13 @@ exports.default = hello_json_1.default.hello; "./src/index.ts", "./src/hello.json" ], + "errors": true, "version": "FakeTSVersion", - "size": 72 + "size": 86 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -97,9 +106,31 @@ Output:: [HH:MM:SS AM] Projects in this build: * project/tsconfig.json -[HH:MM:SS AM] Project 'project/tsconfig.json' is up to date because newest input 'project/src/index.ts' is older than output 'project/src/index.js' +[HH:MM:SS AM] Project 'project/tsconfig.json' is out of date because buildinfo file 'project/tsconfig.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... + +project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + +TSFILE: /home/src/workspaces/solution/project/src/index.js +TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo +../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' +project/src/hello.json + Imported via "./hello.json" from file 'project/src/index.ts' + Part of 'files' list in tsconfig.json +project/src/index.ts + Part of 'files' list in tsconfig.json + +Found 1 error. +//// [/home/src/workspaces/solution/project/src/index.js] file written with same contents +//// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] file written with same contents +//// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index 5fc1be96c4239..6a55b1e5b05f8 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -52,6 +52,11 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... +project/tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "moduleResolution": "node", +   ~~~~~~ + TSFILE: /home/src/workspaces/solution/project/src/index.js TSFILE: /home/src/workspaces/solution/project/src/index.d.ts TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo @@ -62,6 +67,9 @@ project/src/hello.json Part of 'files' list in tsconfig.json project/src/index.ts Part of 'files' list in tsconfig.json + +Found 1 error. + //// [/home/src/workspaces/solution/project/src/index.js] @@ -80,7 +88,7 @@ export default _default; //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/hello.json","./src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./src/hello.json","./src/index.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./src/index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -139,13 +147,27 @@ export default _default; "./src/hello.json" ] }, + "semanticDiagnosticsPerFile": [ + [ + "../../../tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], + [ + "./src/hello.json", + "not cached or not changed" + ], + [ + "./src/index.ts", + "not cached or not changed" + ] + ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1047 + "size": 1084 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped Change:: no-change-run @@ -156,9 +178,26 @@ Output:: [HH:MM:SS AM] Projects in this build: * project/tsconfig.json -[HH:MM:SS AM] Project 'project/tsconfig.json' is up to date because newest input 'project/src/index.ts' is older than output 'project/tsconfig.tsbuildinfo' +[HH:MM:SS AM] Project 'project/tsconfig.json' is out of date because buildinfo file 'project/tsconfig.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... + +project/tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "moduleResolution": "node", +   ~~~~~~ + +../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' +project/src/hello.json + Imported via "./hello.json" from file 'project/src/index.ts' + Part of 'files' list in tsconfig.json +project/src/index.ts + Part of 'files' list in tsconfig.json + +Found 1 error. -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js index 25313059dafcc..89d98bbef25e2 100644 --- a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -109,12 +109,13 @@ projects/shared/src/random.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/server/tsconfig.json'... ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. Trying substitution '../../shared/src/*', candidate module location: '../../shared/src/myClass.js'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/home/src/workspaces/solution/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/solution/projects/shared/src/myClass.ts'. ======== @@ -422,12 +423,13 @@ projects/shared/src/random.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/server/tsconfig.json'... ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. Trying substitution '../../shared/src/*', candidate module location: '../../shared/src/myClass.js'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/home/src/workspaces/solution/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/solution/projects/shared/src/myClass.ts'. ======== @@ -691,12 +693,13 @@ projects/shared/src/myClass.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/server/tsconfig.json'... ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. Trying substitution '../../shared/src/*', candidate module location: '../../shared/src/myClass.js'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/home/src/workspaces/solution/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/solution/projects/shared/src/myClass.ts'. ======== diff --git a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js index 8f6615f38ac20..5f567a68822b2 100644 --- a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js @@ -109,12 +109,13 @@ projects/shared/src/random.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/server/tsconfig.json'... ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. Trying substitution '../../shared/src/*', candidate module location: '../../shared/src/myClass.js'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/home/src/workspaces/solution/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/solution/projects/shared/src/myClass.ts'. ======== @@ -422,12 +423,13 @@ projects/shared/src/random.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/server/tsconfig.json'... ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. Trying substitution '../../shared/src/*', candidate module location: '../../shared/src/myClass.js'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/home/src/workspaces/solution/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/solution/projects/shared/src/myClass.ts'. ======== @@ -691,12 +693,13 @@ projects/shared/src/myClass.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/server/tsconfig.json'... ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. Trying substitution '../../shared/src/*', candidate module location: '../../shared/src/myClass.js'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/home/src/workspaces/solution/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/solution/projects/shared/src/myClass.ts'. ======== diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index 6eb9f13445ff1..21f904609b3f8 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -86,10 +86,10 @@ declare const console: { log(msg: any): void; }; Output:: /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.ts -b.ts:1:17 - error TS2307: Cannot find module 'a' or its corresponding type declarations. +tsconfig.b.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 import {A} from 'a'; -   ~~~ +4 "moduleResolution": "node" +   ~~~~~~ /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/b.ts @@ -174,7 +174,7 @@ export declare const b: any; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17186364832-import {A} from 'a';\nexport const b = new A();","signature":"-5666291609-export declare const b: any;\n"}],"root":[2],"options":{"composite":true},"semanticDiagnosticsPerFile":[[2,[{"start":16,"length":3,"messageText":"Cannot find module 'a' or its corresponding type declarations.","category":1,"code":2307}]]],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17186364832-import {A} from 'a';\nexport const b = new A();","signature":"-5666291609-export declare const b: any;\n"}],"root":[2],"options":{"composite":true},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./b.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -211,22 +211,18 @@ export declare const b: any; "composite": true }, "semanticDiagnosticsPerFile": [ + [ + "../../../../home/src/tslibs/ts/lib/lib.d.ts", + "not cached or not changed" + ], [ "./b.ts", - [ - { - "start": 16, - "length": 3, - "messageText": "Cannot find module 'a' or its corresponding type declarations.", - "category": 1, - "code": 2307 - } - ] + "not cached or not changed" ] ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 960 + "size": 830 } //// [/user/username/projects/transitiveReferences/c.js] diff --git a/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js b/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js index 8cde8e204471c..41b718d1b54d4 100644 --- a/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js +++ b/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js @@ -98,22 +98,30 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/myproject/tsconfig.json'... ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. Trying substitution '/home/src/projects/myproject/types/*', candidate module location: '/home/src/projects/myproject/types/sometype'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. Trying substitution 'other/*', candidate module location: 'other/sometype2'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, Declaration. -Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, JavaScript, Declaration, JSON. +File '/home/src/projects/myproject/src/package.json' does not exist. +File '/home/src/projects/myproject/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. @@ -121,6 +129,13 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. +Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/node_modules' does not exist, skipping all lookups in it. +Directory '/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/configs/first/root1' does not exist, skipping all lookups in it. File '/home/src/projects/myproject/root2/other/sometype2.d.ts' does not exist. File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist. @@ -146,6 +161,12 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"exclu Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Wild card directory /home/src/projects/myproject/tsconfig.json ExcludeWatcher:: Added:: WatchInfo: /home/src/projects/myproject/main.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file /home/src/projects/myproject/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src/secondary.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file /home/src/projects/myproject/tsconfig.json +FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json +FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json +FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json +FileWatcher:: Added:: WatchInfo: /home/src/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json +FileWatcher:: Added:: WatchInfo: /home/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json +FileWatcher:: Added:: WatchInfo: /package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/sometype2/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json @@ -199,8 +220,20 @@ export declare const z = 10; PolledWatches:: +/home/package.json: *new* + {"pollingInterval":2000} +/home/src/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/myproject/package.json: *new* + {"pollingInterval":2000} /home/src/projects/myproject/root2/other/sometype2/package.json: *new* {"pollingInterval":2000} +/home/src/projects/myproject/src/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} +/package.json: *new* + {"pollingInterval":2000} FsWatches:: /home/src/projects/configs/first/tsconfig.json: *new* @@ -310,22 +343,30 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/myproject/tsconfig.json'... ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. Trying substitution '/home/src/projects/myproject/types/*', candidate module location: '/home/src/projects/myproject/types/sometype'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. Trying substitution 'other/*', candidate module location: 'other/sometype2'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, Declaration. -Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, JavaScript, Declaration, JSON. +File '/home/src/projects/myproject/src/package.json' does not exist. +File '/home/src/projects/myproject/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. @@ -333,6 +374,13 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. +Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/node_modules' does not exist, skipping all lookups in it. +Directory '/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/myproject/root2/other/sometype2.d.ts' does not exist. File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist. File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result. diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index f6ec586a38332..6b7fad3602c05 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -80,8 +80,9 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const.js', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/user/username/projects/myproject/packages/pkg2/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== @@ -90,8 +91,10 @@ File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. +Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/packages/pkg1/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/myproject/packages/node_modules' does not exist, skipping all lookups in it. @@ -112,8 +115,9 @@ Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/bui ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/user/username/projects/myproject/packages/pkg2/build/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. @@ -251,6 +255,8 @@ exports.theNum = 42; FsWatches:: /user/username/projects/myproject/packages/pkg1/index.ts: *new* {} +/user/username/projects/myproject/packages/pkg1/package.json: *new* + {} /user/username/projects/myproject/packages/pkg1/tsconfig.json: *new* {} /user/username/projects/myproject/packages/pkg2/const.ts: *new* @@ -362,8 +368,10 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. +Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/packages/pkg1/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/myproject/packages/node_modules' does not exist, skipping all lookups in it. @@ -461,8 +469,10 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. +Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/packages/pkg1/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/myproject/packages/node_modules' does not exist, skipping all lookups in it. @@ -483,8 +493,9 @@ Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/bui ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/user/username/projects/myproject/packages/pkg2/build/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index ab342be4fd464..f9c78d5906585 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -1169,10 +1169,10 @@ Input:: //// [/user/username/projects/project/extendsConfig2.tsconfig.json] deleted Timeout callback:: count: 1 -11: timerToBuildInvalidatedProject *new* +12: timerToBuildInvalidatedProject *new* Before running Timeout callback:: count: 1 -11: timerToBuildInvalidatedProject +12: timerToBuildInvalidatedProject Host is moving to new time After running Timeout callback:: count: 0 @@ -1180,6 +1180,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... +[HH:MM:SS AM] Project 'project2.tsconfig.json' is up to date because newest input 'other2.ts' is older than output 'project2.tsconfig.tsbuildinfo' + [HH:MM:SS AM] Project 'project3.tsconfig.json' is up to date because newest input 'other2.ts' is older than output 'project3.tsconfig.tsbuildinfo' error TS5083: Cannot read file '/user/username/projects/project/extendsConfig2.tsconfig.json'. diff --git a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js index eabab42c8898d..2609b71262cba 100644 --- a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -112,12 +112,13 @@ projects/shared/src/random.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/server/tsconfig.json'... ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. Trying substitution '../../shared/src/*', candidate module location: '../../shared/src/myClass.js'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/home/src/workspaces/solution/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/solution/projects/shared/src/myClass.ts'. ======== @@ -617,12 +618,13 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/server/tsconfig.json'... ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. Trying substitution '../../shared/src/*', candidate module location: '../../shared/src/myClass.js'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/home/src/workspaces/solution/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/solution/projects/shared/src/myClass.ts'. ======== @@ -955,12 +957,13 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/server/tsconfig.json'... ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. Trying substitution '../../shared/src/*', candidate module location: '../../shared/src/myClass.js'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/home/src/workspaces/solution/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/solution/projects/shared/src/myClass.ts'. ======== diff --git a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js index 2df37488667b8..298031955c7f3 100644 --- a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js @@ -112,12 +112,13 @@ projects/shared/src/random.ts [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/server/tsconfig.json'... ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. Trying substitution '../../shared/src/*', candidate module location: '../../shared/src/myClass.js'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/home/src/workspaces/solution/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/solution/projects/shared/src/myClass.ts'. ======== @@ -617,12 +618,13 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/server/tsconfig.json'... ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. Trying substitution '../../shared/src/*', candidate module location: '../../shared/src/myClass.js'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/home/src/workspaces/solution/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/solution/projects/shared/src/myClass.ts'. ======== @@ -955,12 +957,13 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/server/tsconfig.json'... ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/solution/projects/server/src/server.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/workspaces/solution/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. 'paths' option is specified, looking for a pattern to match module name ':shared/myClass.js'. Module name ':shared/myClass.js', matched pattern ':shared/*'. Trying substitution '../../shared/src/*', candidate module location: '../../shared/src/myClass.js'. -Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/workspaces/solution/projects/shared/src/myClass.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/home/src/workspaces/solution/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/solution/projects/shared/src/myClass.ts'. ======== diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js index cee883afc5fc9..c157073ef799b 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js @@ -104,8 +104,15 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -p plugin-one --explainFiles Output:: ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/action.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/plugin-one/package.json' does not exist. +File '/user/username/projects/myproject/package.json' does not exist. +File '/user/username/projects/package.json' does not exist. +File '/user/username/package.json' does not exist. +File '/user/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Found 'package.json' at '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json'. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts' does not exist. @@ -123,8 +130,15 @@ Resolving real path for '/user/username/projects/myproject/plugin-one/node_modul ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/plugin-one/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +File '/user/username/package.json' does not exist according to earlier cached lookups. +File '/user/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts' does not exist. @@ -136,8 +150,15 @@ File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts', result '/user/username/projects/myProject/plugin-two/index.d.ts'. ======== Module name 'plugin-two' was successfully resolved to '/user/username/projects/myProject/plugin-two/index.d.ts'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myProject/plugin-two/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myProject/plugin-two/package.json' does not exist. +File '/user/username/projects/myProject/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +File '/user/username/package.json' does not exist according to earlier cached lookups. +File '/user/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Found 'package.json' at '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/package.json'. File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa.ts' does not exist. diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js index 06f3d89f0da04..55510756456af 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js @@ -111,8 +111,15 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -p plugin-one --explainFiles Output:: ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/plugin-one/package.json' does not exist. +File '/user/username/projects/myproject/package.json' does not exist. +File '/user/username/projects/package.json' does not exist. +File '/user/username/package.json' does not exist. +File '/user/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Found 'package.json' at '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json'. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts' does not exist. @@ -130,8 +137,15 @@ File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/ Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.d.ts', result '/user/username/projects/myProject/plugin-two/dist/commonjs/index.d.ts'. ======== Module name 'plugin-two' was successfully resolved to '/user/username/projects/myProject/plugin-two/dist/commonjs/index.d.ts' with Package ID 'plugin-two/dist/commonjs/index.d.ts@0.1.3'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/plugin-one/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +File '/user/username/package.json' does not exist according to earlier cached lookups. +File '/user/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Found 'package.json' at '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json'. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts' does not exist. @@ -148,8 +162,12 @@ File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/i Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myProject/plugin-two/dist/commonjs/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myProject/plugin-two/dist/commonjs/package.json' does not exist. +File '/user/username/projects/myProject/plugin-two/dist/package.json' does not exist. +Found 'package.json' at '/user/username/projects/myProject/plugin-two/package.json'. +Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myProject/plugin-two/dist/commonjs/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/myProject/plugin-two/dist/node_modules' does not exist, skipping all lookups in it. diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js index afb5c6d6fe767..8ae15d7bd7498 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js @@ -111,8 +111,15 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -p plugin-one --explainFiles Output:: ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/plugin-one/package.json' does not exist. +File '/user/username/projects/myproject/package.json' does not exist. +File '/user/username/projects/package.json' does not exist. +File '/user/username/package.json' does not exist. +File '/user/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Found 'package.json' at '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json'. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts' does not exist. @@ -130,8 +137,15 @@ File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/ Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.d.ts', result '/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts'. ======== Module name 'plugin-two' was successfully resolved to '/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts' with Package ID 'plugin-two/dist/commonjs/index.d.ts@0.1.3'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/plugin-one/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +File '/user/username/package.json' does not exist according to earlier cached lookups. +File '/user/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Found 'package.json' at '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json'. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts' does not exist. @@ -148,8 +162,12 @@ File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/i Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/plugin-two/dist/commonjs/package.json' does not exist. +File '/user/username/projects/myproject/plugin-two/dist/package.json' does not exist. +Found 'package.json' at '/user/username/projects/myproject/plugin-two/package.json'. +Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/plugin-two/dist/commonjs/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/myproject/plugin-two/dist/node_modules' does not exist, skipping all lookups in it. diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js index 37d57a55b753f..60267a37247fe 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js @@ -104,8 +104,15 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -p plugin-one --explainFiles Output:: ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/action.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/plugin-one/package.json' does not exist. +File '/user/username/projects/myproject/package.json' does not exist. +File '/user/username/projects/package.json' does not exist. +File '/user/username/package.json' does not exist. +File '/user/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Found 'package.json' at '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json'. File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa.ts' does not exist. @@ -123,8 +130,15 @@ Resolving real path for '/user/username/projects/myproject/plugin-one/node_modul ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/plugin-one/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +File '/user/username/package.json' does not exist according to earlier cached lookups. +File '/user/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/package.json' does not exist. File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two.ts' does not exist. @@ -136,8 +150,15 @@ File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts', result '/user/username/projects/myproject/plugin-two/index.d.ts'. ======== Module name 'plugin-two' was successfully resolved to '/user/username/projects/myproject/plugin-two/index.d.ts'. ======== ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-two/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/plugin-two/package.json' does not exist. +File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +File '/user/username/package.json' does not exist according to earlier cached lookups. +File '/user/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Found 'package.json' at '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json'. File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa.ts' does not exist. diff --git a/tests/baselines/reference/tsc/declarationEmit/when-using-Windows-paths-and-uppercase-letters.js b/tests/baselines/reference/tsc/declarationEmit/when-using-Windows-paths-and-uppercase-letters.js index 448760fe05df2..cba4c6f8f2a41 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-using-Windows-paths-and-uppercase-letters.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-using-Windows-paths-and-uppercase-letters.js @@ -96,11 +96,10 @@ declare const console: { log(msg: any): void; }; D:\home\src\tslibs\TS\Lib\tsc.js -p D:\Work\pkg1 --explainFiles Output:: -src/utils/index.ts:8:12 - error TS2352: Conversion of type 'typeof PartialClassType' to type 'MyReturnType' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. - Cannot assign an abstract constructor type to a non-abstract constructor type. +tsconfig.json:21:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -8 return PartialClassType as MyReturnType; -   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +21 "moduleResolution": "node", +   ~~~~~~ ../../home/src/tslibs/TS/Lib/lib.es2017.full.d.ts Default library for target 'es2017' @@ -113,7 +112,7 @@ src/utils/index.ts src/main.ts Matched by include pattern 'src' in 'tsconfig.json' -Found 1 error in src/utils/index.ts:8 +Found 1 error in tsconfig.json:21 diff --git a/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js b/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js index 13d94a5312553..8bcc4a439e096 100644 --- a/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js +++ b/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js @@ -89,22 +89,30 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --explainFiles --outDir ${configDir}/outDir Output:: ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. Trying substitution '/home/src/projects/myproject/types/*', candidate module location: '/home/src/projects/myproject/types/sometype'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. Trying substitution 'other/*', candidate module location: 'other/sometype2'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, Declaration. -Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, JavaScript, Declaration, JSON. +File '/home/src/projects/myproject/src/package.json' does not exist. +File '/home/src/projects/myproject/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. @@ -112,6 +120,13 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. +Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/node_modules' does not exist, skipping all lookups in it. +Directory '/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/configs/first/root1' does not exist, skipping all lookups in it. File '/home/src/projects/myproject/root2/other/sometype2.d.ts' does not exist. File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist. diff --git a/tests/baselines/reference/tsc/extends/configDir-template.js b/tests/baselines/reference/tsc/extends/configDir-template.js index 980483aea2970..2550454de90b5 100644 --- a/tests/baselines/reference/tsc/extends/configDir-template.js +++ b/tests/baselines/reference/tsc/extends/configDir-template.js @@ -89,22 +89,30 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --explainFiles Output:: ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. Trying substitution '/home/src/projects/myproject/types/*', candidate module location: '/home/src/projects/myproject/types/sometype'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. Trying substitution 'other/*', candidate module location: 'other/sometype2'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, Declaration. -Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, JavaScript, Declaration, JSON. +File '/home/src/projects/myproject/src/package.json' does not exist. +File '/home/src/projects/myproject/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. @@ -112,6 +120,13 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. +Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/node_modules' does not exist, skipping all lookups in it. +Directory '/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/configs/first/root1' does not exist, skipping all lookups in it. File '/home/src/projects/myproject/root2/other/sometype2.d.ts' does not exist. File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist. diff --git a/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js b/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js index d21a247aa0a5b..03f0c8f48f353 100644 --- a/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js +++ b/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js @@ -331,6 +331,11 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-es5' was not resolved. ======== +tsconfig.json:8:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +8 "moduleResolution": "node", +   ~~~~~~ + ../../../../tslibs/TS/Lib/lib.es5.d.ts Library 'lib.es5.d.ts' specified in compilerOptions ../../node_modules/.pnpm/@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/src/index.ts @@ -346,6 +351,9 @@ Directory '/node_modules' does not exist, skipping all lookups in it. Imported via "@component-type-checker/components" from file 'src/app.tsx' with packageId '@component-type-checker/components/src/index.ts@0.0.1+@component-type-checker/button@0.0.2' src/app.tsx Matched by include pattern 'src' in 'tsconfig.json' + +Found 1 error in tsconfig.json:8 + //// [/home/src/tslibs/TS/Lib/lib.es5.d.ts] *Lib* @@ -356,4 +364,4 @@ var button = createButton(); -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tscWatch/extends/configDir-template.js b/tests/baselines/reference/tscWatch/extends/configDir-template.js index 468f9a17371f0..4e0c2a0ae5a6c 100644 --- a/tests/baselines/reference/tscWatch/extends/configDir-template.js +++ b/tests/baselines/reference/tscWatch/extends/configDir-template.js @@ -98,24 +98,32 @@ CreatingProgramWith:: options: {"declarationDir":"/home/src/projects/myproject/decls","paths":{"@myscope/*":["/home/src/projects/myproject/types/*"],"other/*":["other/*"]},"baseUrl":"/home/src/projects/myproject","pathsBasePath":"/home/src/projects/configs/second","typeRoots":["/home/src/projects/configs/first/root1","/home/src/projects/myproject/root2","/home/src/projects/configs/first/root3"],"types":[],"declaration":true,"outDir":"/home/src/projects/myproject/outDir","traceResolution":true,"watch":true,"extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/myproject/tsconfig.json"} ExcludeWatcher:: Added:: WatchInfo: /home/src/projects/myproject/main.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. Trying substitution '/home/src/projects/myproject/types/*', candidate module location: '/home/src/projects/myproject/types/sometype'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/types/sometype.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src/secondary.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. Trying substitution 'other/*', candidate module location: 'other/sometype2'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, Declaration. -Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, JavaScript, Declaration, JSON. +File '/home/src/projects/myproject/src/package.json' does not exist. +File '/home/src/projects/myproject/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. @@ -123,6 +131,13 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. +Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/node_modules' does not exist, skipping all lookups in it. +Directory '/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/configs/first/root1' does not exist, skipping all lookups in it. File '/home/src/projects/myproject/root2/other/sometype2.d.ts' does not exist. File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist. @@ -135,6 +150,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/other 1 {"exc Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/other 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations @@ -143,6 +160,12 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/configs 1 {"excludeFile Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/configs 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations +DirectoryWatcher:: Triggered with /home/src/projects/myproject/outDir :: WatchInfo: /home/src/projects/myproject 0 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/myproject/outDir :: WatchInfo: /home/src/projects/myproject 0 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations +DirectoryWatcher:: Triggered with /home/src/projects/myproject/decls :: WatchInfo: /home/src/projects/myproject 0 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/myproject/decls :: WatchInfo: /home/src/projects/myproject 0 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' types/sometype.ts @@ -206,10 +229,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} /home/src/projects/configs/first/tsconfig.json: *new* {} /home/src/projects/configs/second/tsconfig.json: *new* {} +/home/src/projects/myproject: *new* + {} /home/src/projects/myproject/root2/other/sometype2/index.d.ts: *new* {} /home/src/projects/myproject/src/secondary.ts: *new* @@ -324,22 +351,30 @@ CreatingProgramWith:: roots: ["/home/src/projects/myproject/main.ts","/home/src/projects/myproject/src/secondary.ts"] options: {"declarationDir":"/home/src/projects/myproject/decls","paths":{"@myscope/*":["/home/src/projects/myproject/types/*"],"other/*":["other/*"]},"baseUrl":"/home/src/projects/myproject","pathsBasePath":"/home/src/projects/configs/second","typeRoots":["/home/src/projects/myproject/root2"],"types":[],"declaration":true,"outDir":"/home/src/projects/myproject/outDir","traceResolution":true,"watch":true,"extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/myproject/tsconfig.json"} ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Module name '@myscope/sometype', matched pattern '@myscope/*'. Trying substitution '/home/src/projects/myproject/types/*', candidate module location: '/home/src/projects/myproject/types/sometype'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Module name 'other/sometype2', matched pattern 'other/*'. Trying substitution 'other/*', candidate module location: 'other/sometype2'. -Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, Declaration. -Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, JavaScript, Declaration, JSON. +File '/home/src/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. @@ -347,6 +382,13 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. +Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. +Directory '/home/src/node_modules' does not exist, skipping all lookups in it. +Directory '/home/node_modules' does not exist, skipping all lookups in it. +Directory '/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/myproject/root2/other/sometype2.d.ts' does not exist. File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result. @@ -378,10 +420,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} /home/src/projects/configs/first/tsconfig.json: {} /home/src/projects/configs/second/tsconfig.json: {} +/home/src/projects/myproject: + {} /home/src/projects/myproject/root2/other/sometype2/index.d.ts: {} /home/src/projects/myproject/src/secondary.ts: diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js index c306512dd6830..832c250ad8d05 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js @@ -99,6 +99,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/index.tsx: *new* {} /user/username/projects/myproject/node_modules/react/Jsx-Runtime/index.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index 382fe7fadafa7..a43352f6f0470 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -336,6 +336,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/projects/project/node_modules/fp-ts/lib/Struct.d.ts: *new* {} /home/src/projects/project/src/Struct.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js index 2671a0e0228db..8176b25a3da2d 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js @@ -141,6 +141,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/node_modules/classnames/index.d.ts: *new* {} /users/username/projects/project/src/index.ts: *new* @@ -158,6 +162,9 @@ FsWatchesRecursive:: /users/username/projects/project/src: *new* {} +Timeout callback:: count: 1 +2: timerToInvalidateFailedLookupResolutions *new* + Program root files: [ "/users/username/projects/project/src/index.ts", "/users/username/projects/project/src/types/classnames.d.ts" @@ -213,6 +220,10 @@ PolledWatches *deleted*:: FsWatches *deleted*:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/project: + {} /users/username/projects/project/node_modules/classnames/index.d.ts: {} /users/username/projects/project/src/index.ts: @@ -230,6 +241,9 @@ FsWatchesRecursive *deleted*:: /users/username/projects/project/src: {} +Timeout callback:: count: 0 +2: timerToInvalidateFailedLookupResolutions *deleted* + Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... @@ -354,6 +368,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/node_modules/classnames/index.d.ts: *new* {} /users/username/projects/project/src/index.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js index e087a1076f9c1..d3bbbfdfa49ea 100644 --- a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js @@ -62,6 +62,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/index.tsx: *new* {} /users/username/projects/project/node_modules/tslib/index.d.ts: *new* @@ -118,6 +122,10 @@ PolledWatches *deleted*:: FsWatches *deleted*:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/project: + {} /users/username/projects/project/index.tsx: {} /users/username/projects/project/node_modules/tslib/index.d.ts: @@ -159,6 +167,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/index.tsx: *new* {} /users/username/projects/project/tsconfig.json: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js index f482e5894203a..1b529c6a7d828 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js @@ -119,6 +119,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/index.tsx: *new* {} /users/username/projects/project/tsconfig.json: *new* @@ -128,6 +132,9 @@ FsWatchesRecursive:: /users/username/projects/project: *new* {} +Timeout callback:: count: 1 +2: timerToInvalidateFailedLookupResolutions *new* + Program root files: [ "/users/username/projects/project/index.tsx" ] @@ -191,6 +198,10 @@ PolledWatches *deleted*:: FsWatches *deleted*:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/project: + {} /users/username/projects/project/index.tsx: {} /users/username/projects/project/tsconfig.json: @@ -200,6 +211,9 @@ FsWatchesRecursive *deleted*:: /users/username/projects/project: {} +Timeout callback:: count: 0 +2: timerToInvalidateFailedLookupResolutions *deleted* + Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... @@ -284,6 +298,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/index.tsx: *new* {} /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js index f75e33ef142fd..ef78aa5ab476c 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js @@ -138,6 +138,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/index.tsx: *new* {} /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts: *new* @@ -153,6 +157,9 @@ FsWatchesRecursive:: /users/username/projects/project/node_modules: *new* {} +Timeout callback:: count: 1 +2: timerToInvalidateFailedLookupResolutions *new* + Program root files: [ "/users/username/projects/project/index.tsx" ] @@ -199,6 +206,10 @@ PolledWatches *deleted*:: FsWatches *deleted*:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/project: + {} /users/username/projects/project/index.tsx: {} /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts: @@ -214,6 +225,9 @@ FsWatchesRecursive *deleted*:: /users/username/projects/project/node_modules: {} +Timeout callback:: count: 0 +2: timerToInvalidateFailedLookupResolutions *deleted* + Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... @@ -297,6 +311,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/index.tsx: *new* {} /users/username/projects/project/tsconfig.json: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js index 1780baefc6d4b..b7ee6722859e8 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js @@ -164,6 +164,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/index.tsx: *new* {} /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts: *new* @@ -179,6 +183,9 @@ FsWatchesRecursive:: /users/username/projects/project/node_modules: *new* {} +Timeout callback:: count: 1 +2: timerToInvalidateFailedLookupResolutions *new* + Program root files: [ "/users/username/projects/project/index.tsx" ] @@ -234,6 +241,10 @@ PolledWatches *deleted*:: FsWatches *deleted*:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/project: + {} /users/username/projects/project/index.tsx: {} /users/username/projects/project/node_modules/react/jsx-runtime/index.d.ts: @@ -249,6 +260,9 @@ FsWatchesRecursive *deleted*:: /users/username/projects/project/node_modules: {} +Timeout callback:: count: 0 +2: timerToInvalidateFailedLookupResolutions *deleted* + Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... @@ -378,6 +392,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/index.tsx: *new* {} /users/username/projects/project/node_modules/preact/jsx-runtime/index.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/moduleResolution/ambient-module-names-are-resolved-correctly.js b/tests/baselines/reference/tscWatch/moduleResolution/ambient-module-names-are-resolved-correctly.js index 5aa81082f4e71..a47516708b512 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/ambient-module-names-are-resolved-correctly.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/ambient-module-names-are-resolved-correctly.js @@ -73,8 +73,15 @@ CreatingProgramWith:: options: {"noEmit":true,"traceResolution":true,"watch":true,"extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/workspaces/project/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/witha/a.ts 250 undefined Source file ======== Resolving module 'mymodule' from '/home/src/workspaces/project/witha/a.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'mymodule' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/workspaces/project/witha/package.json' does not exist. +File '/home/src/workspaces/project/package.json' does not exist. +File '/home/src/workspaces/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'mymodule' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/home/src/workspaces/project/witha/node_modules/mymodule/package.json' does not exist. File '/home/src/workspaces/project/witha/node_modules/mymodule.ts' does not exist. @@ -86,8 +93,15 @@ File '/home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts' exist Resolving real path for '/home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts', result '/home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts'. ======== Module name 'mymodule' was successfully resolved to '/home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts'. ======== ======== Resolving module 'mymoduleutils' from '/home/src/workspaces/project/witha/a.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'mymoduleutils' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/workspaces/project/witha/package.json' does not exist according to earlier cached lookups. +File '/home/src/workspaces/project/package.json' does not exist according to earlier cached lookups. +File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'mymoduleutils' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/home/src/workspaces/project/witha/node_modules/mymoduleutils.ts' does not exist. File '/home/src/workspaces/project/witha/node_modules/mymoduleutils.tsx' does not exist. @@ -98,8 +112,7 @@ Directory '/home/src/workspaces/node_modules' does not exist, skipping all looku Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'mymoduleutils' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. File '/home/src/workspaces/project/witha/node_modules/mymoduleutils.js' does not exist. File '/home/src/workspaces/project/witha/node_modules/mymoduleutils.jsx' does not exist. Directory '/home/src/workspaces/project/node_modules' does not exist, skipping all lookups in it. @@ -110,17 +123,24 @@ Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'mymoduleutils' was not resolved. ======== File '/home/src/workspaces/project/witha/node_modules/mymodule/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/project/witha/node_modules/package.json' does not exist. -File '/home/src/workspaces/project/witha/package.json' does not exist. -File '/home/src/workspaces/project/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. +File '/home/src/workspaces/project/witha/package.json' does not exist according to earlier cached lookups. +File '/home/src/workspaces/project/package.json' does not exist according to earlier cached lookups. +File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/withb/b.ts 250 undefined Source file ======== Resolving module 'mymodule' from '/home/src/workspaces/project/withb/b.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'mymodule' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/workspaces/project/withb/package.json' does not exist. +File '/home/src/workspaces/project/package.json' does not exist according to earlier cached lookups. +File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'mymodule' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/home/src/workspaces/project/withb/node_modules/mymodule/package.json' does not exist. File '/home/src/workspaces/project/withb/node_modules/mymodule.ts' does not exist. @@ -132,8 +152,15 @@ File '/home/src/workspaces/project/withb/node_modules/mymodule/index.d.ts' exist Resolving real path for '/home/src/workspaces/project/withb/node_modules/mymodule/index.d.ts', result '/home/src/workspaces/project/withb/node_modules/mymodule/index.d.ts'. ======== Module name 'mymodule' was successfully resolved to '/home/src/workspaces/project/withb/node_modules/mymodule/index.d.ts'. ======== ======== Resolving module 'mymoduleutils' from '/home/src/workspaces/project/withb/b.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'mymoduleutils' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/workspaces/project/withb/package.json' does not exist according to earlier cached lookups. +File '/home/src/workspaces/project/package.json' does not exist according to earlier cached lookups. +File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'mymoduleutils' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/home/src/workspaces/project/withb/node_modules/mymoduleutils.ts' does not exist. File '/home/src/workspaces/project/withb/node_modules/mymoduleutils.tsx' does not exist. @@ -143,7 +170,7 @@ Resolution for module 'mymoduleutils' was found in cache from location '/home/sr ======== Module name 'mymoduleutils' was not resolved. ======== File '/home/src/workspaces/project/withb/node_modules/mymodule/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/project/withb/node_modules/package.json' does not exist. -File '/home/src/workspaces/project/withb/package.json' does not exist. +File '/home/src/workspaces/project/withb/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/project/package.json' does not exist according to earlier cached lookups. File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. File '/home/src/package.json' does not exist according to earlier cached lookups. @@ -153,6 +180,10 @@ FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/withb/node_modules FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/witha 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/witha 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Failed Lookup Locations @@ -217,6 +248,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} /home/src/workspaces/project/tsconfig.json: *new* {} /home/src/workspaces/project/witha/a.ts: *new* @@ -396,8 +431,15 @@ File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/withb/node_modules/mymodule/index.d.ts 250 undefined Source file Reusing resolution of module 'mymodule' from '/home/src/workspaces/project/witha/a.ts' of old program, it was successfully resolved to '/home/src/workspaces/project/witha/node_modules/mymodule/index.d.ts'. ======== Resolving module 'mymoduleutils' from '/home/src/workspaces/project/witha/a.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'mymoduleutils' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/workspaces/project/witha/package.json' does not exist according to earlier cached lookups. +File '/home/src/workspaces/project/package.json' does not exist according to earlier cached lookups. +File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'mymoduleutils' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/home/src/workspaces/project/witha/node_modules/mymoduleutils.ts' does not exist. File '/home/src/workspaces/project/witha/node_modules/mymoduleutils.tsx' does not exist. @@ -408,8 +450,7 @@ Directory '/home/src/workspaces/node_modules' does not exist, skipping all looku Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'mymoduleutils' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. File '/home/src/workspaces/project/witha/node_modules/mymoduleutils.js' does not exist. File '/home/src/workspaces/project/witha/node_modules/mymoduleutils.jsx' does not exist. Directory '/home/src/workspaces/project/node_modules' does not exist, skipping all lookups in it. @@ -427,8 +468,15 @@ File '/home/src/package.json' does not exist according to earlier cached lookups File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'mymoduleutils' from '/home/src/workspaces/project/withb/b.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'mymoduleutils' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/workspaces/project/withb/package.json' does not exist according to earlier cached lookups. +File '/home/src/workspaces/project/package.json' does not exist according to earlier cached lookups. +File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'mymoduleutils' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/home/src/workspaces/project/withb/node_modules/mymoduleutils/package.json' does not exist. File '/home/src/workspaces/project/withb/node_modules/mymoduleutils.ts' does not exist. @@ -498,6 +546,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/home/src/workspaces: + {} +/home/src/workspaces/project: + {} /home/src/workspaces/project/tsconfig.json: {} /home/src/workspaces/project/witha/a.ts: diff --git a/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js b/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js index 158541fa486f7..95277a11f3830 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js @@ -69,8 +69,10 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... ======== Resolving module 'package-b' from '/home/src/workspace/packageC/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package-b' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Found 'package.json' at '/home/src/workspace/packageC/package.json'. +Loading module 'package-b' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Found 'package.json' at '/home/src/workspace/packageC/node_modules/package-b/package.json'. File '/home/src/workspace/packageC/node_modules/package-b.ts' does not exist. @@ -86,8 +88,10 @@ File '/home/src/workspace/packageC/node_modules/package-b/index.d.ts' exists - u Resolving real path for '/home/src/workspace/packageC/node_modules/package-b/index.d.ts', result '/home/src/workspace/packageB/index.d.ts'. ======== Module name 'package-b' was successfully resolved to '/home/src/workspace/packageB/index.d.ts'. ======== ======== Resolving module 'package-a' from '/home/src/workspace/packageB/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package-a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Found 'package.json' at '/home/src/workspace/packageB/package.json'. +Loading module 'package-a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/home/src/workspace/packageB/node_modules/package-a/package.json' does not exist. File '/home/src/workspace/packageB/node_modules/package-a.ts' does not exist. @@ -99,11 +103,28 @@ File '/home/src/workspace/packageB/node_modules/package-a/index.d.ts' exists - u Resolving real path for '/home/src/workspace/packageB/node_modules/package-a/index.d.ts', result '/home/src/workspace/packageA/index.d.ts'. ======== Module name 'package-a' was successfully resolved to '/home/src/workspace/packageA/index.d.ts'. ======== ======== Resolving module 'package-b' from '/home/src/workspace/packageC/package.json'. ======== -Resolution for module 'package-b' was found in cache from location '/home/src/workspace/packageC'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'import', 'types'. +File '/home/src/workspace/packageC/package.json' exists according to earlier cached lookups. +Loading module 'package-b' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. +Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. +File '/home/src/workspace/packageC/node_modules/package-b/package.json' exists according to earlier cached lookups. +File '/home/src/workspace/packageC/node_modules/package-b.ts' does not exist. +File '/home/src/workspace/packageC/node_modules/package-b.tsx' does not exist. +File '/home/src/workspace/packageC/node_modules/package-b.d.ts' does not exist. +'package.json' does not have a 'typings' field. +'package.json' does not have a 'types' field. +'package.json' does not have a 'main' field. +File '/home/src/workspace/packageC/node_modules/package-b/index.ts' does not exist. +File '/home/src/workspace/packageC/node_modules/package-b/index.tsx' does not exist. +File '/home/src/workspace/packageC/node_modules/package-b/index.d.ts' exists - use it as a name resolution result. +Resolving real path for '/home/src/workspace/packageC/node_modules/package-b/index.d.ts', result '/home/src/workspace/packageB/index.d.ts'. ======== Module name 'package-b' was successfully resolved to '/home/src/workspace/packageB/index.d.ts'. ======== ======== Resolving module 'package-a' from '/home/src/workspace/packageC/package.json'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package-a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'import', 'types'. +File '/home/src/workspace/packageC/package.json' exists according to earlier cached lookups. +Loading module 'package-a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/home/src/workspace/packageC/node_modules/package-a/package.json' does not exist. File '/home/src/workspace/packageC/node_modules/package-a.ts' does not exist. @@ -156,6 +177,8 @@ FsWatches:: {} /home/src/workspace/packageC/index.ts: *new* {} +/home/src/workspace/packageC/package.json: *new* + {} /home/src/workspace/packageC/tsconfig.json: *new* {} @@ -225,8 +248,10 @@ Output:: Reusing resolution of module 'package-b' from '/home/src/workspace/packageC/index.ts' of old program, it was successfully resolved to '/home/src/workspace/packageB/index.d.ts'. ======== Resolving module 'package-b' from '/home/src/workspace/packageC/package.json'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package-b' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'import', 'types'. +File '/home/src/workspace/packageC/package.json' exists according to earlier cached lookups. +Loading module 'package-b' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/home/src/workspace/packageC/node_modules/package-b/package.json' exists according to earlier cached lookups. File '/home/src/workspace/packageC/node_modules/package-b.ts' does not exist. @@ -241,8 +266,10 @@ File '/home/src/workspace/packageC/node_modules/package-b/index.d.ts' exists - u Resolving real path for '/home/src/workspace/packageC/node_modules/package-b/index.d.ts', result '/home/src/workspace/packageB/index.d.ts'. ======== Module name 'package-b' was successfully resolved to '/home/src/workspace/packageB/index.d.ts'. ======== ======== Resolving module 'package-a' from '/home/src/workspace/packageC/package.json'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package-a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'import', 'types'. +File '/home/src/workspace/packageC/package.json' exists according to earlier cached lookups. +Loading module 'package-a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/home/src/workspace/packageC/node_modules/package-a/package.json' does not exist. File '/home/src/workspace/packageC/node_modules/package-a.ts' does not exist. diff --git a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js index ed8a8581d05c4..4bbf36ce5891d 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js @@ -58,8 +58,10 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. +Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/packages/pkg1/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/myproject/packages/node_modules' does not exist, skipping all lookups in it. @@ -79,8 +81,9 @@ File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exis Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/user/username/projects/myproject/packages/pkg2/build/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. @@ -117,6 +120,8 @@ FsWatches:: {} /user/username/projects/myproject/packages/pkg1/index.ts: *new* {} +/user/username/projects/myproject/packages/pkg1/package.json: *new* + {} /user/username/projects/myproject/packages/pkg1/tsconfig.json: *new* {} /user/username/projects/myproject/packages/pkg2/build/const.d.ts: *new* @@ -200,8 +205,10 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/packages/pkg1/package.json' exists according to earlier cached lookups. +Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/packages/pkg1/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/myproject/packages/node_modules' does not exist, skipping all lookups in it. @@ -250,6 +257,8 @@ FsWatches:: {} /user/username/projects/myproject/packages/pkg1/index.ts: {} +/user/username/projects/myproject/packages/pkg1/package.json: + {} /user/username/projects/myproject/packages/pkg1/tsconfig.json: {} /user/username/projects/myproject/packages/pkg2/build/other.d.ts: *new* @@ -335,8 +344,10 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/packages/pkg1/package.json' exists according to earlier cached lookups. +Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/packages/pkg1/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/myproject/packages/node_modules' does not exist, skipping all lookups in it. @@ -356,8 +367,9 @@ File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exis Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, JavaScript, Declaration, JSON. File name '/user/username/projects/myproject/packages/pkg2/build/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. @@ -388,6 +400,8 @@ FsWatches:: {} /user/username/projects/myproject/packages/pkg1/index.ts: {} +/user/username/projects/myproject/packages/pkg1/package.json: + {} /user/username/projects/myproject/packages/pkg1/tsconfig.json: {} /user/username/projects/myproject/packages/pkg2/build/const.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js index 796cb39c5a5a4..a2f7f1d42c786 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js @@ -65,7 +65,8 @@ FsWatchesRecursive:: {} Program root files: [ - "/user/username/projects/myproject/Project/file1.ts" + "/user/username/projects/myproject/Project/file1.ts", + "/user/username/projects/myproject/Project/tsconfig.json" ] Program options: { "watch": true, @@ -76,14 +77,17 @@ Program structureReused: Not Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/Project/file1.ts +/user/username/projects/myproject/Project/tsconfig.json Semantic diagnostics in builder refreshed for:: /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/Project/file1.ts +/user/username/projects/myproject/Project/tsconfig.json Shape signatures in builder refreshed for:: /home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/project/file1.ts (used version) +/user/username/projects/myproject/project/tsconfig.json (used version) exitCode:: ExitStatus.undefined @@ -143,7 +147,8 @@ FsWatchesRecursive:: Program root files: [ "/user/username/projects/myproject/Project/file1.ts", - "/user/username/projects/myproject/Project/file2.ts" + "/user/username/projects/myproject/Project/file2.ts", + "/user/username/projects/myproject/Project/tsconfig.json" ] Program options: { "watch": true, @@ -155,6 +160,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/Project/file1.ts /user/username/projects/myproject/Project/file2.ts +/user/username/projects/myproject/Project/tsconfig.json Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/Project/file2.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js b/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js index dd6638b4449c2..f16745f0fb715 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js +++ b/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js @@ -41,10 +41,11 @@ Current directory: /user/username/projects/myproject CaseSensitiveFileNames: fal FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Config file Synchronizing program CreatingProgramWith:: - roots: ["/user/username/projects/myproject/f1.ts","/user/username/projects/myproject/f2.ts"] + roots: ["/user/username/projects/myproject/f1.ts","/user/username/projects/myproject/f2.ts","/user/username/projects/myproject/tsconfig.json"] options: {"composite":true,"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/f1.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/f2.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots @@ -79,14 +80,15 @@ export declare const y = 1; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./f1.ts","./f2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10906998252-export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./f2.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./f1.ts","./f2.ts","./tsconfig.json"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10906998252-export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"},"-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}"],"root":[[2,4]],"options":{"composite":true},"latestChangedDtsFile":"./f2.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./f1.ts", - "./f2.ts" + "./f2.ts", + "./tsconfig.json" ], "fileInfos": { "../../../../home/src/tslibs/ts/lib/lib.d.ts": { @@ -113,16 +115,23 @@ export declare const y = 1; }, "version": "-10905812331-export const y = 1", "signature": "-6203665398-export declare const y = 1;\n" + }, + "./tsconfig.json": { + "version": "-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}", + "signature": "-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}" } }, "root": [ [ - 2, - "./f1.ts" - ], - [ - 3, - "./f2.ts" + [ + 2, + 4 + ], + [ + "./f1.ts", + "./f2.ts", + "./tsconfig.json" + ] ] ], "options": { @@ -130,7 +139,7 @@ export declare const y = 1; }, "latestChangedDtsFile": "./f2.d.ts", "version": "FakeTSVersion", - "size": 881 + "size": 1034 } @@ -156,7 +165,8 @@ FsWatchesRecursive:: Program root files: [ "/user/username/projects/myproject/f1.ts", - "/user/username/projects/myproject/f2.ts" + "/user/username/projects/myproject/f2.ts", + "/user/username/projects/myproject/tsconfig.json" ] Program options: { "composite": true, @@ -169,16 +179,19 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f1.ts /user/username/projects/myproject/f2.ts +/user/username/projects/myproject/tsconfig.json Semantic diagnostics in builder refreshed for:: /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f1.ts /user/username/projects/myproject/f2.ts +/user/username/projects/myproject/tsconfig.json Shape signatures in builder refreshed for:: /home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/f1.ts (computed .d.ts during emit) /user/username/projects/myproject/f2.ts (computed .d.ts during emit) +/user/username/projects/myproject/tsconfig.json (used version) exitCode:: ExitStatus.undefined @@ -209,7 +222,7 @@ Synchronizing program [HH:MM:SS AM] File change detected. Starting incremental compilation... CreatingProgramWith:: - roots: ["/user/username/projects/myproject/f1.ts","/user/username/projects/myproject/f2.ts","/user/username/projects/myproject/new-file.ts"] + roots: ["/user/username/projects/myproject/f1.ts","/user/username/projects/myproject/f2.ts","/user/username/projects/myproject/new-file.ts","/user/username/projects/myproject/tsconfig.json"] options: {"composite":true,"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/new-file.ts 250 undefined Source file DirectoryWatcher:: Triggered with /user/username/projects/myproject/new-file.js :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -223,7 +236,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./f1.ts","./f2.ts","./new-file.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10906998252-export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"},{"version":"-11960320495-export const z = 1;","signature":"-9207164725-export declare const z = 1;\n"}],"root":[[2,4]],"options":{"composite":true},"latestChangedDtsFile":"./new-file.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./f1.ts","./f2.ts","./new-file.ts","./tsconfig.json"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10906998252-export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"},{"version":"-11960320495-export const z = 1;","signature":"-9207164725-export declare const z = 1;\n"},"-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}"],"root":[[2,5]],"options":{"composite":true},"latestChangedDtsFile":"./new-file.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -231,7 +244,8 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./f1.ts", "./f2.ts", - "./new-file.ts" + "./new-file.ts", + "./tsconfig.json" ], "fileInfos": { "../../../../home/src/tslibs/ts/lib/lib.d.ts": { @@ -266,18 +280,23 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec }, "version": "-11960320495-export const z = 1;", "signature": "-9207164725-export declare const z = 1;\n" + }, + "./tsconfig.json": { + "version": "-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}", + "signature": "-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}" } }, "root": [ [ [ 2, - 4 + 5 ], [ "./f1.ts", "./f2.ts", - "./new-file.ts" + "./new-file.ts", + "./tsconfig.json" ] ] ], @@ -286,7 +305,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec }, "latestChangedDtsFile": "./new-file.d.ts", "version": "FakeTSVersion", - "size": 1008 + "size": 1159 } //// [/user/username/projects/myproject/new-file.js] @@ -327,7 +346,8 @@ FsWatchesRecursive:: Program root files: [ "/user/username/projects/myproject/f1.ts", "/user/username/projects/myproject/f2.ts", - "/user/username/projects/myproject/new-file.ts" + "/user/username/projects/myproject/new-file.ts", + "/user/username/projects/myproject/tsconfig.json" ] Program options: { "composite": true, @@ -341,6 +361,7 @@ Program files:: /user/username/projects/myproject/f1.ts /user/username/projects/myproject/f2.ts /user/username/projects/myproject/new-file.ts +/user/username/projects/myproject/tsconfig.json Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/new-file.ts @@ -376,7 +397,7 @@ Synchronizing program [HH:MM:SS AM] File change detected. Starting incremental compilation... CreatingProgramWith:: - roots: ["/user/username/projects/myproject/f1.ts","/user/username/projects/myproject/f2.ts","/user/username/projects/myproject/new-file.ts"] + roots: ["/user/username/projects/myproject/f1.ts","/user/username/projects/myproject/f2.ts","/user/username/projects/myproject/new-file.ts","/user/username/projects/myproject/tsconfig.json"] options: {"composite":true,"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -384,7 +405,7 @@ CreatingProgramWith:: //// [/user/username/projects/myproject/f1.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./new-file.ts","./f1.ts","./f2.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11960320495-export const z = 1;","signature":"-9207164725-export declare const z = 1;\n"},{"version":"1363236232-import { z } from \"./new-file\";export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"}],"root":[[2,4]],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./new-file.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./new-file.ts","./f1.ts","./f2.ts","./tsconfig.json"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11960320495-export const z = 1;","signature":"-9207164725-export declare const z = 1;\n"},{"version":"1363236232-import { z } from \"./new-file\";export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"},"-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}"],"root":[[2,5]],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./new-file.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -392,7 +413,8 @@ CreatingProgramWith:: "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./new-file.ts", "./f1.ts", - "./f2.ts" + "./f2.ts", + "./tsconfig.json" ], "fileIdsList": [ [ @@ -432,18 +454,23 @@ CreatingProgramWith:: }, "version": "-10905812331-export const y = 1", "signature": "-6203665398-export declare const y = 1;\n" + }, + "./tsconfig.json": { + "version": "-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}", + "signature": "-8420088156-{\n \"compilerOptions\": {\n \"composite\": true\n },\n \"include\": [\n \"./\",\n \"./**/*.json\"\n ]\n}" } }, "root": [ [ [ 2, - 4 + 5 ], [ "./new-file.ts", "./f1.ts", - "./f2.ts" + "./f2.ts", + "./tsconfig.json" ] ] ], @@ -457,7 +484,7 @@ CreatingProgramWith:: }, "latestChangedDtsFile": "./new-file.d.ts", "version": "FakeTSVersion", - "size": 1083 + "size": 1234 } @@ -465,7 +492,8 @@ CreatingProgramWith:: Program root files: [ "/user/username/projects/myproject/f1.ts", "/user/username/projects/myproject/f2.ts", - "/user/username/projects/myproject/new-file.ts" + "/user/username/projects/myproject/new-file.ts", + "/user/username/projects/myproject/tsconfig.json" ] Program options: { "composite": true, @@ -479,6 +507,7 @@ Program files:: /user/username/projects/myproject/new-file.ts /user/username/projects/myproject/f1.ts /user/username/projects/myproject/f2.ts +/user/username/projects/myproject/tsconfig.json Semantic diagnostics in builder refreshed for:: /user/username/projects/myproject/f1.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js index 5fb48ae24423e..1e540706c2c93 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js @@ -38,7 +38,12 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +project/tsconfig.json:3:45 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node" +   ~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -97,10 +102,7 @@ Program files:: /user/username/workspace/solution/projects/project/node_modules/module1.ts /user/username/workspace/solution/projects/project/file1.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/workspace/solution/projects/project/node_modules/module1.ts -/user/username/workspace/solution/projects/project/file1.ts +No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /home/src/tslibs/ts/lib/lib.d.ts (used version) @@ -203,6 +205,7 @@ Program files:: /user/username/workspace/solution/projects/project/file1.ts Semantic diagnostics in builder refreshed for:: +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/module1.ts /user/username/workspace/solution/projects/project/file1.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js index c31d67849dbb4..3cad9ef841629 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js @@ -34,10 +34,10 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -a.ts:1:23 - error TS2732: Cannot find module './data.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. +tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 import * as data from './data.json' -   ~~~~~~~~~~~~~ +3 "moduleResolution": "node" +   ~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -84,9 +84,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/projects/myproject/a.ts +No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /home/src/tslibs/ts/lib/lib.d.ts (used version) @@ -118,7 +116,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +3 "moduleResolution": "node", +   ~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -164,9 +167,7 @@ Program files:: /user/username/projects/myproject/data.json /user/username/projects/myproject/a.ts -Semantic diagnostics in builder refreshed for:: -/user/username/projects/myproject/data.json -/user/username/projects/myproject/a.ts +No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/data.json (computed .d.ts) diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-changing-checkJs-of-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/when-changing-checkJs-of-config-file.js index 8acfac30d9445..017c26332ee4c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-changing-checkJs-of-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-changing-checkJs-of-config-file.js @@ -40,8 +40,6 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/b.ts"] options: {"checkJs":false,"watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file -DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.js 1 undefined Failed Lookup Locations -Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.js 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file @@ -64,8 +62,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: -/user/username/projects/myproject/a.js: *new* - {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* @@ -156,8 +152,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.js 250 unde //// [/user/username/projects/myproject/b.js] file written with same contents PolledWatches:: -/user/username/projects/myproject/a.js: - {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-changing-noUncheckedSideEffectImports-of-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/when-changing-noUncheckedSideEffectImports-of-config-file.js index 5deb4e8abe2a9..2ffe72b516c56 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-changing-noUncheckedSideEffectImports-of-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-changing-noUncheckedSideEffectImports-of-config-file.js @@ -38,14 +38,20 @@ CreatingProgramWith:: options: {"noUncheckedSideEffectImports":false,"watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots +DirectoryWatcher:: Triggered with /user/username/projects/myproject/a.js :: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/a.js :: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -72,6 +78,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/a.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index 995a285414b85..ab985a40ce7a1 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -391,23 +391,26 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... ======== Resolving module '../core/index' from '/user/username/projects/sample1/tests/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/index', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/index', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/sample1/core/index.ts' exists - use it as a name resolution result. ======== Module name '../core/index' was successfully resolved to '/user/username/projects/sample1/core/index.ts'. ======== ======== Resolving module '../logic/index' from '/user/username/projects/sample1/tests/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/sample1/logic/index', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/sample1/logic/index', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/sample1/logic/index.ts' exists - use it as a name resolution result. ======== Module name '../logic/index' was successfully resolved to '/user/username/projects/sample1/logic/index.ts'. ======== ======== Resolving module '../core/anotherModule' from '/user/username/projects/sample1/tests/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/anotherModule', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/anotherModule', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/sample1/core/anotherModule.ts' exists - use it as a name resolution result. ======== Module name '../core/anotherModule' was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== ======== Resolving module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/sample1/logic/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '../core/anotherModule' was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -1001,7 +1004,7 @@ Reusing resolution of module '../logic/index' from '/user/username/projects/samp Reusing resolution of module '../core/anotherModule' from '/user/username/projects/sample1/tests/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== Resolving module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/sample1/logic/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '../core/anotherModule' was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 9fd4fb8862ce1..599751ed4af7c 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -232,28 +232,32 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. File '/user/username/projects/transitiveReferences/b.d.ts' does not exist. +File '/user/username/projects/transitiveReferences/b.js' does not exist. +File '/user/username/projects/transitiveReferences/b.jsx' does not exist. File '/user/username/projects/transitiveReferences/b/package.json' does not exist. File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it as a name resolution result. ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution '../refs/*', candidate module location: '../refs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -580,28 +584,32 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. File '/user/username/projects/transitiveReferences/b.d.ts' does not exist. +File '/user/username/projects/transitiveReferences/b.js' does not exist. +File '/user/username/projects/transitiveReferences/b.jsx' does not exist. File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it as a name resolution result. ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution '../nrefs/*', candidate module location: '../nrefs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/nrefs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/nrefs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/nrefs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/nrefs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/nrefs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/nrefs/a.d.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -757,28 +765,32 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. File '/user/username/projects/transitiveReferences/b.d.ts' does not exist. +File '/user/username/projects/transitiveReferences/b.js' does not exist. +File '/user/username/projects/transitiveReferences/b.jsx' does not exist. File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it as a name resolution result. ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution '../refs/*', candidate module location: '../refs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -938,7 +950,7 @@ Reusing resolution of module '../b' from '/user/username/projects/transitiveRefe Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/nrefs/a.d.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -1096,7 +1108,7 @@ Reusing resolution of module '../b' from '/user/username/projects/transitiveRefe Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -1228,12 +1240,13 @@ Output:: Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution '../refs/*', candidate module location: '../refs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. @@ -1399,7 +1412,7 @@ Reusing resolution of module '../b' from '/user/username/projects/transitiveRefe Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 3c9d2854b6ba2..049cb44dce21e 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -241,28 +241,32 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. File '/user/username/projects/transitiveReferences/b.d.ts' does not exist. +File '/user/username/projects/transitiveReferences/b.js' does not exist. +File '/user/username/projects/transitiveReferences/b.jsx' does not exist. File '/user/username/projects/transitiveReferences/b/package.json' does not exist. File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it as a name resolution result. ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution '../refs/*', candidate module location: '../refs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -590,28 +594,32 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. File '/user/username/projects/transitiveReferences/b.d.ts' does not exist. +File '/user/username/projects/transitiveReferences/b.js' does not exist. +File '/user/username/projects/transitiveReferences/b.jsx' does not exist. File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it as a name resolution result. ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution '../nrefs/*', candidate module location: '../nrefs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/nrefs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/nrefs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/nrefs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/nrefs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/nrefs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/nrefs/a.d.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -768,28 +776,32 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' does not exist. File '/user/username/projects/transitiveReferences/b.tsx' does not exist. File '/user/username/projects/transitiveReferences/b.d.ts' does not exist. +File '/user/username/projects/transitiveReferences/b.js' does not exist. +File '/user/username/projects/transitiveReferences/b.jsx' does not exist. File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/transitiveReferences/b/index.ts' exists - use it as a name resolution result. ======== Module name '../b' was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution '../refs/*', candidate module location: '../refs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -950,7 +962,7 @@ Reusing resolution of module '../b' from '/user/username/projects/transitiveRefe Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/nrefs/a.d.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -1111,7 +1123,7 @@ Reusing resolution of module '../b' from '/user/username/projects/transitiveRefe Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -1239,12 +1251,13 @@ Output:: Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution '../refs/*', candidate module location: '../refs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. @@ -1407,7 +1420,7 @@ Reusing resolution of module '../b' from '/user/username/projects/transitiveRefe Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index 4b5f125a98818..87bc0282490f0 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -244,24 +244,26 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... ======== Resolving module './b' from '/user/username/projects/transitiveReferences/c.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' exists - use it as a name resolution result. ======== Module name './b' was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution './refs/*', candidate module location: './refs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -580,24 +582,26 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... ======== Resolving module './b' from '/user/username/projects/transitiveReferences/c.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' exists - use it as a name resolution result. ======== Module name './b' was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution './nrefs/*', candidate module location: './nrefs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/nrefs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/nrefs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/nrefs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/nrefs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/nrefs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/nrefs/a.d.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -746,24 +750,26 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... ======== Resolving module './b' from '/user/username/projects/transitiveReferences/c.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' exists - use it as a name resolution result. ======== Module name './b' was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution './refs/*', candidate module location: './refs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -916,7 +922,7 @@ Reusing resolution of module './b' from '/user/username/projects/transitiveRefer Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/nrefs/a.d.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -1067,7 +1073,7 @@ Reusing resolution of module './b' from '/user/username/projects/transitiveRefer Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' @@ -1187,12 +1193,13 @@ Output:: Reusing resolution of module './b' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution './refs/*', candidate module location: './refs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. @@ -1344,7 +1351,7 @@ Reusing resolution of module './b' from '/user/username/projects/transitiveRefer Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js index 0d04cefe2ac12..8a730b25e7627 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js @@ -206,13 +206,15 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... ======== Resolving module '../core/index' from '/user/username/projects/sample1/logic/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/index', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/index', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/sample1/core/index.ts' exists - use it as a name resolution result. ======== Module name '../core/index' was successfully resolved to '/user/username/projects/sample1/core/index.ts'. ======== ======== Resolving module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/anotherModule', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/anotherModule', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/sample1/core/anotherModule.ts' exists - use it as a name resolution result. ======== Module name '../core/anotherModule' was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== ../../../../home/src/tslibs/TS/Lib/lib.d.ts diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index 4ae6665ff4368..88d06d18151da 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -237,17 +237,19 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... ======== Resolving module './b' from '/user/username/projects/transitiveReferences/c.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/b.ts' exists - use it as a name resolution result. ======== Module name './b' was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. ======== ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts'. ======== -Module resolution kind is not specified, using 'Node10'. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences', using this value to resolve non-relative module name '@ref/a'. 'paths' option is specified, looking for a pattern to match module name '@ref/a'. Module name '@ref/a', matched pattern '@ref/*'. Trying substitution './refs/*', candidate module location: './refs/a'. -Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, Declaration. +Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/refs/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js index e29db371a4126..07ec01b417594 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js @@ -57,6 +57,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/node_modules/somemodule/index.d.ts: *new* {} /user/username/projects/myproject/test.ts: *new* diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js index 1f92fd7792a46..eece3a5f26e1f 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js @@ -57,6 +57,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/node_modules/somemodule/index.d.ts: *new* {} /user/username/projects/myproject/test.ts: *new* diff --git a/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js b/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js index 87ece2607f85f..6c3361dc3fade 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js @@ -55,8 +55,14 @@ CreatingProgramWith:: options: {"composite":true,"traceResolution":true,"outDir":"/users/username/projects/project/outDir","watch":true,"explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/users/username/projects/project/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /users/username/projects/project/fileWithImports.ts 250 undefined Source file ======== Resolving module 'pkg0' from '/users/username/projects/project/fileWithImports.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/users/username/projects/project/package.json' does not exist. +File '/users/username/projects/package.json' does not exist. +File '/users/username/package.json' does not exist. +File '/users/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/users/username/projects/project/node_modules/pkg0/package.json' does not exist. File '/users/username/projects/project/node_modules/pkg0.ts' does not exist. @@ -68,8 +74,14 @@ File '/users/username/projects/project/node_modules/pkg0/index.d.ts' exists - us Resolving real path for '/users/username/projects/project/node_modules/pkg0/index.d.ts', result '/users/username/projects/project/node_modules/pkg0/index.d.ts'. ======== Module name 'pkg0' was successfully resolved to '/users/username/projects/project/node_modules/pkg0/index.d.ts'. ======== ======== Resolving module 'pkg1' from '/users/username/projects/project/fileWithImports.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'pkg1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'pkg1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/users/username/projects/project/node_modules/pkg1.ts' does not exist. File '/users/username/projects/project/node_modules/pkg1.tsx' does not exist. @@ -79,8 +91,7 @@ Directory '/users/username/projects/node_modules' does not exist, skipping all l Directory '/users/username/node_modules' does not exist, skipping all lookups in it. Directory '/users/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'pkg1' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. File '/users/username/projects/project/node_modules/pkg1.js' does not exist. File '/users/username/projects/project/node_modules/pkg1.jsx' does not exist. Directory '/users/username/projects/node_modules' does not exist, skipping all lookups in it. @@ -90,11 +101,11 @@ Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'pkg1' was not resolved. ======== File '/users/username/projects/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. File '/users/username/projects/project/node_modules/package.json' does not exist. -File '/users/username/projects/project/package.json' does not exist. -File '/users/username/projects/package.json' does not exist. -File '/users/username/package.json' does not exist. -File '/users/package.json' does not exist. -File '/package.json' does not exist. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg0/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /users/username/projects/project/fileWithTypeRefs.ts 250 undefined Source file ======== Resolving type reference directive 'pkg2', containing file '/users/username/projects/project/fileWithTypeRefs.ts', root directory '/users/username/projects/project/node_modules/@types,/users/username/projects/node_modules/@types,/users/username/node_modules/@types,/users/node_modules/@types,/node_modules/@types'. ======== @@ -140,6 +151,10 @@ File '/users/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg2/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file +DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg0/package.json 2000 undefined File location affecting resolution FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/package.json 2000 undefined File location affecting resolution FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined File location affecting resolution @@ -149,6 +164,8 @@ DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modu Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Type roots +DirectoryWatcher:: Triggered with /users/username/projects/project/outDir :: WatchInfo: /users/username/projects/project 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/outDir :: WatchInfo: /users/username/projects/project 0 undefined Failed Lookup Locations fileWithImports.ts:2:30 - error TS2307: Cannot find module 'pkg1' or its corresponding type declarations. 2 import type { Import1 } from "pkg1"; @@ -346,6 +363,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/fileWithImports.ts: *new* {} /users/username/projects/project/fileWithTypeRefs.ts: *new* @@ -470,8 +491,14 @@ File '/users/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module 'pkg0' from '/users/username/projects/project/fileWithImports.ts' of old program, it was successfully resolved to '/users/username/projects/project/node_modules/pkg0/index.d.ts'. ======== Resolving module 'pkg1' from '/users/username/projects/project/fileWithImports.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'pkg1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'pkg1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. File '/users/username/projects/project/node_modules/pkg1/package.json' does not exist. File '/users/username/projects/project/node_modules/pkg1.ts' does not exist. @@ -682,6 +709,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/project: + {} /users/username/projects/project/fileWithImports.ts: {} /users/username/projects/project/fileWithTypeRefs.ts: @@ -1042,6 +1073,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/project: + {} /users/username/projects/project/fileWithImports.ts: {} /users/username/projects/project/fileWithTypeRefs.ts: diff --git a/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js b/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js index 710b8c963015c..10a03f42f006f 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js @@ -36,8 +36,15 @@ CreatingProgramWith:: options: {"watch":true,"project":"/user/username/projects/myproject","traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/app.ts 250 undefined Source file ======== Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/lib/package.json' does not exist. +File '/user/username/projects/myproject/package.json' does not exist. +File '/user/username/projects/package.json' does not exist. +File '/user/username/package.json' does not exist. +File '/user/package.json' does not exist. +File '/package.json' does not exist. +Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/lib/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'myapp__ts-types' @@ -51,8 +58,7 @@ Directory '/user/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'myapp__ts-types' Directory '/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'myapp__ts-types' -Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/user/username/projects/myproject/lib/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/myproject/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/node_modules' does not exist, skipping all lookups in it. @@ -63,10 +69,14 @@ Directory '/node_modules' does not exist, skipping all lookups in it. FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -105,6 +115,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/lib/app.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* @@ -153,6 +167,9 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations sysLog:: /user/username/projects/myproject/node_modules:: Changing watcher to PresentFileSystemEntryWatcher +DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations +Scheduling invalidateFailedLookup, Cancelled earlier one +Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations @@ -188,6 +205,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/lib/app.ts: {} /user/username/projects/myproject/tsconfig.json: @@ -202,12 +223,12 @@ FsWatchesRecursive:: {} Timeout callback:: count: 2 -6: timerToInvalidateFailedLookupResolutions *new* -7: timerToUpdateProgram *new* +7: timerToInvalidateFailedLookupResolutions *new* +8: timerToUpdateProgram *new* Before running Timeout callback:: count: 2 -6: timerToInvalidateFailedLookupResolutions -7: timerToUpdateProgram +7: timerToInvalidateFailedLookupResolutions +8: timerToUpdateProgram Host is moving to new time After running Timeout callback:: count: 1 @@ -217,11 +238,11 @@ Scheduling update Timeout callback:: count: 1 -7: timerToUpdateProgram *deleted* -8: timerToUpdateProgram *new* +8: timerToUpdateProgram *deleted* +9: timerToUpdateProgram *new* Before running Timeout callback:: count: 1 -8: timerToUpdateProgram +9: timerToUpdateProgram Host is moving to new time After running Timeout callback:: count: 0 @@ -234,8 +255,15 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/lib/app.ts"] options: {"watch":true,"project":"/user/username/projects/myproject","traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ======== Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +File '/user/username/package.json' does not exist according to earlier cached lookups. +File '/user/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/lib/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'myapp__ts-types' @@ -249,8 +277,7 @@ Directory '/user/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'myapp__ts-types' Directory '/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'myapp__ts-types' -Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/user/username/projects/myproject/lib/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/projects/node_modules' does not exist, skipping all lookups in it. Directory '/user/username/node_modules' does not exist, skipping all lookups in it. @@ -318,12 +345,12 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec Timeout callback:: count: 2 -13: timerToInvalidateFailedLookupResolutions *new* -14: timerToUpdateProgram *new* +14: timerToInvalidateFailedLookupResolutions *new* +15: timerToUpdateProgram *new* Before running Timeout callback:: count: 2 -13: timerToInvalidateFailedLookupResolutions -14: timerToUpdateProgram +14: timerToInvalidateFailedLookupResolutions +15: timerToUpdateProgram Host is moving to new time After running Timeout callback:: count: 1 @@ -333,11 +360,11 @@ Scheduling update Timeout callback:: count: 1 -14: timerToUpdateProgram *deleted* -15: timerToUpdateProgram *new* +15: timerToUpdateProgram *deleted* +16: timerToUpdateProgram *new* Before running Timeout callback:: count: 1 -15: timerToUpdateProgram +16: timerToUpdateProgram Host is moving to new time After running Timeout callback:: count: 0 @@ -350,8 +377,15 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/lib/app.ts"] options: {"watch":true,"project":"/user/username/projects/myproject","traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ======== Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +File '/user/username/package.json' does not exist according to earlier cached lookups. +File '/user/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/lib/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'myapp__ts-types' @@ -368,8 +402,7 @@ Directory '/user/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'myapp__ts-types' Directory '/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'myapp__ts-types' -Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/user/username/projects/myproject/lib/node_modules' does not exist, skipping all lookups in it. File '/user/username/projects/myproject/node_modules/@myapp/ts-types.js' does not exist. File '/user/username/projects/myproject/node_modules/@myapp/ts-types.jsx' does not exist. @@ -433,12 +466,12 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec Timeout callback:: count: 2 -18: timerToInvalidateFailedLookupResolutions *new* -19: timerToUpdateProgram *new* +19: timerToInvalidateFailedLookupResolutions *new* +20: timerToUpdateProgram *new* Before running Timeout callback:: count: 2 -18: timerToInvalidateFailedLookupResolutions -19: timerToUpdateProgram +19: timerToInvalidateFailedLookupResolutions +20: timerToUpdateProgram Host is moving to new time After running Timeout callback:: count: 0 @@ -478,12 +511,12 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec Timeout callback:: count: 2 -22: timerToInvalidateFailedLookupResolutions *new* -23: timerToUpdateProgram *new* +23: timerToInvalidateFailedLookupResolutions *new* +24: timerToUpdateProgram *new* Before running Timeout callback:: count: 2 -22: timerToInvalidateFailedLookupResolutions -23: timerToUpdateProgram +23: timerToInvalidateFailedLookupResolutions +24: timerToUpdateProgram Host is moving to new time After running Timeout callback:: count: 1 @@ -493,11 +526,11 @@ Scheduling update Timeout callback:: count: 1 -23: timerToUpdateProgram *deleted* -24: timerToUpdateProgram *new* +24: timerToUpdateProgram *deleted* +25: timerToUpdateProgram *new* Before running Timeout callback:: count: 1 -24: timerToUpdateProgram +25: timerToUpdateProgram Host is moving to new time After running Timeout callback:: count: 0 @@ -510,8 +543,15 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/lib/app.ts"] options: {"watch":true,"project":"/user/username/projects/myproject","traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ======== Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +File '/user/username/package.json' does not exist according to earlier cached lookups. +File '/user/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/user/username/projects/myproject/lib/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'myapp__ts-types' @@ -527,11 +567,11 @@ Resolving real path for '/user/username/projects/myproject/node_modules/@myapp/t File '/user/username/projects/myproject/node_modules/@myapp/ts-types/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/myproject/node_modules/@myapp/package.json' does not exist. File '/user/username/projects/myproject/node_modules/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. +File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +File '/user/username/package.json' does not exist according to earlier cached lookups. +File '/user/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@myapp/ts-types/package.json 2000 undefined File location affecting resolution FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@myapp/package.json 2000 undefined File location affecting resolution @@ -569,6 +609,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/lib/app.ts: {} /user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/resolutionCache/when-dir-watcher-is-invoked-without-file-change.js b/tests/baselines/reference/tscWatch/resolutionCache/when-dir-watcher-is-invoked-without-file-change.js index 7e5c888bf6c49..ad70e5f98b999 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/when-dir-watcher-is-invoked-without-file-change.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/when-dir-watcher-is-invoked-without-file-change.js @@ -39,11 +39,14 @@ CreatingProgramWith:: options: {"watch":true,"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/home/src/workspaces/project/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/main.ts 250 undefined Source file ======== Resolving module './app/services/generated' from '/home/src/workspaces/project/src/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/workspaces/project/src/app/services/generated', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/workspaces/project/src/app/services/generated', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/project/src/app/services/generated.ts' does not exist. File '/home/src/workspaces/project/src/app/services/generated.tsx' does not exist. File '/home/src/workspaces/project/src/app/services/generated.d.ts' does not exist. +File '/home/src/workspaces/project/src/app/services/generated.js' does not exist. +File '/home/src/workspaces/project/src/app/services/generated.jsx' does not exist. File '/home/src/workspaces/project/src/app/services/generated/package.json' does not exist. File '/home/src/workspaces/project/src/app/services/generated/index.ts' exists - use it as a name resolution result. ======== Module name './app/services/generated' was successfully resolved to '/home/src/workspaces/project/src/app/services/generated/index.ts'. ======== @@ -178,13 +181,12 @@ CreatingProgramWith:: roots: ["/home/src/workspaces/project/src/main.ts"] options: {"watch":true,"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/home/src/workspaces/project/tsconfig.json"} ======== Resolving module './app/services/generated' from '/home/src/workspaces/project/src/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/workspaces/project/src/app/services/generated', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/workspaces/project/src/app/services/generated', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/project/src/app/services/generated.ts' does not exist. File '/home/src/workspaces/project/src/app/services/generated.tsx' does not exist. File '/home/src/workspaces/project/src/app/services/generated.d.ts' does not exist. -Directory '/home/src/workspaces/project/src/app/services/generated' does not exist, skipping all lookups in it. -Loading module as file / folder, candidate module location '/home/src/workspaces/project/src/app/services/generated', target file types: JavaScript. File '/home/src/workspaces/project/src/app/services/generated.js' does not exist. File '/home/src/workspaces/project/src/app/services/generated.jsx' does not exist. Directory '/home/src/workspaces/project/src/app/services/generated' does not exist, skipping all lookups in it. @@ -300,11 +302,14 @@ CreatingProgramWith:: roots: ["/home/src/workspaces/project/src/main.ts","/home/src/workspaces/project/src/app/services/generated/index.ts"] options: {"watch":true,"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/home/src/workspaces/project/tsconfig.json"} ======== Resolving module './app/services/generated' from '/home/src/workspaces/project/src/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/workspaces/project/src/app/services/generated', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/workspaces/project/src/app/services/generated', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/workspaces/project/src/app/services/generated.ts' does not exist. File '/home/src/workspaces/project/src/app/services/generated.tsx' does not exist. File '/home/src/workspaces/project/src/app/services/generated.d.ts' does not exist. +File '/home/src/workspaces/project/src/app/services/generated.js' does not exist. +File '/home/src/workspaces/project/src/app/services/generated.jsx' does not exist. File '/home/src/workspaces/project/src/app/services/generated/package.json' does not exist. File '/home/src/workspaces/project/src/app/services/generated/index.ts' exists - use it as a name resolution result. ======== Module name './app/services/generated' was successfully resolved to '/home/src/workspaces/project/src/app/services/generated/index.ts'. ======== diff --git a/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js b/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js index 7526dc757b21e..68bc3b96ae3c6 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js @@ -53,7 +53,12 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:4:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +4 "moduleResolution": "node", +   ~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -111,11 +116,7 @@ Program files:: /user/username/projects/myproject/linked-package/dist/index.d.ts /user/username/projects/myproject/main/index.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/projects/myproject/linked-package/dist/other.d.ts -/user/username/projects/myproject/linked-package/dist/index.d.ts -/user/username/projects/myproject/main/index.ts +No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /home/src/tslibs/ts/lib/lib.d.ts (used version) diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js index c561e43bc76e3..b6f8abae226b6 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js @@ -64,6 +64,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/bar.d.ts: *new* {} /users/username/projects/project/foo.ts: *new* diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js index 0a2078e8d8939..90b848037658b 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js @@ -52,6 +52,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/project: *new* + {} /users/username/projects/project/foo.ts: *new* {} @@ -115,6 +119,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/project: + {} /users/username/projects/project/foo.ts: {} @@ -125,12 +133,12 @@ FsWatchesRecursive:: {} Timeout callback:: count: 2 -14: timerToUpdateProgram *new* -16: timerToInvalidateFailedLookupResolutions *new* +15: timerToUpdateProgram *new* +17: timerToInvalidateFailedLookupResolutions *new* Before running Timeout callback:: count: 2 -14: timerToUpdateProgram -16: timerToInvalidateFailedLookupResolutions +15: timerToUpdateProgram +17: timerToInvalidateFailedLookupResolutions Host is moving to new time After running Timeout callback:: count: 0 @@ -153,6 +161,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/project: + {} /users/username/projects/project/foo.ts: {} /users/username/projects/project/node_modules/@types/node/index.d.ts: *new* @@ -167,7 +179,7 @@ FsWatchesRecursive:: {} Timeout callback:: count: 0 -16: timerToInvalidateFailedLookupResolutions *deleted* +17: timerToInvalidateFailedLookupResolutions *deleted* Program root files: [ diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js index b1ef540281c9d..10c073a60983f 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js @@ -55,6 +55,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/a.ts: *new* {} @@ -107,6 +111,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/a.ts: {} @@ -118,11 +126,11 @@ FsWatchesRecursive:: Timeout callback:: count: 2 7: timerToUpdateProgram *new* -10: timerToInvalidateFailedLookupResolutions *new* +12: timerToInvalidateFailedLookupResolutions *new* Before running Timeout callback:: count: 2 7: timerToUpdateProgram -10: timerToInvalidateFailedLookupResolutions +12: timerToInvalidateFailedLookupResolutions After running Timeout callback:: count: 0 Output:: @@ -156,6 +164,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/a.ts: {} /user/username/projects/myproject/node_modules/@types/qqq/index.d.ts: *new* @@ -168,7 +180,7 @@ FsWatchesRecursive:: {} Timeout callback:: count: 0 -10: timerToInvalidateFailedLookupResolutions *deleted* +12: timerToInvalidateFailedLookupResolutions *deleted* Program root files: [ diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js index c2667fddafd1d..be9487bc4dec0 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js @@ -43,7 +43,12 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +src/tsconfig.json:6:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "moduleResolution": "node", +   ~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -121,11 +126,7 @@ Program files:: /a/b/projects/myProject/src/file1.ts /a/b/projects/myProject/src/file2.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/a/b/projects/myProject/node_modules/module1/index.js -/a/b/projects/myProject/src/file1.ts -/a/b/projects/myProject/src/file2.ts +No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /home/src/tslibs/ts/lib/lib.d.ts (used version) @@ -156,7 +157,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +src/tsconfig.json:6:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +6 "moduleResolution": "node", +   ~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -191,8 +197,7 @@ Program files:: /a/b/projects/myProject/src/file1.ts /a/b/projects/myProject/src/file2.ts -Semantic diagnostics in builder refreshed for:: -/a/b/projects/myProject/src/file1.ts +No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /a/b/projects/myproject/src/file1.ts (computed .d.ts) diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index ae9d48cc696d8..73b9545e84849 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -318,6 +318,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/index.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index eb97c021c9a33..5654bfe417b1c 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -330,6 +330,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/index.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js index 88c5a71ac1783..34b69236773bb 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js @@ -174,6 +174,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/index.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* @@ -197,6 +205,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Timeout callback:: count: 1 +2: timerToInvalidateFailedLookupResolutions *new* + Program root files: [ "/user/username/projects/myproject/packages/A/src/index.ts" ] diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index 0cf28779e8692..a59470301df7a 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -318,6 +318,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/index.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 901d792e3a519..647d144f6c8b8 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -330,6 +330,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/index.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js index d7a2fde246473..12c2638abb2ee 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js @@ -174,6 +174,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/index.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* @@ -197,6 +205,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Timeout callback:: count: 1 +2: timerToInvalidateFailedLookupResolutions *new* + Program root files: [ "/user/username/projects/myproject/packages/A/src/index.ts" ] diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js index ea83038033711..bb9de8700cbcc 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js @@ -172,6 +172,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/index.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* @@ -195,6 +203,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Timeout callback:: count: 1 +2: timerToInvalidateFailedLookupResolutions *new* + Program root files: [ "/user/username/projects/myproject/packages/A/src/index.ts" ] diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js index 492e76e1b557f..d73a1a623c0d5 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js @@ -172,6 +172,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/index.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* @@ -195,6 +203,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Timeout callback:: count: 1 +2: timerToInvalidateFailedLookupResolutions *new* + Program root files: [ "/user/username/projects/myproject/packages/A/src/index.ts" ] diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index ea563efd88c29..e63d2d443e8bb 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -315,6 +315,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/test.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index 3a6a5fbd503b1..1fb10cbbde7ba 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -327,6 +327,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/test.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js index 57d6f419ea5ba..10f6420bd547a 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js @@ -171,6 +171,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/test.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* @@ -192,6 +200,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Timeout callback:: count: 1 +2: timerToInvalidateFailedLookupResolutions *new* + Program root files: [ "/user/username/projects/myproject/packages/A/src/test.ts" ] diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index b9f1a557b2644..1302f51796485 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -315,6 +315,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/test.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 731440b5796f8..23df8bbcac780 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -327,6 +327,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/test.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js index 711b7f3eb64dd..093806ede8e19 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js @@ -171,6 +171,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/test.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* @@ -192,6 +200,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Timeout callback:: count: 1 +2: timerToInvalidateFailedLookupResolutions *new* + Program root files: [ "/user/username/projects/myproject/packages/A/src/test.ts" ] diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js index ea538fcbaf55a..0e5d67ac7bd2f 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js @@ -169,6 +169,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/test.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* @@ -190,6 +198,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Timeout callback:: count: 1 +2: timerToInvalidateFailedLookupResolutions *new* + Program root files: [ "/user/username/projects/myproject/packages/A/src/test.ts" ] diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js index dec32a8774cf1..7abd588f7f0d0 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js @@ -169,6 +169,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/src/test.ts: *new* {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* @@ -190,6 +198,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/packages/B/src: *new* {} +Timeout callback:: count: 1 +2: timerToInvalidateFailedLookupResolutions *new* + Program root files: [ "/user/username/projects/myproject/packages/A/src/test.ts" ] diff --git a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-Linux.js b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-Linux.js index 732809f0e0d0a..56648b9eee44f 100644 --- a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-Linux.js +++ b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-Linux.js @@ -95,8 +95,11 @@ CreatingProgramWith:: options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/index.ts 250 undefined Source file ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist. +Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -120,8 +123,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -130,7 +132,7 @@ File '/home/src/projects/project/node_modules/package1.js' does not exist. File '/home/src/projects/project/node_modules/package1.jsx' does not exist. 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/package1/index.js' does not exist. File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -138,30 +140,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/node_modules/package1.ts' does not exist. -File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' does not have a 'types' field. -'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Failed Lookup Locations @@ -176,6 +154,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/pa Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations +FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined File location affecting resolution FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots @@ -243,6 +222,8 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: *new* {"inode":121} +/home/src/projects/project/packages/package2/package.json: *new* + {"inode":12} /home/src/projects/project/packages/package2/src: *new* {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: *new* @@ -364,6 +345,8 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":121} +/home/src/projects/project/packages/package2/package.json: + {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -402,8 +385,11 @@ CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -476,6 +462,8 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":121} +/home/src/projects/project/packages/package2/package.json: + {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -569,6 +557,8 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":121} +/home/src/projects/project/packages/package2/package.json: + {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -602,8 +592,11 @@ CreatingProgramWith:: options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -626,8 +619,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -636,7 +628,7 @@ File '/home/src/projects/project/node_modules/package1.js' does not exist. File '/home/src/projects/project/node_modules/package1.jsx' does not exist. 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/package1/index.js' does not exist. File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -644,30 +636,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/node_modules/package1.ts' does not exist. -File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' does not have a 'types' field. -'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations @@ -730,6 +698,8 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":121} +/home/src/projects/project/packages/package2/package.json: + {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -806,8 +776,11 @@ CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -831,8 +804,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -841,7 +813,7 @@ File '/home/src/projects/project/node_modules/package1.js' does not exist. File '/home/src/projects/project/node_modules/package1.jsx' does not exist. 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/package1/index.js' does not exist. File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -849,30 +821,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/node_modules/package1.ts' does not exist. -File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' does not have a 'types' field. -'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== packages/package2/src/index.ts:1:34 - error TS2307: Cannot find module 'package1' or its corresponding type declarations. @@ -990,6 +938,8 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":121} +/home/src/projects/project/packages/package2/package.json: + {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -1028,8 +978,11 @@ CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -1102,6 +1055,8 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":121} +/home/src/projects/project/packages/package2/package.json: + {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: diff --git a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js index d3cdea065696d..40a12433024a2 100644 --- a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js +++ b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js @@ -119,8 +119,11 @@ CreatingProgramWith:: options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/index.ts 250 undefined Source file ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist. +Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -152,6 +155,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations +FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined File location affecting resolution FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots @@ -216,6 +220,8 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: *new* {"inode":126} +/home/src/projects/project/packages/package2/package.json: *new* + {"inode":12} /home/src/projects/project/packages/package2/src: *new* {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: *new* @@ -310,6 +316,8 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":126} +/home/src/projects/project/packages/package2/package.json: + {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -343,8 +351,11 @@ CreatingProgramWith:: options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -367,8 +378,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -377,7 +387,7 @@ File '/home/src/projects/project/node_modules/package1.js' does not exist. File '/home/src/projects/project/node_modules/package1.jsx' does not exist. 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/package1/index.js' does not exist. File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -385,30 +395,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/node_modules/package1.ts' does not exist. -File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' does not have a 'types' field. -'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations @@ -474,6 +460,8 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":126} +/home/src/projects/project/packages/package2/package.json: + {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -550,8 +538,11 @@ CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -575,8 +566,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -585,7 +575,7 @@ File '/home/src/projects/project/node_modules/package1.js' does not exist. File '/home/src/projects/project/node_modules/package1.jsx' does not exist. 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/package1/index.js' does not exist. File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -593,30 +583,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/node_modules/package1.ts' does not exist. -File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' does not have a 'types' field. -'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== packages/package2/src/index.ts:1:34 - error TS2307: Cannot find module 'package1' or its corresponding type declarations. @@ -734,6 +700,8 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":126} +/home/src/projects/project/packages/package2/package.json: + {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -772,8 +740,11 @@ CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -846,6 +817,8 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":126} +/home/src/projects/project/packages/package2/package.json: + {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: diff --git a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built.js b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built.js index 5a4cef48cb71c..c0fc5eaf79134 100644 --- a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built.js +++ b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built.js @@ -119,8 +119,11 @@ CreatingProgramWith:: options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/index.ts 250 undefined Source file ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist. +Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -152,6 +155,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations +FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined File location affecting resolution FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots @@ -202,6 +206,8 @@ FsWatches:: {} /home/src/projects/project/packages/package1/package.json: *new* {} +/home/src/projects/project/packages/package2/package.json: *new* + {} /home/src/projects/project/packages/package2/src/index.ts: *new* {} /home/src/projects/project/packages/package2/tsconfig.json: *new* @@ -296,8 +302,11 @@ CreatingProgramWith:: options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -321,8 +330,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -331,7 +339,7 @@ File '/home/src/projects/project/node_modules/package1.js' does not exist. File '/home/src/projects/project/node_modules/package1.jsx' does not exist. 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/package1/index.js' does not exist. File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -339,30 +347,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/node_modules/package1.ts' does not exist. -File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' does not have a 'types' field. -'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations @@ -401,6 +385,8 @@ PolledWatches:: FsWatches:: /home/src/projects/project/packages/package1/package.json: {} +/home/src/projects/project/packages/package2/package.json: + {} /home/src/projects/project/packages/package2/src/index.ts: {} /home/src/projects/project/packages/package2/tsconfig.json: @@ -515,8 +501,11 @@ CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -575,6 +564,8 @@ FsWatches:: {} /home/src/projects/project/packages/package1/package.json: {} +/home/src/projects/project/packages/package2/package.json: + {} /home/src/projects/project/packages/package2/src/index.ts: {} /home/src/projects/project/packages/package2/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked.js b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked.js index c86333f8ff470..1db4129dd8112 100644 --- a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked.js +++ b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked.js @@ -95,8 +95,11 @@ CreatingProgramWith:: options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/index.ts 250 undefined Source file ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist. +Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -120,8 +123,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -130,7 +132,7 @@ File '/home/src/projects/project/node_modules/package1.js' does not exist. File '/home/src/projects/project/node_modules/package1.jsx' does not exist. 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/package1/index.js' does not exist. File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -138,30 +140,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/node_modules/package1.ts' does not exist. -File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' does not have a 'types' field. -'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Failed Lookup Locations @@ -176,6 +154,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/pa Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations +FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined File location affecting resolution FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots @@ -231,6 +210,8 @@ PolledWatches:: FsWatches:: /home/src/projects/project/packages/package1/package.json: *new* {} +/home/src/projects/project/packages/package2/package.json: *new* + {} /home/src/projects/project/packages/package2/src/index.ts: *new* {} /home/src/projects/project/packages/package2/tsconfig.json: *new* @@ -356,8 +337,11 @@ CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -416,6 +400,8 @@ FsWatches:: {} /home/src/projects/project/packages/package1/package.json: {} +/home/src/projects/project/packages/package2/package.json: + {} /home/src/projects/project/packages/package2/src/index.ts: {} /home/src/projects/project/packages/package2/tsconfig.json: @@ -513,8 +499,11 @@ CreatingProgramWith:: options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -538,8 +527,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -548,7 +536,7 @@ File '/home/src/projects/project/node_modules/package1.js' does not exist. File '/home/src/projects/project/node_modules/package1.jsx' does not exist. 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. File '/home/src/projects/project/node_modules/package1/index.js' does not exist. File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -556,30 +544,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/node_modules/package1.ts' does not exist. -File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' does not have a 'types' field. -'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations @@ -618,6 +582,8 @@ PolledWatches:: FsWatches:: /home/src/projects/project/packages/package1/package.json: {} +/home/src/projects/project/packages/package2/package.json: + {} /home/src/projects/project/packages/package2/src/index.ts: {} /home/src/projects/project/packages/package2/tsconfig.json: @@ -732,8 +698,11 @@ CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -792,6 +761,8 @@ FsWatches:: {} /home/src/projects/project/packages/package1/package.json: {} +/home/src/projects/project/packages/package2/package.json: + {} /home/src/projects/project/packages/package2/src/index.ts: {} /home/src/projects/project/packages/package2/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Linux.js b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Linux.js index cba117588b270..0fd508fc2f919 100644 --- a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Linux.js +++ b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Linux.js @@ -101,8 +101,18 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src/index.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist. +File '/home/src/projects/b/2/b-impl/package.json' does not exist. +File '/home/src/projects/b/2/package.json' does not exist. +File '/home/src/projects/b/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -125,8 +135,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'a' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/node_modules/a.js' does not exist. @@ -141,33 +150,18 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' has 'types' field './lib/index.d.ts' that references '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts'. -Loading module as file / folder, candidate module location '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts', target file types: TypeScript, Declaration. -File name '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts' has a '.d.ts' extension - stripping it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.d.ts' does not exist. -Directory '/home/src/projects/b/2/b-impl/b/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/b-impl/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Failed Lookup Locations @@ -180,6 +174,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Type roots @@ -191,6 +187,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots +DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations src/index.ts:1:19 - error TS2307: Cannot find module 'a' or its corresponding type declarations. 1 import { a } from 'a'; @@ -233,6 +231,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {"inode":3} /home/src/projects/a/1/a-impl/a: *new* {"inode":19} /home/src/projects/a/1/a-impl/a/node_modules: *new* @@ -241,6 +241,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: *new* {"inode":20} +/home/src/projects/b: *new* + {"inode":30} +/home/src/projects/b/2: *new* + {"inode":31} +/home/src/projects/b/2/b-impl: *new* + {"inode":32} +/home/src/projects/b/2/b-impl/b: *new* + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: *new* {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* @@ -457,6 +465,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib: *new* @@ -467,6 +477,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: {"inode":20} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: @@ -509,8 +527,18 @@ CreatingProgramWith:: roots: ["/home/src/projects/b/2/b-impl/b/src/index.ts"] options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -526,8 +554,9 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde ======== Module name 'a' was successfully resolved to '/home/src/projects/a/1/a-impl/a/lib/index.d.ts' with Package ID 'a/lib/index.d.ts@1.0.0'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name resolution result. @@ -535,8 +564,11 @@ File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'c' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. +Found 'package.json' at '/home/src/projects/a/1/a-impl/a/package.json'. +Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/a/1/a-impl/a/lib/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/a/1/a-impl/a/node_modules/c/package.json'. @@ -553,8 +585,9 @@ Resolving real path for '/home/src/projects/a/1/a-impl/a/node_modules/c/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name resolution result. @@ -620,6 +653,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib: {"inode":153} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* @@ -630,6 +665,14 @@ FsWatches:: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/src: @@ -837,10 +880,20 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/src: @@ -886,8 +939,18 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} FileWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. @@ -909,8 +972,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'a' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/node_modules/a.js' does not exist. @@ -925,29 +987,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' has 'types' field './lib/index.d.ts' that references '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts'. -Loading module as file / folder, candidate module location '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts', target file types: TypeScript, Declaration. -File name '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts' has a '.d.ts' extension - stripping it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.d.ts' does not exist. -Directory '/home/src/projects/b/2/b-impl/b/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/b-impl/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file @@ -1023,6 +1062,8 @@ PolledWatches *deleted*:: {"pollingInterval":250} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a: *new* {"inode":19} /home/src/projects/a/1/a-impl/a/node_modules: @@ -1031,6 +1072,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: *new* {"inode":20} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* @@ -1236,6 +1285,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib: *new* @@ -1246,6 +1297,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: {"inode":20} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: @@ -1288,8 +1347,18 @@ CreatingProgramWith:: roots: ["/home/src/projects/b/2/b-impl/b/src/index.ts"] options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -1305,8 +1374,9 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde ======== Module name 'a' was successfully resolved to '/home/src/projects/a/1/a-impl/a/lib/index.d.ts' with Package ID 'a/lib/index.d.ts@1.0.0'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name resolution result. @@ -1314,8 +1384,11 @@ File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'c' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. +File '/home/src/projects/a/1/a-impl/a/package.json' exists according to earlier cached lookups. +Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/a/1/a-impl/a/lib/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/a/1/a-impl/a/node_modules/c/package.json' exists according to earlier cached lookups. @@ -1330,8 +1403,9 @@ Resolving real path for '/home/src/projects/a/1/a-impl/a/node_modules/c/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name resolution result. @@ -1397,6 +1471,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib: {"inode":169} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* @@ -1407,6 +1483,14 @@ FsWatches:: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/src: diff --git a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-MacOs.js b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-MacOs.js index 4cd4e68cfdfb5..38d589d6d754f 100644 --- a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-MacOs.js +++ b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-MacOs.js @@ -101,8 +101,18 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src/index.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist. +File '/home/src/projects/b/2/b-impl/package.json' does not exist. +File '/home/src/projects/b/2/package.json' does not exist. +File '/home/src/projects/b/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -125,8 +135,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'a' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/node_modules/a.js' does not exist. @@ -141,33 +150,18 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' has 'types' field './lib/index.d.ts' that references '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts'. -Loading module as file / folder, candidate module location '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts', target file types: TypeScript, Declaration. -File name '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts' has a '.d.ts' extension - stripping it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.d.ts' does not exist. -Directory '/home/src/projects/b/2/b-impl/b/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/b-impl/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Failed Lookup Locations @@ -180,6 +174,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Type roots @@ -191,6 +187,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots +DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations src/index.ts:1:19 - error TS2307: Cannot find module 'a' or its corresponding type declarations. 1 import { a } from 'a'; @@ -233,8 +231,18 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {"inode":3} /home/src/projects/a/1/a-impl/a/package.json: *new* {"inode":24} +/home/src/projects/b: *new* + {"inode":30} +/home/src/projects/b/2: *new* + {"inode":31} +/home/src/projects/b/2/b-impl: *new* + {"inode":32} +/home/src/projects/b/2/b-impl/b: *new* + {"inode":33} /home/src/projects/b/2/b-impl/b/src/index.ts: *new* {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* @@ -468,8 +476,18 @@ CreatingProgramWith:: roots: ["/home/src/projects/b/2/b-impl/b/src/index.ts"] options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -485,8 +503,9 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde ======== Module name 'a' was successfully resolved to '/home/src/projects/a/1/a-impl/a/lib/index.d.ts' with Package ID 'a/lib/index.d.ts@1.0.0'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name resolution result. @@ -494,8 +513,11 @@ File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'c' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. +Found 'package.json' at '/home/src/projects/a/1/a-impl/a/package.json'. +Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/a/1/a-impl/a/lib/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/a/1/a-impl/a/node_modules/c/package.json'. @@ -512,8 +534,9 @@ Resolving real path for '/home/src/projects/a/1/a-impl/a/node_modules/c/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name resolution result. @@ -579,12 +602,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {"inode":155} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {"inode":157} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/src/index.ts: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: @@ -814,8 +847,18 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/src/index.ts: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: @@ -865,8 +908,18 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} FileWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. @@ -888,8 +941,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'a' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/node_modules/a.js' does not exist. @@ -904,29 +956,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' has 'types' field './lib/index.d.ts' that references '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts'. -Loading module as file / folder, candidate module location '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts', target file types: TypeScript, Declaration. -File name '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts' has a '.d.ts' extension - stripping it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.d.ts' does not exist. -Directory '/home/src/projects/b/2/b-impl/b/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/b-impl/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file @@ -998,8 +1027,18 @@ PolledWatches *deleted*:: {"pollingInterval":250} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/src/index.ts: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: @@ -1211,8 +1250,18 @@ CreatingProgramWith:: roots: ["/home/src/projects/b/2/b-impl/b/src/index.ts"] options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -1228,8 +1277,9 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde ======== Module name 'a' was successfully resolved to '/home/src/projects/a/1/a-impl/a/lib/index.d.ts' with Package ID 'a/lib/index.d.ts@1.0.0'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name resolution result. @@ -1237,8 +1287,11 @@ File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'c' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. +File '/home/src/projects/a/1/a-impl/a/package.json' exists according to earlier cached lookups. +Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/a/1/a-impl/a/lib/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/a/1/a-impl/a/node_modules/c/package.json' exists according to earlier cached lookups. @@ -1253,8 +1306,9 @@ Resolving real path for '/home/src/projects/a/1/a-impl/a/node_modules/c/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name resolution result. @@ -1320,12 +1374,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {"inode":171} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {"inode":173} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/src/index.ts: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Windows.js b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Windows.js index f3e45977b87f4..6076290fcbad7 100644 --- a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Windows.js +++ b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-Windows.js @@ -101,8 +101,18 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src/index.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist. +File '/home/src/projects/b/2/b-impl/package.json' does not exist. +File '/home/src/projects/b/2/package.json' does not exist. +File '/home/src/projects/b/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -125,8 +135,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'a' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/node_modules/a.js' does not exist. @@ -141,33 +150,18 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' has 'types' field './lib/index.d.ts' that references '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts'. -Loading module as file / folder, candidate module location '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts', target file types: TypeScript, Declaration. -File name '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts' has a '.d.ts' extension - stripping it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.d.ts' does not exist. -Directory '/home/src/projects/b/2/b-impl/b/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/b-impl/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Failed Lookup Locations @@ -180,6 +174,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefi Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Type roots @@ -191,6 +187,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots +DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations src/index.ts:1:19 - error TS2307: Cannot find module 'a' or its corresponding type declarations. 1 import { a } from 'a'; @@ -233,8 +231,18 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} /home/src/projects/a/1/a-impl/a/package.json: *new* {} +/home/src/projects/b: *new* + {} +/home/src/projects/b/2: *new* + {} +/home/src/projects/b/2/b-impl: *new* + {} +/home/src/projects/b/2/b-impl/b: *new* + {} /home/src/projects/b/2/b-impl/b/src/index.ts: *new* {} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* @@ -468,8 +476,18 @@ CreatingProgramWith:: roots: ["/home/src/projects/b/2/b-impl/b/src/index.ts"] options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -485,8 +503,9 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde ======== Module name 'a' was successfully resolved to '/home/src/projects/a/1/a-impl/a/lib/index.d.ts' with Package ID 'a/lib/index.d.ts@1.0.0'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name resolution result. @@ -494,8 +513,11 @@ File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'c' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. +Found 'package.json' at '/home/src/projects/a/1/a-impl/a/package.json'. +Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/a/1/a-impl/a/lib/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/a/1/a-impl/a/node_modules/c/package.json'. @@ -512,8 +534,9 @@ Resolving real path for '/home/src/projects/a/1/a-impl/a/node_modules/c/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name resolution result. @@ -579,12 +602,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {} /home/src/projects/a/1/a-impl/a/package.json: {} +/home/src/projects/b: + {} +/home/src/projects/b/2: + {} +/home/src/projects/b/2/b-impl: + {} +/home/src/projects/b/2/b-impl/b: + {} /home/src/projects/b/2/b-impl/b/src/index.ts: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: @@ -805,8 +838,18 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} FileWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. @@ -828,8 +871,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'a' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/node_modules/a.js' does not exist. @@ -844,29 +886,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' has 'types' field './lib/index.d.ts' that references '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts'. -Loading module as file / folder, candidate module location '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts', target file types: TypeScript, Declaration. -File name '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts' has a '.d.ts' extension - stripping it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.d.ts' does not exist. -Directory '/home/src/projects/b/2/b-impl/b/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/b-impl/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file @@ -930,8 +949,18 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} /home/src/projects/a/1/a-impl/a/package.json: {} +/home/src/projects/b: + {} +/home/src/projects/b/2: + {} +/home/src/projects/b/2/b-impl: + {} +/home/src/projects/b/2/b-impl/b: + {} /home/src/projects/b/2/b-impl/b/src/index.ts: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: @@ -1151,8 +1180,18 @@ CreatingProgramWith:: roots: ["/home/src/projects/b/2/b-impl/b/src/index.ts"] options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -1168,8 +1207,9 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde ======== Module name 'a' was successfully resolved to '/home/src/projects/a/1/a-impl/a/lib/index.d.ts' with Package ID 'a/lib/index.d.ts@1.0.0'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name resolution result. @@ -1177,8 +1217,11 @@ File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'c' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. +File '/home/src/projects/a/1/a-impl/a/package.json' exists according to earlier cached lookups. +Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/a/1/a-impl/a/lib/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/a/1/a-impl/a/node_modules/c/package.json' exists according to earlier cached lookups. @@ -1193,8 +1236,9 @@ Resolving real path for '/home/src/projects/a/1/a-impl/a/node_modules/c/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name resolution result. @@ -1260,12 +1304,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {} /home/src/projects/a/1/a-impl/a/package.json: {} +/home/src/projects/b: + {} +/home/src/projects/b/2: + {} +/home/src/projects/b/2/b-impl: + {} +/home/src/projects/b/2/b-impl/b: + {} /home/src/projects/b/2/b-impl/b/src/index.ts: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Linux.js b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Linux.js index 4179987a114b6..cd495c64f1303 100644 --- a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Linux.js +++ b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Linux.js @@ -199,8 +199,18 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src/index.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist. +File '/home/src/projects/b/2/b-impl/package.json' does not exist. +File '/home/src/projects/b/2/package.json' does not exist. +File '/home/src/projects/b/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -216,8 +226,9 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde ======== Module name 'a' was successfully resolved to '/home/src/projects/a/1/a-impl/a/lib/index.d.ts' with Package ID 'a/lib/index.d.ts@1.0.0'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name resolution result. @@ -225,8 +236,11 @@ File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'c' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. +Found 'package.json' at '/home/src/projects/a/1/a-impl/a/package.json'. +Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/a/1/a-impl/a/lib/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/a/1/a-impl/a/node_modules/c/package.json'. @@ -243,8 +257,9 @@ Resolving real path for '/home/src/projects/a/1/a-impl/a/node_modules/c/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name resolution result. @@ -255,8 +270,18 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Failed Lookup Locations @@ -273,6 +298,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots +DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations ../../../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' ../../../../a/1/a-impl/a/lib/a.d.ts @@ -312,6 +339,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {"inode":3} /home/src/projects/a/1/a-impl/a/lib: *new* {"inode":149} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* @@ -322,6 +351,14 @@ FsWatches:: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: *new* {"inode":24} +/home/src/projects/b: *new* + {"inode":30} +/home/src/projects/b/2: *new* + {"inode":31} +/home/src/projects/b/2/b-impl: *new* + {"inode":32} +/home/src/projects/b/2/b-impl/b: *new* + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: *new* {"inode":37} /home/src/projects/b/2/b-impl/b/src: *new* @@ -558,10 +595,20 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/src: @@ -607,8 +654,18 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} FileWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. @@ -630,8 +687,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'a' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/node_modules/a.js' does not exist. @@ -646,29 +702,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' has 'types' field './lib/index.d.ts' that references '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts'. -Loading module as file / folder, candidate module location '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts', target file types: TypeScript, Declaration. -File name '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts' has a '.d.ts' extension - stripping it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.d.ts' does not exist. -Directory '/home/src/projects/b/2/b-impl/b/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/b-impl/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file @@ -744,6 +777,8 @@ PolledWatches *deleted*:: {"pollingInterval":250} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a: *new* {"inode":19} /home/src/projects/a/1/a-impl/a/node_modules: @@ -752,6 +787,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: *new* {"inode":20} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* @@ -957,6 +1000,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib: *new* @@ -967,6 +1012,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: {"inode":20} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: @@ -1009,8 +1062,18 @@ CreatingProgramWith:: roots: ["/home/src/projects/b/2/b-impl/b/src/index.ts"] options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -1026,8 +1089,9 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde ======== Module name 'a' was successfully resolved to '/home/src/projects/a/1/a-impl/a/lib/index.d.ts' with Package ID 'a/lib/index.d.ts@1.0.0'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name resolution result. @@ -1035,8 +1099,11 @@ File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'c' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. +File '/home/src/projects/a/1/a-impl/a/package.json' exists according to earlier cached lookups. +Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/a/1/a-impl/a/lib/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/a/1/a-impl/a/node_modules/c/package.json' exists according to earlier cached lookups. @@ -1051,8 +1118,9 @@ Resolving real path for '/home/src/projects/a/1/a-impl/a/node_modules/c/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name resolution result. @@ -1118,6 +1186,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib: {"inode":169} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* @@ -1128,6 +1198,14 @@ FsWatches:: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/src: diff --git a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-MacOs.js b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-MacOs.js index b69d8a8939115..cb45067ed6856 100644 --- a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-MacOs.js +++ b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-MacOs.js @@ -199,8 +199,18 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src/index.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist. +File '/home/src/projects/b/2/b-impl/package.json' does not exist. +File '/home/src/projects/b/2/package.json' does not exist. +File '/home/src/projects/b/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -216,8 +226,9 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde ======== Module name 'a' was successfully resolved to '/home/src/projects/a/1/a-impl/a/lib/index.d.ts' with Package ID 'a/lib/index.d.ts@1.0.0'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name resolution result. @@ -225,8 +236,11 @@ File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'c' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. +Found 'package.json' at '/home/src/projects/a/1/a-impl/a/package.json'. +Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/a/1/a-impl/a/lib/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/a/1/a-impl/a/node_modules/c/package.json'. @@ -243,8 +257,9 @@ Resolving real path for '/home/src/projects/a/1/a-impl/a/node_modules/c/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name resolution result. @@ -255,8 +270,18 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Failed Lookup Locations @@ -273,6 +298,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots +DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations ../../../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' ../../../../a/1/a-impl/a/lib/a.d.ts @@ -312,12 +339,22 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {"inode":151} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {"inode":153} /home/src/projects/a/1/a-impl/a/package.json: *new* {"inode":24} +/home/src/projects/b: *new* + {"inode":30} +/home/src/projects/b/2: *new* + {"inode":31} +/home/src/projects/b/2/b-impl: *new* + {"inode":32} +/home/src/projects/b/2/b-impl/b: *new* + {"inode":33} /home/src/projects/b/2/b-impl/b/src/index.ts: *new* {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* @@ -598,8 +635,18 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/src/index.ts: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: @@ -649,8 +696,18 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} FileWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. @@ -672,8 +729,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'a' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/node_modules/a.js' does not exist. @@ -688,29 +744,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' has 'types' field './lib/index.d.ts' that references '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts'. -Loading module as file / folder, candidate module location '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts', target file types: TypeScript, Declaration. -File name '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts' has a '.d.ts' extension - stripping it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.d.ts' does not exist. -Directory '/home/src/projects/b/2/b-impl/b/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/b-impl/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file @@ -782,8 +815,18 @@ PolledWatches *deleted*:: {"pollingInterval":250} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/src/index.ts: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: @@ -995,8 +1038,18 @@ CreatingProgramWith:: roots: ["/home/src/projects/b/2/b-impl/b/src/index.ts"] options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -1012,8 +1065,9 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde ======== Module name 'a' was successfully resolved to '/home/src/projects/a/1/a-impl/a/lib/index.d.ts' with Package ID 'a/lib/index.d.ts@1.0.0'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name resolution result. @@ -1021,8 +1075,11 @@ File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'c' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. +File '/home/src/projects/a/1/a-impl/a/package.json' exists according to earlier cached lookups. +Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/a/1/a-impl/a/lib/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/a/1/a-impl/a/node_modules/c/package.json' exists according to earlier cached lookups. @@ -1037,8 +1094,9 @@ Resolving real path for '/home/src/projects/a/1/a-impl/a/node_modules/c/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name resolution result. @@ -1104,12 +1162,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {"inode":171} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {"inode":173} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/src/index.ts: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Windows.js b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Windows.js index b9b0b8e24ddbe..cc66a058f6177 100644 --- a/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Windows.js +++ b/tests/baselines/reference/tscWatch/symlinks/packages-outside-project-folder-built-Windows.js @@ -199,8 +199,18 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src/index.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist. +File '/home/src/projects/b/2/b-impl/package.json' does not exist. +File '/home/src/projects/b/2/package.json' does not exist. +File '/home/src/projects/b/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -216,8 +226,9 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde ======== Module name 'a' was successfully resolved to '/home/src/projects/a/1/a-impl/a/lib/index.d.ts' with Package ID 'a/lib/index.d.ts@1.0.0'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name resolution result. @@ -225,8 +236,11 @@ File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'c' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. +Found 'package.json' at '/home/src/projects/a/1/a-impl/a/package.json'. +Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/a/1/a-impl/a/lib/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/a/1/a-impl/a/node_modules/c/package.json'. @@ -243,8 +257,9 @@ Resolving real path for '/home/src/projects/a/1/a-impl/a/node_modules/c/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name resolution result. @@ -255,8 +270,18 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 250 FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Failed Lookup Locations @@ -273,6 +298,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots +DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/lib :: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Failed Lookup Locations ../../../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' ../../../../a/1/a-impl/a/lib/a.d.ts @@ -312,12 +339,22 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {} /home/src/projects/a/1/a-impl/a/package.json: *new* {} +/home/src/projects/b: *new* + {} +/home/src/projects/b/2: *new* + {} +/home/src/projects/b/2/b-impl: *new* + {} +/home/src/projects/b/2/b-impl/b: *new* + {} /home/src/projects/b/2/b-impl/b/src/index.ts: *new* {} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* @@ -589,8 +626,18 @@ CreatingProgramWith:: options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} FileWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. @@ -612,8 +659,7 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'a' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. File '/home/src/projects/b/2/b-impl/b/node_modules/a.js' does not exist. @@ -628,29 +674,6 @@ Directory '/home/src/projects/node_modules' does not exist, skipping all lookups Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. -Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json' exists according to earlier cached lookups. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a.d.ts' does not exist. -'package.json' does not have a 'typings' field. -'package.json' has 'types' field './lib/index.d.ts' that references '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts'. -Loading module as file / folder, candidate module location '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts', target file types: TypeScript, Declaration. -File name '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts' has a '.d.ts' extension - stripping it. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.ts' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.tsx' does not exist. -File '/home/src/projects/b/2/b-impl/b/node_modules/a/index.d.ts' does not exist. -Directory '/home/src/projects/b/2/b-impl/b/node_modules/@types' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/b-impl/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/2/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/b/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Directory '/home/node_modules' does not exist, skipping all lookups in it. -Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file @@ -714,8 +737,18 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} /home/src/projects/a/1/a-impl/a/package.json: {} +/home/src/projects/b: + {} +/home/src/projects/b/2: + {} +/home/src/projects/b/2/b-impl: + {} +/home/src/projects/b/2/b-impl/b: + {} /home/src/projects/b/2/b-impl/b/src/index.ts: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: @@ -935,8 +968,18 @@ CreatingProgramWith:: roots: ["/home/src/projects/b/2/b-impl/b/src/index.ts"] options: {"outDir":"/home/src/projects/b/2/b-impl/b/lib","watch":true,"project":"/home/src/projects/b/2/b-impl/b","extendedDiagnostics":true,"explainFiles":true,"traceResolution":true,"configFilePath":"/home/src/projects/b/2/b-impl/b/tsconfig.json"} ======== Resolving module 'a' from '/home/src/projects/b/2/b-impl/b/src/index.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/b/2/b-impl/b/src/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/b-impl/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/2/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/b/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/b/2/b-impl/b/src/node_modules' does not exist, skipping all lookups in it. Found 'package.json' at '/home/src/projects/b/2/b-impl/b/node_modules/a/package.json'. @@ -952,8 +995,9 @@ Resolving real path for '/home/src/projects/b/2/b-impl/b/node_modules/a/lib/inde ======== Module name 'a' was successfully resolved to '/home/src/projects/a/1/a-impl/a/lib/index.d.ts' with Package ID 'a/lib/index.d.ts@1.0.0'. ======== FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 250 undefined Source file ======== Resolving module './a' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/a/1/a-impl/a/lib/a', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/a/1/a-impl/a/lib/a.ts' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.tsx' does not exist. File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name resolution result. @@ -961,8 +1005,11 @@ File '/home/src/projects/a/1/a-impl/a/lib/a.d.ts' exists - use it as a name reso DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a 1 undefined Failed Lookup Locations ======== Resolving module 'c' from '/home/src/projects/a/1/a-impl/a/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'c' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/src/projects/a/1/a-impl/a/lib/package.json' does not exist. +File '/home/src/projects/a/1/a-impl/a/package.json' exists according to earlier cached lookups. +Loading module 'c' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/a/1/a-impl/a/lib/node_modules' does not exist, skipping all lookups in it. File '/home/src/projects/a/1/a-impl/a/node_modules/c/package.json' exists according to earlier cached lookups. @@ -977,8 +1024,9 @@ Resolving real path for '/home/src/projects/a/1/a-impl/a/node_modules/c/lib/inde FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 250 undefined Source file ======== Resolving module './c' from '/home/src/projects/c/3/c-impl/c/lib/index.d.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +Loading module as file / folder, candidate module location '/home/src/projects/c/3/c-impl/c/lib/c', target file types: TypeScript, JavaScript, Declaration, JSON. File '/home/src/projects/c/3/c-impl/c/lib/c.ts' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.tsx' does not exist. File '/home/src/projects/c/3/c-impl/c/lib/c.d.ts' exists - use it as a name resolution result. @@ -1044,12 +1092,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {} /home/src/projects/a/1/a-impl/a/package.json: {} +/home/src/projects/b: + {} +/home/src/projects/b/2: + {} +/home/src/projects/b/2/b-impl: + {} +/home/src/projects/b/2/b-impl/b: + {} /home/src/projects/b/2/b-impl/b/src/index.ts: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/watchApi/host-implements-does-not-implement-hasInvalidatedResolutions.js b/tests/baselines/reference/tscWatch/watchApi/host-implements-does-not-implement-hasInvalidatedResolutions.js index b722144349617..47ce5db3dc7ff 100644 --- a/tests/baselines/reference/tscWatch/watchApi/host-implements-does-not-implement-hasInvalidatedResolutions.js +++ b/tests/baselines/reference/tscWatch/watchApi/host-implements-does-not-implement-hasInvalidatedResolutions.js @@ -46,8 +46,9 @@ CreatingProgramWith:: options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file ======== Resolving module './other' from '/user/username/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'import', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/myproject/other.ts' does not exist. File '/user/username/projects/myproject/other.tsx' does not exist. File '/user/username/projects/myproject/other.d.ts' exists - use it as a name resolution result. @@ -137,8 +138,9 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ======== Resolving module './other' from '/user/username/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'import', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/myproject/other.ts' does not exist. File '/user/username/projects/myproject/other.tsx' does not exist. File '/user/username/projects/myproject/other.d.ts' exists - use it as a name resolution result. @@ -198,8 +200,9 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ======== Resolving module './other' from '/user/username/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'import', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/myproject/other.ts' does not exist. File '/user/username/projects/myproject/other.tsx' does not exist. File '/user/username/projects/myproject/other.d.ts' exists - use it as a name resolution result. @@ -264,8 +267,9 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ======== Resolving module './other' from '/user/username/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'import', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/myproject/other.ts' exists - use it as a name resolution result. ======== Module name './other' was successfully resolved to '/user/username/projects/myproject/other.ts'. ======== FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.ts 250 undefined Source file diff --git a/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js b/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js index 74960c6c67e7e..d6c6d8a3c383a 100644 --- a/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js +++ b/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js @@ -46,8 +46,9 @@ CreatingProgramWith:: options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file ======== Resolving module './other' from '/user/username/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'import', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/myproject/other.ts' does not exist. File '/user/username/projects/myproject/other.tsx' does not exist. File '/user/username/projects/myproject/other.d.ts' exists - use it as a name resolution result. @@ -225,8 +226,9 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ======== Resolving module './other' from '/user/username/projects/myproject/main.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'import', 'types'. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, JavaScript, Declaration, JSON. File '/user/username/projects/myproject/other.ts' exists - use it as a name resolution result. ======== Module name './other' was successfully resolved to '/user/username/projects/myproject/other.ts'. ======== FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.ts 250 undefined Source file diff --git a/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js b/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js index b8e421eb635e5..118e9ede33ed1 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js +++ b/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js @@ -40,17 +40,7 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -index.ts:1:8 - error TS1259: Module '"/user/username/projects/myproject/settings"' can only be default-imported using the 'esModuleInterop' flag - -1 import settings from './settings.json'; -   ~~~~~~~~ - - settings.json:1:1 - 1 { -   ~ - This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. - -[HH:MM:SS AM] Found 1 error. Watching for file changes. +[HH:MM:SS AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js index e7adcd8c32562..bacb1994fc880 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js @@ -56,8 +56,15 @@ CreatingProgramWith:: options: {"extendedDiagnostics":true,"traceResolution":true,"watch":true,"configFilePath":"/home/user/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src/file.ts 250 {"synchronousWatchDirectory":true} Source file ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/user/projects/myproject/src/package.json' does not exist. +File '/home/user/projects/myproject/package.json' does not exist. +File '/home/user/projects/package.json' does not exist. +File '/home/user/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/user/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. File '/home/user/projects/myproject/node_modules/a/package.json' does not exist. @@ -71,19 +78,23 @@ Resolving real path for '/home/user/projects/myproject/node_modules/a/index.d.ts ======== Module name 'a' was successfully resolved to '/home/user/projects/myproject/node_modules/reala/index.d.ts'. ======== File '/home/user/projects/myproject/node_modules/reala/package.json' does not exist. File '/home/user/projects/myproject/node_modules/package.json' does not exist. -File '/home/user/projects/myproject/package.json' does not exist. -File '/home/user/projects/package.json' does not exist. -File '/home/user/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. +File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/package.json' does not exist according to earlier cached lookups. +File '/home/user/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 {"synchronousWatchDirectory":true} Source file FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"synchronousWatchDirectory":true} Source file DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 {"synchronousWatchDirectory":true} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 {"synchronousWatchDirectory":true} Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/user/projects 0 {"synchronousWatchDirectory":true} Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects 0 {"synchronousWatchDirectory":true} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/a 1 {"synchronousWatchDirectory":true} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/a 1 {"synchronousWatchDirectory":true} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules 1 {"synchronousWatchDirectory":true} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules 1 {"synchronousWatchDirectory":true} Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject 0 {"synchronousWatchDirectory":true} Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject 0 {"synchronousWatchDirectory":true} Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution @@ -123,6 +134,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {"inode":23} +/home/user/projects: *new* + {"inode":3} /home/user/projects/myproject: *new* {"inode":4} /home/user/projects/myproject/node_modules: *new* @@ -219,6 +232,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"inode":23} +/home/user/projects: + {"inode":3} /home/user/projects/myproject: {"inode":4} /home/user/projects/myproject/node_modules: @@ -271,8 +286,15 @@ File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 {"synchronousWatchDirectory":true} Source file ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/user/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/package.json' does not exist according to earlier cached lookups. +File '/home/user/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/user/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. File '/home/user/projects/myproject/node_modules/a/package.json' does not exist. @@ -287,8 +309,7 @@ Directory '/home/user/projects/node_modules' does not exist, skipping all lookup Directory '/home/user/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'a' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/user/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. File '/home/user/projects/myproject/node_modules/a/package.json' does not exist according to earlier cached lookups. File '/home/user/projects/myproject/node_modules/a.js' does not exist. @@ -340,6 +361,8 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"inode":23} +/home/user/projects: + {"inode":3} /home/user/projects/myproject: {"inode":4} /home/user/projects/myproject/node_modules: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js index 34b87dc4bf0ef..ee01a5e453b5a 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js @@ -53,8 +53,15 @@ CreatingProgramWith:: options: {"extendedDiagnostics":true,"traceResolution":true,"watch":true,"configFilePath":"/home/user/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src/file.ts 250 undefined Source file ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/user/projects/myproject/src/package.json' does not exist. +File '/home/user/projects/myproject/package.json' does not exist. +File '/home/user/projects/package.json' does not exist. +File '/home/user/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/user/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. File '/home/user/projects/myproject/node_modules/a/package.json' does not exist. @@ -68,19 +75,23 @@ Resolving real path for '/home/user/projects/myproject/node_modules/a/index.d.ts ======== Module name 'a' was successfully resolved to '/home/user/projects/myproject/node_modules/reala/index.d.ts'. ======== File '/home/user/projects/myproject/node_modules/reala/package.json' does not exist. File '/home/user/projects/myproject/node_modules/package.json' does not exist. -File '/home/user/projects/myproject/package.json' does not exist. -File '/home/user/projects/package.json' does not exist. -File '/home/user/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. +File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/package.json' does not exist according to earlier cached lookups. +File '/home/user/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/user/projects 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects 0 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/a 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/a 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules 1 undefined Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject 0 undefined Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/package.json 2000 undefined File location affecting resolution FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/package.json 2000 undefined File location affecting resolution @@ -118,6 +129,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {"inode":23} +/home/user/projects: *new* + {"inode":3} /home/user/projects/myproject: *new* {"inode":4} /home/user/projects/myproject/node_modules: *new* @@ -202,6 +215,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"inode":23} +/home/user/projects: + {"inode":3} /home/user/projects/myproject: {"inode":4} /home/user/projects/myproject/node_modules: @@ -254,8 +269,15 @@ File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/user/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/package.json' does not exist according to earlier cached lookups. +File '/home/user/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/user/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. File '/home/user/projects/myproject/node_modules/a/package.json' does not exist according to earlier cached lookups. @@ -270,8 +292,7 @@ Directory '/home/user/projects/node_modules' does not exist, skipping all lookup Directory '/home/user/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'a' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/user/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. File '/home/user/projects/myproject/node_modules/a/package.json' does not exist according to earlier cached lookups. File '/home/user/projects/myproject/node_modules/a.js' does not exist. @@ -346,6 +367,8 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"inode":23} +/home/user/projects: + {"inode":3} /home/user/projects/myproject: {"inode":4} /home/user/projects/myproject/node_modules: @@ -434,8 +457,15 @@ CreatingProgramWith:: roots: ["/home/user/projects/myproject/src/file.ts"] options: {"extendedDiagnostics":true,"traceResolution":true,"watch":true,"configFilePath":"/home/user/projects/myproject/tsconfig.json"} ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== -Module resolution kind is not specified, using 'Node10'. -Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. +Module resolution kind is not specified, using 'Bundler'. +Resolving in CJS mode with conditions 'require', 'types'. +File '/home/user/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/package.json' does not exist according to earlier cached lookups. +File '/home/user/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/user/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. File '/home/user/projects/myproject/node_modules/a/package.json' does not exist. @@ -450,8 +480,7 @@ Directory '/home/user/projects/node_modules' does not exist, skipping all lookup Directory '/home/user/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. -Loading module 'a' from 'node_modules' folder, target file types: JavaScript. -Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Directory '/home/user/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. File '/home/user/projects/myproject/node_modules/a/package.json' does not exist according to earlier cached lookups. File '/home/user/projects/myproject/node_modules/a.js' does not exist. diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js index 8e7c0136e82d5..6429611251504 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js @@ -66,6 +66,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {"inode":16} +/user/username/projects: *new* + {"inode":3} /user/username/projects/myproject: *new* {"inode":4} /user/username/projects/myproject/dist: *new* @@ -187,6 +189,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"inode":16} +/user/username/projects: + {"inode":3} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/dist: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js index b533ae6575b8a..ccf5fdffa14aa 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js @@ -7,7 +7,7 @@ import { x } from "file2"; export const x = 10; //// [/user/username/projects/myproject/tsconfig.json] Inode:: 10 -{} +{ "compilerOptions": { "moduleResolution": "node10" } } //// [/home/src/tslibs/TS/Lib/lib.d.ts] Inode:: 16 /// @@ -30,7 +30,12 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:1:44 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +1 { "compilerOptions": { "moduleResolution": "node10" } } +   ~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -79,6 +84,7 @@ Program root files: [ "/user/username/projects/myproject/src/file1.ts" ] Program options: { + "moduleResolution": 2, "watch": true, "configFilePath": "/user/username/projects/myproject/tsconfig.json" } @@ -88,10 +94,7 @@ Program files:: /user/username/projects/myproject/node_modules/file2/index.d.ts /user/username/projects/myproject/src/file1.ts -Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/user/username/projects/myproject/node_modules/file2/index.d.ts -/user/username/projects/myproject/src/file1.ts +No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /home/src/tslibs/ts/lib/lib.d.ts (used version) @@ -178,10 +181,10 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -src/file1.ts:1:19 - error TS2307: Cannot find module 'file2' or its corresponding type declarations. +tsconfig.json:1:44 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 import { x } from "file2"; -   ~~~~~~~ +1 { "compilerOptions": { "moduleResolution": "node10" } } +   ~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -232,6 +235,7 @@ Program root files: [ "/user/username/projects/myproject/src/file1.ts" ] Program options: { + "moduleResolution": 2, "watch": true, "configFilePath": "/user/username/projects/myproject/tsconfig.json" } @@ -240,8 +244,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/file1.ts -Semantic diagnostics in builder refreshed for:: -/user/username/projects/myproject/src/file1.ts +No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/src/file1.ts (computed .d.ts) @@ -281,10 +284,10 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -src/file1.ts:1:19 - error TS2307: Cannot find module 'file2' or its corresponding type declarations. +tsconfig.json:1:44 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. -1 import { x } from "file2"; -   ~~~~~~~ +1 { "compilerOptions": { "moduleResolution": "node10" } } +   ~~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -296,6 +299,7 @@ Program root files: [ "/user/username/projects/myproject/src/file1.ts" ] Program options: { + "moduleResolution": 2, "watch": true, "configFilePath": "/user/username/projects/myproject/tsconfig.json" } @@ -304,7 +308,7 @@ Program files:: /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/file1.ts -Semantic diagnostics in builder refreshed for:: +No cached semantic diagnostics in the builder:: No shapes updated in the builder:: @@ -443,7 +447,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +tsconfig.json:1:44 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + +1 { "compilerOptions": { "moduleResolution": "node10" } } +   ~~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -490,6 +499,7 @@ Program root files: [ "/user/username/projects/myproject/src/file1.ts" ] Program options: { + "moduleResolution": 2, "watch": true, "configFilePath": "/user/username/projects/myproject/tsconfig.json" } @@ -499,9 +509,7 @@ Program files:: /user/username/projects/myproject/node_modules/file2/index.d.ts /user/username/projects/myproject/src/file1.ts -Semantic diagnostics in builder refreshed for:: -/user/username/projects/myproject/node_modules/file2/index.d.ts -/user/username/projects/myproject/src/file1.ts +No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: /user/username/projects/myproject/node_modules/file2/index.d.ts (used version) diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js index a7f843a0672b1..6fb69e5af033b 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js @@ -60,6 +60,10 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/ FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} File location affecting resolution FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} File location affecting resolution FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} File location affecting resolution @@ -98,6 +102,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/node_modules/bar/foo.d.ts: *new* {} /user/username/projects/myproject/node_modules/bar/index.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js index ffb3491d3192c..23bba90cbb4af 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js @@ -61,6 +61,10 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/ FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} File location affecting resolution FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} File location affecting resolution FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} File location affecting resolution @@ -100,6 +104,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {"inode":20} +/user/username/projects: *new* + {"inode":3} /user/username/projects/myproject: *new* {"inode":4} /user/username/projects/myproject/node_modules: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js index 0a12208f98d7b..400c776684907 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js @@ -77,6 +77,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {"inode":20} +/user/username/projects: *new* + {"inode":3} /user/username/projects/myproject: *new* {"inode":4} /user/username/projects/myproject/node_modules: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js index cf10d5d526226..286d6d05453a0 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js @@ -75,6 +75,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/node_modules/bar/foo.d.ts: *new* {} /user/username/projects/myproject/node_modules/bar/index.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js index ce0954dde44ef..3e3d4ca267be5 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js @@ -61,6 +61,10 @@ ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modul FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} File location affecting resolution ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} File location affecting resolution FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} File location affecting resolution @@ -98,6 +102,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/src/main.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js index 2bcdc2fe8685d..8c7c0f3bd4088 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js @@ -73,6 +73,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/src/main.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js index 5928dbcafd4f6..532201d2a4f56 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js @@ -365,6 +365,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@angular/forms/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js index 08fb74f2b053d..8d7e0e127314a 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js @@ -264,9 +264,12 @@ After running Timeout callback:: count: 0 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/project/package.json :: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/tsconfig.json Detected new package.json: /user/username/projects/project/package.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] Project: /user/username/projects/project/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/project/package.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/project/package.json :: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory -Before getPackageJsonAutoImportProvider +Before running Timeout callback:: count: 2 +2: /user/username/projects/project/tsconfig.json +3: *ensureProjectForOpenFiles* //// [/user/username/projects/project/package.json] { "dependencies": { "@angular/forms": "*", "@angular/core": "*" } } @@ -289,4 +292,59 @@ FsWatchesRecursive:: /user/username/projects/project: {} +Timeout callback:: count: 2 +2: /user/username/projects/project/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* + +Projects:: +/user/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + autoImportProviderHost: false + +Info seq [hh:mm:ss:mss] Running: /user/username/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/project/index.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/project/index.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/project/index.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/user/username/projects/project/index.ts" + ] + } + } +After running Timeout callback:: count: 0 + +Projects:: +/user/username/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + autoImportProviderHost: false + +Before getPackageJsonAutoImportProvider + After getPackageJsonAutoImportProvider diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js index 9292a45406c7a..566ae8a360864 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js @@ -282,8 +282,8 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js index 3156d65bfe221..0f2dcbeddf53a 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js @@ -606,8 +606,8 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -710,7 +710,7 @@ Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js index 0ccdb3a2c22a2..ca9e3579f8c91 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js @@ -342,15 +342,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 2 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 2 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -768,11 +768,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export,declare", "sortText": "16", - "source": "/user/username/projects/project/node_modules/@types/node/index", + "source": "node", "hasAction": true, + "sourceDisplay": [ + { + "text": "node", + "kind": "text" + } + ], "data": { "exportName": "Stats", "exportMapKey": "5 * Stats ", + "moduleSpecifier": "node", "fileName": "/user/username/projects/project/node_modules/@types/node/index.d.ts" } }, @@ -781,12 +788,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export,declare", "sortText": "16", - "source": "/user/username/projects/project/node_modules/memfs/lib/index", + "source": "memfs", "hasAction": true, + "sourceDisplay": [ + { + "text": "memfs", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "Volume", "exportMapKey": "6 * Volume ", + "moduleSpecifier": "memfs", "fileName": "/user/username/projects/project/node_modules/memfs/lib/index.d.ts", "isPackageJsonImport": true } diff --git a/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js b/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js index a42cec04677b9..75b67b188c5c7 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js @@ -97,6 +97,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@angular/forms/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js b/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js index fc367f39f2872..f174194388160 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/does-not-remove-scrips-from-InferredProject.js @@ -139,8 +139,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /user/username/projects/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/b.js 500 undefined WatchType: Closed Script info @@ -190,8 +188,6 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/project/b: *new* - {"pollingInterval":500} /user/username/projects/project/jsconfig.json: {"pollingInterval":2000} /user/username/projects/project/node_modules/@types: @@ -278,8 +274,6 @@ TI:: Creating typing installer PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/project/b: - {"pollingInterval":500} /user/username/projects/project/jsconfig.json: {"pollingInterval":2000} /user/username/projects/project/node_modules/@types: @@ -482,8 +476,6 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/project/b: - {"pollingInterval":500} /user/username/projects/project/bower_components: *new* {"pollingInterval":500} /user/username/projects/project/jsconfig.json: diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js index 90c63549b936c..17807983a7615 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js @@ -79,6 +79,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/proje Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/yargs/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -135,6 +139,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/users/projects: *new* + {} +/user/users/projects/myproject: *new* + {} /user/users/projects/myproject/node_modules/@types/yargs/package.json: *new* {} /user/users/projects/myproject/node_modules/yargs/package.json: *new* @@ -185,10 +193,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /user/users/projects/myproject Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/yargs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) @@ -264,6 +276,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/users/projects: + {} +/user/users/projects/myproject: + {} /user/users/projects/myproject/node_modules/@types/yargs/package.json: {} /user/users/projects/myproject/node_modules/yargs/package.json: diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js index 3b42f50263e23..77c16b216b9e8 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js @@ -89,7 +89,15 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/m Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/yargs/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -163,14 +171,22 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/users/projects: *new* + {} +/user/users/projects/myproject: *new* + {} /user/users/projects/myproject/folder/random.ts: *new* {} /user/users/projects/myproject/node_modules/@types/yargs/package.json: *new* {} /user/users/projects/myproject/node_modules/yargs/package.json: *new* {} +/user/users/projects/myproject/some: *new* + {} FsWatchesRecursive:: +/user/users/projects/myproject/folder: *new* + {} /user/users/projects/myproject/node_modules: *new* {} /user/users/projects/myproject/node_modules/@types: *new* @@ -219,13 +235,21 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /user/users/projects/myproject/some Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/yargs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -301,14 +325,22 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/users/projects: + {} +/user/users/projects/myproject: + {} /user/users/projects/myproject/folder/random.ts: {} /user/users/projects/myproject/node_modules/@types/yargs/package.json: {} /user/users/projects/myproject/node_modules/yargs/package.json: {} +/user/users/projects/myproject/some: + {} FsWatchesRecursive:: +/user/users/projects/myproject/folder: + {} /user/users/projects/myproject/node_modules: {} /user/users/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js index 4278448218f3e..5f4e6f4b20d3b 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js @@ -70,10 +70,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots @@ -203,6 +207,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/proj: *new* + {} /users/username/projects/proj/foo/boo/moo/app.ts: *new* {} /users/username/projects/proj/tsconfig.json: *new* @@ -241,6 +249,9 @@ Info seq [hh:mm:ss:mss] foo/boo/moo/app.ts(1,24): error TS2307: Cannot find mod Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules :: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules :: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules :: WatchInfo: /users/username/projects/proj 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules :: WatchInfo: /users/username/projects/proj 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules :: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules :: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations @@ -251,7 +262,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/proje Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules/debug/index.d.ts :: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 -4: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation +5: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation //// [/users/username/projects/proj/node_modules/debug/index.d.ts] export {} @@ -271,6 +282,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/proj: + {} /users/username/projects/proj/foo/boo/moo/app.ts: {} /users/username/projects/proj/tsconfig.json: @@ -283,7 +298,7 @@ FsWatchesRecursive:: {} Timeout callback:: count: 1 -4: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation *new* +5: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation *new* Info seq [hh:mm:ss:mss] Running: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/proj/tsconfig.json @@ -291,8 +306,8 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* After running Timeout callback:: count: 2 Timeout callback:: count: 2 -5: /users/username/projects/proj/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +6: /users/username/projects/proj/tsconfig.json *new* +7: *ensureProjectForOpenFiles* *new* Projects:: /users/username/projects/proj/tsconfig.json (Configured) *changed* @@ -302,8 +317,8 @@ Projects:: autoImportProviderHost: false Before running Timeout callback:: count: 2 -5: /users/username/projects/proj/tsconfig.json -6: *ensureProjectForOpenFiles* +6: /users/username/projects/proj/tsconfig.json +7: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json @@ -387,6 +402,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/proj: + {} /users/username/projects/proj/foo/boo/moo/app.ts: {} /users/username/projects/proj/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js index 9995fee3940ef..7b944ae4d178b 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js @@ -70,10 +70,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots @@ -203,6 +207,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/proj: *new* + {} /users/username/projects/proj/foo/boo/moo/app.ts: *new* {} /users/username/projects/proj/tsconfig.json: *new* @@ -241,6 +249,9 @@ Info seq [hh:mm:ss:mss] foo/boo/moo/app.ts(1,24): error TS2307: Cannot find mod Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules :: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules :: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules :: WatchInfo: /users/username/projects/proj 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules :: WatchInfo: /users/username/projects/proj 0 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules :: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules :: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations @@ -251,7 +262,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/proje Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/proj/node_modules/debug/index.d.ts :: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 -4: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation +5: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation //// [/users/username/projects/proj/node_modules/debug/index.d.ts] export {} @@ -271,6 +282,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/proj: + {} /users/username/projects/proj/foo/boo/moo/app.ts: {} /users/username/projects/proj/tsconfig.json: @@ -283,7 +298,7 @@ FsWatchesRecursive:: {} Timeout callback:: count: 1 -4: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation *new* +5: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation *new* Info seq [hh:mm:ss:mss] Running: /users/username/projects/proj/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/proj/tsconfig.json @@ -291,8 +306,8 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* After running Timeout callback:: count: 2 Timeout callback:: count: 2 -5: /users/username/projects/proj/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +6: /users/username/projects/proj/tsconfig.json *new* +7: *ensureProjectForOpenFiles* *new* Projects:: /users/username/projects/proj/tsconfig.json (Configured) *changed* @@ -302,8 +317,8 @@ Projects:: autoImportProviderHost: false Before running Timeout callback:: count: 2 -5: /users/username/projects/proj/tsconfig.json -6: *ensureProjectForOpenFiles* +6: /users/username/projects/proj/tsconfig.json +7: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json @@ -387,6 +402,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/proj: + {} /users/username/projects/proj/foo/boo/moo/app.ts: {} /users/username/projects/proj/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js index 8e59ad1566255..c062534bbc135 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js @@ -122,6 +122,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -269,6 +270,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: *new* + {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json: *new* {} @@ -765,6 +768,8 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: + {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json: {} @@ -1291,6 +1296,8 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: + {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json: {} @@ -1478,25 +1485,29 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfo Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/symbolle/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/symbolle/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Detected file add/remove of non supported extension: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/symbolle/package.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/symbolle/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Detected file add/remove of non supported extension: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/rxjs/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/rxjs/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/rxjs/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Detected file add/remove of non supported extension: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/rxjs/package.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/rxjs/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/typescript/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/typescript/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/typescript/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Detected file add/remove of non supported extension: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/typescript/package.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/typescript/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/symbolle/index.js :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one @@ -1554,7 +1565,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfo Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Detected file add/remove of non supported extension: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/index.js :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one @@ -1645,9 +1657,9 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/u Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/rxjs/testing :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 3 -100: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation -101: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json -102: *ensureProjectForOpenFiles* +110: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation +111: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json +112: *ensureProjectForOpenFiles* //// [/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/symbolle/package.json] { "name": "symbol-observable", @@ -2070,9 +2082,9 @@ Timeout callback:: count: 3 32: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation *deleted* 33: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *deleted* 34: *ensureProjectForOpenFiles* *deleted* -100: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation *new* -101: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *new* -102: *ensureProjectForOpenFiles* *new* +110: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation *new* +111: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *new* +112: *ensureProjectForOpenFiles* *new* Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, Cancelled earlier one @@ -2080,14 +2092,14 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli After running Timeout callback:: count: 2 Timeout callback:: count: 2 -101: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *deleted* -102: *ensureProjectForOpenFiles* *deleted* -103: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *new* -104: *ensureProjectForOpenFiles* *new* +111: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *deleted* +112: *ensureProjectForOpenFiles* *deleted* +113: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *new* +114: *ensureProjectForOpenFiles* *new* Before running Timeout callback:: count: 2 -103: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json -104: *ensureProjectForOpenFiles* +113: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json +114: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json @@ -2196,6 +2208,8 @@ FsWatches:: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json: *new* {} +/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: + {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js index acde6e7ca3eb5..984e864539586 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js @@ -122,6 +122,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Type roots @@ -269,6 +270,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: *new* + {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json: *new* {} @@ -768,6 +771,8 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: + {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json: {} @@ -1382,6 +1387,8 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: + {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json: {} @@ -1650,25 +1657,29 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfo Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/symbolle/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/symbolle/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Detected file add/remove of non supported extension: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/symbolle/package.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/symbolle/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Detected file add/remove of non supported extension: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/rxjs/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/rxjs/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/rxjs/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Detected file add/remove of non supported extension: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/rxjs/package.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/rxjs/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/typescript/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/typescript/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/typescript/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Detected file add/remove of non supported extension: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/typescript/package.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/typescript/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/symbolle/index.js :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one @@ -1726,7 +1737,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfo Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Detected file add/remove of non supported extension: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/index.js :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one @@ -1817,9 +1829,9 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/user/u Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/rxjs/testing :: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 3 -104: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation -105: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json -106: *ensureProjectForOpenFiles* +114: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation +115: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json +116: *ensureProjectForOpenFiles* //// [/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/symbolle/package.json] { "name": "symbol-observable", @@ -2239,9 +2251,9 @@ declare namespace _ { //// [/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts] deleted Timeout callback:: count: 3 -104: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation *new* -105: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *new* -106: *ensureProjectForOpenFiles* *new* +114: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.jsonFailedLookupInvalidation *new* +115: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *new* +116: *ensureProjectForOpenFiles* *new* Projects:: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json (Configured) *changed* @@ -2255,14 +2267,14 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli After running Timeout callback:: count: 2 Timeout callback:: count: 2 -105: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *deleted* -106: *ensureProjectForOpenFiles* *deleted* -107: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *new* -108: *ensureProjectForOpenFiles* *new* +115: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *deleted* +116: *ensureProjectForOpenFiles* *deleted* +117: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json *new* +118: *ensureProjectForOpenFiles* *new* Before running Timeout callback:: count: 2 -107: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json -108: *ensureProjectForOpenFiles* +117: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json +118: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json @@ -2382,6 +2394,8 @@ FsWatches:: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json: *new* {} +/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: + {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js index c4d4a535c6f4a..2ae2b214acd4e 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js @@ -271,6 +271,20 @@ Info seq [hh:mm:ss:mss] event: "code": 1419 } ] + }, + { + "start": { + "line": 7, + "offset": 25 + }, + "end": { + "line": 7, + "offset": 31 + }, + "text": "Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/Users/someuser/work/applications/frontend/tsconfig.json" } ] } diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js index a5175d14ec630..981c65f403c3a 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js @@ -271,6 +271,20 @@ Info seq [hh:mm:ss:mss] event: "code": 1419 } ] + }, + { + "start": { + "line": 7, + "offset": 25 + }, + "end": { + "line": 7, + "offset": 31 + }, + "text": "Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/Users/someuser/work/applications/frontend/tsconfig.json" } ] } diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js index 007a58d1404ac..7286999a957f7 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js @@ -59,10 +59,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/fo Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject 1 undefined Config: /user/username/folder/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder 0 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder 0 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject 0 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject 0 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules/@types 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules/@types 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/node_modules/@types 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Type roots @@ -174,6 +178,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/folder: *new* + {} +/user/username/folder/myproject: *new* + {} /user/username/folder/myproject/tsconfig.json: *new* {} @@ -203,6 +211,9 @@ Info seq [hh:mm:ss:mss] app.ts(1,24): error TS2307: Cannot find module 'debug' Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/folder/myproject/node_modules :: WatchInfo: /user/username/folder/myproject/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/folder/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/folder/myproject/node_modules :: WatchInfo: /user/username/folder/myproject/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/folder/myproject/node_modules :: WatchInfo: /user/username/folder/myproject 0 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/folder/myproject/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/folder/myproject/node_modules :: WatchInfo: /user/username/folder/myproject 0 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/folder/myproject/node_modules/@types :: WatchInfo: /user/username/folder/myproject/node_modules/@types 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Scheduled: /user/username/folder/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -224,9 +235,9 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /user/username/folder/myproject/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/folder/myproject/node_modules/@types/debug/index.d.ts :: WatchInfo: /user/username/folder/myproject/node_modules/@types 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Type roots Before running Timeout callback:: count: 3 -11: /user/username/folder/myproject/tsconfig.json -12: *ensureProjectForOpenFiles* -13: /user/username/folder/myproject/tsconfig.jsonFailedLookupInvalidation +12: /user/username/folder/myproject/tsconfig.json +13: *ensureProjectForOpenFiles* +14: /user/username/folder/myproject/tsconfig.jsonFailedLookupInvalidation //// [/user/username/folder/myproject/node_modules/@types/debug/index.d.ts] export {} @@ -246,6 +257,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/folder: + {} +/user/username/folder/myproject: + {} /user/username/folder/myproject/tsconfig.json: {} @@ -258,9 +273,9 @@ FsWatchesRecursive:: {} Timeout callback:: count: 3 -11: /user/username/folder/myproject/tsconfig.json *new* -12: *ensureProjectForOpenFiles* *new* -13: /user/username/folder/myproject/tsconfig.jsonFailedLookupInvalidation *new* +12: /user/username/folder/myproject/tsconfig.json *new* +13: *ensureProjectForOpenFiles* *new* +14: /user/username/folder/myproject/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /user/username/folder/myproject/tsconfig.json (Configured) *changed* @@ -321,6 +336,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/folder: + {} +/user/username/folder/myproject: + {} /user/username/folder/myproject/tsconfig.json: {} @@ -333,9 +352,9 @@ FsWatchesRecursive:: {} Timeout callback:: count: 1 -12: *ensureProjectForOpenFiles* *deleted* -13: /user/username/folder/myproject/tsconfig.jsonFailedLookupInvalidation *deleted* -14: *ensureProjectForOpenFiles* *new* +13: *ensureProjectForOpenFiles* *deleted* +14: /user/username/folder/myproject/tsconfig.jsonFailedLookupInvalidation *deleted* +15: *ensureProjectForOpenFiles* *new* Projects:: /user/username/folder/myproject/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js b/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js index 28a16d1eb356f..48a4863e86bd7 100644 --- a/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js +++ b/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js @@ -67,10 +67,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -178,6 +182,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/projects/project/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/codeFix/install-package.js b/tests/baselines/reference/tsserver/codeFix/install-package.js index eb1bdadcf407d..38eabffb35b5b 100644 --- a/tests/baselines/reference/tsserver/codeFix/install-package.js +++ b/tests/baselines/reference/tsserver/codeFix/install-package.js @@ -67,10 +67,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/src 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -178,6 +182,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/projects/project/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js index be58940da541a..aa418737a1e4a 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js @@ -395,7 +395,7 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -879,7 +879,7 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -1375,7 +1375,7 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -1889,7 +1889,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] getExportInfoMap: cache hit Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js index 51b48dffffcbc..b99780384c438 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js @@ -423,15 +423,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 2 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 1 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -855,12 +855,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/helper", + "source": "shared/helper", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared/helper", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "MyHelper", "exportMapKey": "8 * MyHelper ", + "moduleSpecifier": "shared/helper", "fileName": "/user/username/projects/shared/src/helper.ts", "isPackageJsonImport": true } @@ -946,15 +953,15 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 3 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 2 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -1378,12 +1385,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/helper", + "source": "shared/helper", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared/helper", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "MyHelper", "exportMapKey": "8 * MyHelper ", + "moduleSpecifier": "shared/helper", "fileName": "/user/username/projects/shared/src/helper.ts", "isPackageJsonImport": true } @@ -1393,12 +1407,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/other", + "source": "shared/other", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared/other", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "OtherClass", "exportMapKey": "10 * OtherClass ", + "moduleSpecifier": "shared/other", "fileName": "/user/username/projects/shared/src/other.ts", "isPackageJsonImport": true } @@ -1538,7 +1559,7 @@ Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 3 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -1969,12 +1990,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/helper", + "source": "shared/helper", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared/helper", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "MyHelper", "exportMapKey": "8 * MyHelper ", + "moduleSpecifier": "shared/helper", "fileName": "/user/username/projects/shared/src/helper.ts", "isPackageJsonImport": true } @@ -1984,12 +2012,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/other", + "source": "shared/other", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared/other", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "OtherClass", "exportMapKey": "10 * OtherClass ", + "moduleSpecifier": "shared/other", "fileName": "/user/username/projects/shared/src/other.ts", "isPackageJsonImport": true } @@ -2080,7 +2115,7 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js index a5f21d85779c0..a6d9075ae12f5 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js @@ -1864,15 +1864,15 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 3 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 3 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -2290,12 +2290,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/index", + "source": "shared", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", + "moduleSpecifier": "shared", "fileName": "/user/username/projects/shared/src/index.ts", "isPackageJsonImport": true } @@ -2305,12 +2312,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/helper", + "source": "shared/helper", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared/helper", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "MyHelper", "exportMapKey": "8 * MyHelper ", + "moduleSpecifier": "shared/helper", "fileName": "/user/username/projects/shared/src/helper.ts", "isPackageJsonImport": true } @@ -2320,12 +2334,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/other", + "source": "shared/other", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared/other", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "OtherClass", "exportMapKey": "10 * OtherClass ", + "moduleSpecifier": "shared/other", "fileName": "/user/username/projects/shared/src/other.ts", "isPackageJsonImport": true } diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js index 9a2715fc9be8b..73aa27c7fb477 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js @@ -423,15 +423,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 2 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 2 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -849,12 +849,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/index", + "source": "shared", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", + "moduleSpecifier": "shared", "fileName": "/user/username/projects/shared/src/index.ts", "isPackageJsonImport": true } @@ -864,12 +871,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/helper", + "source": "shared/helper", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared/helper", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "MyHelper", "exportMapKey": "8 * MyHelper ", + "moduleSpecifier": "shared/helper", "fileName": "/user/username/projects/shared/src/helper.ts", "isPackageJsonImport": true } @@ -957,15 +971,15 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 3 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 2 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -1383,12 +1397,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/index", + "source": "shared", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", + "moduleSpecifier": "shared", "fileName": "/user/username/projects/shared/src/index.ts", "isPackageJsonImport": true } @@ -1398,12 +1419,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/helper", + "source": "shared/helper", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared/helper", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "MyHelper", "exportMapKey": "8 * MyHelper ", + "moduleSpecifier": "shared/helper", "fileName": "/user/username/projects/shared/src/helper.ts", "isPackageJsonImport": true } @@ -1413,12 +1441,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/other", + "source": "shared/other", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared/other", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "OtherClass", "exportMapKey": "10 * OtherClass ", + "moduleSpecifier": "shared/other", "fileName": "/user/username/projects/shared/src/other.ts", "isPackageJsonImport": true } @@ -1557,7 +1592,7 @@ Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 3 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -1982,12 +2017,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/index", + "source": "shared", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", + "moduleSpecifier": "shared", "fileName": "/user/username/projects/shared/src/index.ts", "isPackageJsonImport": true } @@ -1997,12 +2039,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/helper", + "source": "shared/helper", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared/helper", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "MyHelper", "exportMapKey": "8 * MyHelper ", + "moduleSpecifier": "shared/helper", "fileName": "/user/username/projects/shared/src/helper.ts", "isPackageJsonImport": true } @@ -2012,12 +2061,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/other", + "source": "shared/other", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared/other", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "OtherClass", "exportMapKey": "10 * OtherClass ", + "moduleSpecifier": "shared/other", "fileName": "/user/username/projects/shared/src/other.ts", "isPackageJsonImport": true } diff --git a/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js b/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js index dbdd49b363c4a..ebf91507cda05 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js +++ b/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js @@ -340,15 +340,17 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -766,12 +768,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "source": "/user/username/projects/shared/src/index", + "source": "shared", "hasAction": true, + "sourceDisplay": [ + { + "text": "shared", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", + "moduleSpecifier": "shared", "fileName": "/user/username/projects/shared/src/index.ts", "isPackageJsonImport": true } @@ -786,3 +795,29 @@ Info seq [hh:mm:ss:mss] response: "responseRequired": true } After request + +PolledWatches:: +/user/username/projects/app/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {} +/user/username/projects/app/package.json: + {} +/user/username/projects/app/tsconfig.json: + {} +/user/username/projects/shared/src/index.ts: + {} +/user/username/projects/shared/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/app/node_modules: *new* + {} +/user/username/projects/app/src: + {} +/user/username/projects/shared/src: + {} diff --git a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js index 461f59ae7845b..d949f38d586a8 100644 --- a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js +++ b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js @@ -155,6 +155,9 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/solution/myproject/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: e:/solution/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: e:/solution/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: e:/solution/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: e:/solution/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/solution/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: e:/solution/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: e:/solution/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/typescript/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -229,6 +232,10 @@ e:/solution/myproject/node_modules/@types/react/package.json: *new* {} e:/solution/myproject/node_modules/react-router-dom/package.json: *new* {} +e:/solution/myproject/package.json: *new* + {} +e:/solution/myproject/src: *new* + {} FsWatchesRecursive:: c:/typescript/node_modules: *new* @@ -428,7 +435,9 @@ e:/solution/myproject/node_modules/@types/react/package.json: {} e:/solution/myproject/node_modules/react-router-dom/package.json: {} -e:/solution/myproject/package.json: *new* +e:/solution/myproject/package.json: + {} +e:/solution/myproject/src: {} FsWatchesRecursive:: @@ -465,7 +474,7 @@ Info seq [hh:mm:ss:mss] getCompletionsAtPosition: isCompletionListBlocker: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -480,7 +489,7 @@ Info seq [hh:mm:ss:mss] response: { "name": "React", "kind": "alias", - "kindModifiers": "", + "kindModifiers": "declare", "sortText": "11" }, { @@ -776,11 +785,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export,declare", "sortText": "16", - "source": "e:/solution/myproject/node_modules/@types/react/index", + "source": "react", "hasAction": true, + "sourceDisplay": [ + { + "text": "react", + "kind": "text" + } + ], "data": { "exportName": "Component", "exportMapKey": "9 * Component ", + "moduleSpecifier": "react", "fileName": "e:/solution/myproject/node_modules/@types/react/index.d.ts" } }, diff --git a/tests/baselines/reference/tsserver/completions/works.js b/tests/baselines/reference/tsserver/completions/works.js index b6a9bbc338967..eb280eb779b6b 100644 --- a/tests/baselines/reference/tsserver/completions/works.js +++ b/tests/baselines/reference/tsserver/completions/works.js @@ -313,15 +313,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -341,11 +341,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/project/project/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/project/project/a.ts" } } diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js index e1bd6854564f9..41d7abe9f71d0 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js @@ -4,7 +4,7 @@ Info seq [hh:mm:ss:mss] globalTypingsCacheLocation:: /home/src/Library/Caches/t Info seq [hh:mm:ss:mss] Provided types map file "/home/src/tslibs/TS/Lib/typesMap.json" doesn't exist Before request //// [/home/src/project/project/tsconfig.json] -{ "compilerOptions": { "module": "commonjs" } } +{ "compilerOptions": { "module": "commonjs", "moduleResolution": "node10" } } //// [/home/src/project/project/index.ts] @@ -1270,6 +1270,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { ], "options": { "module": 1, + "moduleResolution": 2, "configFilePath": "/home/src/project/project/tsconfig.json" } } @@ -2137,7 +2138,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "commonjs", + "moduleResolution": "node10" }, "typeAcquisition": { "enable": false, @@ -2164,7 +2166,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/home/src/project/project/index.ts", "configFile": "/home/src/project/project/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 66 + }, + "end": { + "line": 1, + "offset": 74 + }, + "text": "Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/home/src/project/project/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js index 9b49b0186f297..a2260a9a11e23 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js @@ -4,7 +4,7 @@ Info seq [hh:mm:ss:mss] globalTypingsCacheLocation:: /home/src/Library/Caches/t Info seq [hh:mm:ss:mss] Provided types map file "/home/src/tslibs/TS/Lib/typesMap.json" doesn't exist Before request //// [/home/src/project/project/tsconfig.json] -{ "compilerOptions": { "module": "commonjs" } } +{ "compilerOptions": { "module": "commonjs", "moduleResolution": "node10" } } //// [/home/src/project/project/index.ts] @@ -2720,6 +2720,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { ], "options": { "module": 1, + "moduleResolution": 2, "configFilePath": "/home/src/project/project/tsconfig.json" } } @@ -2987,7 +2988,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "commonjs", + "moduleResolution": "node10" }, "typeAcquisition": { "enable": false, @@ -3014,7 +3016,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/home/src/project/project/index.ts", "configFile": "/home/src/project/project/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 66 + }, + "end": { + "line": 1, + "offset": 74 + }, + "text": "Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/home/src/project/project/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js index 8f0c8252918be..cab5a104651c0 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js @@ -4,7 +4,7 @@ Info seq [hh:mm:ss:mss] globalTypingsCacheLocation:: /home/src/Library/Caches/t Info seq [hh:mm:ss:mss] Provided types map file "/home/src/tslibs/TS/Lib/typesMap.json" doesn't exist Before request //// [/home/src/project/project/tsconfig.json] -{ "compilerOptions": { "module": "commonjs" } } +{ "compilerOptions": { "module": "commonjs", "moduleResolution": "node10" } } //// [/home/src/project/project/index.ts] @@ -670,6 +670,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { ], "options": { "module": 1, + "moduleResolution": 2, "configFilePath": "/home/src/project/project/tsconfig.json" } } @@ -1337,7 +1338,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "commonjs", + "moduleResolution": "node10" }, "typeAcquisition": { "enable": false, @@ -1364,7 +1366,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/home/src/project/project/index.ts", "configFile": "/home/src/project/project/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 66 + }, + "end": { + "line": 1, + "offset": 74 + }, + "text": "Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/home/src/project/project/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js index dde3ccc074b60..87ec69cec0e4c 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js @@ -4,7 +4,7 @@ Info seq [hh:mm:ss:mss] globalTypingsCacheLocation:: /home/src/Library/Caches/t Info seq [hh:mm:ss:mss] Provided types map file "/home/src/tslibs/TS/Lib/typesMap.json" doesn't exist Before request //// [/home/src/project/project/tsconfig.json] -{ "compilerOptions": { "module": "commonjs" } } +{ "compilerOptions": { "module": "commonjs", "moduleResolution": "node10" } } //// [/home/src/project/project/index.ts] @@ -477,6 +477,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { ], "options": { "module": 1, + "moduleResolution": 2, "configFilePath": "/home/src/project/project/tsconfig.json" } } @@ -948,7 +949,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "commonjs", + "moduleResolution": "node10" }, "typeAcquisition": { "enable": false, @@ -975,7 +977,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/home/src/project/project/index.ts", "configFile": "/home/src/project/project/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 66 + }, + "end": { + "line": 1, + "offset": 74 + }, + "text": "Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/home/src/project/project/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js index e6cb9d9519e98..13158e5492d43 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js @@ -4,7 +4,7 @@ Info seq [hh:mm:ss:mss] globalTypingsCacheLocation:: /home/src/Library/Caches/t Info seq [hh:mm:ss:mss] Provided types map file "/home/src/tslibs/TS/Lib/typesMap.json" doesn't exist Before request //// [/home/src/project/project/tsconfig.json] -{ "compilerOptions": { "module": "commonjs" } } +{ "compilerOptions": { "module": "commonjs", "moduleResolution": "node10" } } //// [/home/src/project/project/package.json] { "dependencies": { "dep-a": "*" } } @@ -679,6 +679,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { ], "options": { "module": 1, + "moduleResolution": 2, "configFilePath": "/home/src/project/project/tsconfig.json" } } @@ -1313,7 +1314,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "commonjs", + "moduleResolution": "node10" }, "typeAcquisition": { "enable": false, @@ -1340,7 +1342,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/home/src/project/project/index.ts", "configFile": "/home/src/project/project/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 66 + }, + "end": { + "line": 1, + "offset": 74 + }, + "text": "Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/home/src/project/project/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works.js b/tests/baselines/reference/tsserver/completionsIncomplete/works.js index 34fba8070fbfa..0ec4f90cee49d 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works.js @@ -4,7 +4,7 @@ Info seq [hh:mm:ss:mss] globalTypingsCacheLocation:: /home/src/Library/Caches/t Info seq [hh:mm:ss:mss] Provided types map file "/home/src/tslibs/TS/Lib/typesMap.json" doesn't exist Before request //// [/home/src/project/project/tsconfig.json] -{ "compilerOptions": { "module": "commonjs" } } +{ "compilerOptions": { "module": "commonjs", "moduleResolution": "node10" } } //// [/home/src/project/project/index.ts] @@ -1070,6 +1070,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/project/project/tsconfig.json : { ], "options": { "module": 1, + "moduleResolution": 2, "configFilePath": "/home/src/project/project/tsconfig.json" } } @@ -2137,7 +2138,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "commonjs", + "moduleResolution": "node10" }, "typeAcquisition": { "enable": false, @@ -2164,7 +2166,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/home/src/project/project/index.ts", "configFile": "/home/src/project/project/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 66 + }, + "end": { + "line": 1, + "offset": 74 + }, + "text": "Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/home/src/project/project/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/home/src/project/project/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js index 77b7731f57e48..b6a1eda7cfd7d 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js @@ -206,7 +206,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/a/b/projects/pro Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/a/b/projects/project/src/tsconfig.json 2:: WatchInfo: /home/a/b/projects/project/src/tsconfig.json 2000 undefined Project: /home/a/b/projects/project/src/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/a/b/projects/project/src/tsconfig.json :: WatchInfo: /home/a/b/projects/project/src 1 undefined Config: /home/a/b/projects/project/src/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/a/b/projects/project/src/tsconfig.json Detected file add/remove of non supported extension: /home/a/b/projects/project/src/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/a/b/projects/project/src/tsconfig.json :: WatchInfo: /home/a/b/projects/project/src 1 undefined Config: /home/a/b/projects/project/src/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js index e357b15f14e34..739ed45d02441 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js @@ -206,7 +206,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/a/b/projects/pro Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/a/b/projects/project/src/tsconfig.json 2:: WatchInfo: /home/a/b/projects/project/src/tsconfig.json 2000 undefined Project: /home/a/b/projects/project/src/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/a/b/projects/project/src/tsconfig.json :: WatchInfo: /home/a/b/projects/project/src 1 undefined Config: /home/a/b/projects/project/src/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/a/b/projects/project/src/tsconfig.json Detected file add/remove of non supported extension: /home/a/b/projects/project/src/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/a/b/projects/project/src/tsconfig.json :: WatchInfo: /home/a/b/projects/project/src 1 undefined Config: /home/a/b/projects/project/src/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* diff --git a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js index 78137540824a5..d36f203951d38 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js +++ b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js @@ -357,7 +357,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/projects/project/ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 2:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/project/tsconfig.json :: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /a/b/projects/project/tsconfig.json Detected file add/remove of non supported extension: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/project/tsconfig.json :: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 3: *ensureProjectForOpenFiles* diff --git a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js index 46549bba0af88..9cbf07c8a7e85 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js +++ b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js @@ -195,7 +195,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/projects/project/ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 2:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/project/tsconfig.json :: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /a/b/projects/project/tsconfig.json Detected file add/remove of non supported extension: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/project/tsconfig.json :: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* @@ -324,7 +323,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/projects/project/ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 0:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/project/tsconfig.json :: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /a/b/projects/project/tsconfig.json Detected file add/remove of non supported extension: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/project/tsconfig.json :: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 2: /a/b/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js index 52aa43c75d9aa..a405055846823 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js @@ -73,10 +73,18 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/roo Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b 0 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b 0 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a 0 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a 0 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder 0 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder 0 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/src/node_modules 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/src/node_modules 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/src 0 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/src 0 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules/module2/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution @@ -218,6 +226,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/rootfolder: *new* + {} +/user/username/rootfolder/a: *new* + {} +/user/username/rootfolder/a/b: *new* + {} +/user/username/rootfolder/a/b/src: *new* + {} /user/username/rootfolder/a/b/src/tsconfig.json: *new* {} diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js index 9a7dca654c5f5..f79ec25ad8e70 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js @@ -167,7 +167,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/user/username/projects/project/a/b/file1.ts", "configFile": "/user/username/projects/project/a/b/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 3, + "offset": 25 + }, + "end": { + "line": 3, + "offset": 33 + }, + "text": "Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/user/username/projects/project/a/b/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/b/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js b/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js index 95fb66e2a07a1..fae64545a6d81 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js @@ -105,8 +105,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2017.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/node_modules/bar 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/node_modules/bar 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo 0 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo 0 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots @@ -231,8 +237,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.es2017.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/bar/index.ts: *new* {} +/user/username/projects/myproject/foo: *new* + {} /user/username/projects/myproject/foo/tsconfig.json: *new* {} @@ -442,8 +454,14 @@ FsWatches:: {} /home/src/tslibs/TS/Lib/lib.es2017.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/bar/tsconfig.json: *new* {} +/user/username/projects/myproject/foo: + {} /user/username/projects/myproject/foo/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js b/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js index 215648946d304..429bbb371fd7f 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js +++ b/tests/baselines/reference/tsserver/documentRegistry/works-when-reusing-orphan-script-info-with-different-scriptKind.js @@ -37,10 +37,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/^ 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/^ 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/san/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -79,10 +83,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/users/user/projects: *new* + {"pollingInterval":500} /users/user/projects/node_modules: *new* {"pollingInterval":500} /users/user/projects/node_modules/@types: *new* {"pollingInterval":500} +/users/user/projects/san: *new* + {"pollingInterval":500} /users/user/projects/san/^: *new* {"pollingInterval":500} /users/user/projects/san/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js b/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js index 0a8894b2f2327..cf9b0c99c1ec9 100644 --- a/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js +++ b/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js @@ -90,6 +90,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/node_modules/foo/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations @@ -209,6 +213,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/projects/project/a/node_modules/foo/package.json: *new* {} /home/src/projects/project/b/node_modules/foo/package.json: *new* @@ -299,6 +307,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/projects/project/a/node_modules/foo/package.json: {} /home/src/projects/project/b/node_modules/foo/package.json: diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js index ae429dbfe79d6..8d66c4a1b4316 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js @@ -41,8 +41,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/large 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/large 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/large.js 500 undefined WatchType: Closed Script info @@ -108,8 +106,6 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/src/large: *new* - {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/myproject/src/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js index 2e07b3cf05cbf..3be30e89952bb 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js @@ -71,6 +71,8 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tscon Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project 0 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project 0 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -172,6 +174,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/a/b/project: *new* + {} /a/b/project/file3.ts: *new* {} /a/b/project/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js index 4d296d5007b0a..6e16b511ba711 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js @@ -69,6 +69,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -79,6 +87,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -190,6 +200,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/rootfolder: *new* + {} +/user/username/rootfolder/otherfolder: *new* + {} +/user/username/rootfolder/otherfolder/a: *new* + {} +/user/username/rootfolder/otherfolder/a/b: *new* + {} +/user/username/rootfolder/otherfolder/a/b/project: *new* + {} /user/username/rootfolder/otherfolder/a/b/project/file3.ts: *new* {} /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: *new* @@ -321,6 +341,9 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -328,7 +351,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfo Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 -5: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation +6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation //// [/user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts] export class a { } @@ -350,6 +373,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/rootfolder: + {} +/user/username/rootfolder/otherfolder: + {} +/user/username/rootfolder/otherfolder/a: + {} +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/project: + {} /user/username/rootfolder/otherfolder/a/b/project/file3.ts: {} /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: @@ -362,7 +395,7 @@ FsWatchesRecursive:: {} Timeout callback:: count: 1 -5: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation *new* +6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation *new* Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -370,8 +403,8 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* After running Timeout callback:: count: 2 Timeout callback:: count: 2 -6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *new* -7: *ensureProjectForOpenFiles* *new* +7: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *new* +8: *ensureProjectForOpenFiles* *new* Projects:: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* @@ -381,8 +414,8 @@ Projects:: autoImportProviderHost: false Before running Timeout callback:: count: 2 -6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json -7: *ensureProjectForOpenFiles* +7: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +8: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -473,6 +506,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/rootfolder: + {} +/user/username/rootfolder/otherfolder: + {} +/user/username/rootfolder/otherfolder/a: + {} +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/project: + {} /user/username/rootfolder/otherfolder/a/b/project/file3.ts: {} /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index f98b9deb4a622..8087f55dbdabb 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -71,6 +71,8 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tscon Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project 0 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project 0 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -175,6 +177,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/a/b/project: *new* + {} /a/b/project/file3.ts: *new* {} /a/b/project/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index ca16a6e2f882b..c5d804661f184 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -69,6 +69,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -79,6 +87,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -193,6 +203,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/rootfolder: *new* + {} +/user/username/rootfolder/otherfolder: *new* + {} +/user/username/rootfolder/otherfolder/a: *new* + {} +/user/username/rootfolder/otherfolder/a/b: *new* + {} +/user/username/rootfolder/otherfolder/a/b/project: *new* + {} /user/username/rootfolder/otherfolder/a/b/project/file3.ts: *new* {} /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: *new* @@ -325,6 +345,9 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -332,7 +355,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfo Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 -5: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation +6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation //// [/user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts] export class a { } @@ -354,6 +377,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/rootfolder: + {} +/user/username/rootfolder/otherfolder: + {} +/user/username/rootfolder/otherfolder/a: + {} +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/project: + {} /user/username/rootfolder/otherfolder/a/b/project/file3.ts: {} /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: @@ -366,7 +399,7 @@ FsWatchesRecursive:: {} Timeout callback:: count: 1 -5: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation *new* +6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation *new* Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -374,8 +407,8 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* After running Timeout callback:: count: 2 Timeout callback:: count: 2 -6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *new* -7: *ensureProjectForOpenFiles* *new* +7: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json *new* +8: *ensureProjectForOpenFiles* *new* Projects:: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json (Configured) *changed* @@ -385,8 +418,8 @@ Projects:: autoImportProviderHost: false Before running Timeout callback:: count: 2 -6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json -7: *ensureProjectForOpenFiles* +7: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +8: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -478,6 +511,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/rootfolder: + {} +/user/username/rootfolder/otherfolder: + {} +/user/username/rootfolder/otherfolder/a: + {} +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/project: + {} /user/username/rootfolder/otherfolder/a/b/project/file3.ts: {} /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index f1c90cc5f6220..b235ced392342 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -71,6 +71,8 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tscon Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project 0 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project 0 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -175,6 +177,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/a/b/project: *new* + {} /a/b/project/file3.ts: *new* {} /a/b/project/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index 01d2264fc83b5..c5aa18a22575d 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -69,6 +69,14 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -79,6 +87,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -193,6 +203,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/rootfolder: *new* + {} +/user/username/rootfolder/otherfolder: *new* + {} +/user/username/rootfolder/otherfolder/a: *new* + {} +/user/username/rootfolder/otherfolder/a/b: *new* + {} +/user/username/rootfolder/otherfolder/a/b/project: *new* + {} /user/username/rootfolder/otherfolder/a/b/project/file3.ts: *new* {} /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: *new* @@ -329,6 +349,9 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 0 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -337,7 +360,7 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/rootfolder/otherfolder/a/b/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 2 3: checkOne -6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation +7: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation //// [/user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts] export class a { } @@ -359,6 +382,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/rootfolder: + {} +/user/username/rootfolder/otherfolder: + {} +/user/username/rootfolder/otherfolder/a: + {} +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/project: + {} /user/username/rootfolder/otherfolder/a/b/project/file3.ts: {} /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: @@ -372,7 +405,7 @@ FsWatchesRecursive:: Timeout callback:: count: 2 3: checkOne -6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation *new* +7: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation *new* Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -445,6 +478,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/rootfolder: + {} +/user/username/rootfolder/otherfolder: + {} +/user/username/rootfolder/otherfolder/a: + {} +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/project: + {} /user/username/rootfolder/otherfolder/a/b/project/file3.ts: {} /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: @@ -457,8 +500,8 @@ FsWatchesRecursive:: {} Timeout callback:: count: 1 -6: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation *deleted* -7: *ensureProjectForOpenFiles* *new* +7: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation *deleted* +8: *ensureProjectForOpenFiles* *new* Immedidate callback:: count: 1 1: semanticCheck *new* @@ -488,7 +531,7 @@ ScriptInfos:: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Before running Timeout callback:: count: 1 -7: *ensureProjectForOpenFiles* +8: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: @@ -523,7 +566,7 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 1 Timeout callback:: count: 1 -8: checkOne *new* +9: checkOne *new* Immedidate callback:: count: 0 1: semanticCheck *deleted* diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js index 8637859c76ffb..c349cea4b6754 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js @@ -143,8 +143,38 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects 0 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 7, + "path": "c:/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":7,"path":"c:/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/projects 0 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject 0 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 8, + "path": "c:/projects/myproject", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject 0 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules/something/package.json 2000 undefined Project: c:/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -152,11 +182,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 7, + "id": 9, "path": "c:/projects/myproject/node_modules/something/package.json" } } -Custom watchFile:: Added:: {"id":7,"path":"c:/projects/myproject/node_modules/something/package.json"} +Custom watchFile:: Added:: {"id":9,"path":"c:/projects/myproject/node_modules/something/package.json"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules/package.json 2000 undefined Project: c:/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -164,11 +194,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 8, + "id": 10, "path": "c:/projects/myproject/node_modules/package.json" } } -Custom watchFile:: Added:: {"id":8,"path":"c:/projects/myproject/node_modules/package.json"} +Custom watchFile:: Added:: {"id":10,"path":"c:/projects/myproject/node_modules/package.json"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/package.json 2000 undefined Project: c:/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -176,11 +206,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 9, + "id": 11, "path": "c:/projects/myproject/package.json" } } -Custom watchFile:: Added:: {"id":9,"path":"c:/projects/myproject/package.json"} +Custom watchFile:: Added:: {"id":11,"path":"c:/projects/myproject/package.json"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/package.json 2000 undefined Project: c:/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -188,11 +218,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 10, + "id": 12, "path": "c:/projects/package.json" } } -Custom watchFile:: Added:: {"id":10,"path":"c:/projects/package.json"} +Custom watchFile:: Added:: {"id":12,"path":"c:/projects/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules/@types 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -200,13 +230,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 11, + "id": 13, "path": "c:/projects/myproject/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":13,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules/@types 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects/node_modules/@types 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -215,13 +245,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 14, "path": "c:/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":14,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/projects/node_modules/@types 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) @@ -334,15 +364,21 @@ c:/projects/myproject/b.ts: *new* c:/projects/myproject/m.ts: *new* {"event":{"id":4,"path":"c:/projects/myproject/m.ts"}} c:/projects/myproject/node_modules/package.json: *new* - {"event":{"id":8,"path":"c:/projects/myproject/node_modules/package.json"}} + {"event":{"id":10,"path":"c:/projects/myproject/node_modules/package.json"}} c:/projects/myproject/node_modules/something/package.json: *new* - {"event":{"id":7,"path":"c:/projects/myproject/node_modules/something/package.json"}} + {"event":{"id":9,"path":"c:/projects/myproject/node_modules/something/package.json"}} c:/projects/myproject/package.json: *new* - {"event":{"id":9,"path":"c:/projects/myproject/package.json"}} + {"event":{"id":11,"path":"c:/projects/myproject/package.json"}} c:/projects/myproject/tsconfig.json: *new* {"event":{"id":1,"path":"c:/projects/myproject/tsconfig.json"}} c:/projects/package.json: *new* - {"event":{"id":10,"path":"c:/projects/package.json"}} + {"event":{"id":12,"path":"c:/projects/package.json"}} + +FsWatches:: +c:/projects: *new* + {"event":{"id":7,"path":"c:/projects","recursive":false,"ignoreUpdate":true}} +c:/projects/myproject: *new* + {"event":{"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: c:/projects/myproject: *new* @@ -350,9 +386,9 @@ c:/projects/myproject: *new* c:/projects/myproject/node_modules: *new* {"event":{"id":5,"path":"c:/projects/myproject/node_modules","recursive":true}} c:/projects/myproject/node_modules/@types: *new* - {"event":{"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} c:/projects/node_modules/@types: *new* - {"event":{"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: c:/projects/myproject/tsconfig.json (Configured) *new* @@ -382,8 +418,12 @@ c:/projects/myproject/node_modules/something/index.d.ts *new* containingProjects: 1 c:/projects/myproject/tsconfig.json +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject\c.ts created Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"c:/projects/myproject","recursive":true,"ignoreUpdate":true}:: c:\projects\myproject\c.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject\c.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":7,"path":"c:/projects","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject\c.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"c:/projects/myproject","recursive":true,"ignoreUpdate":true}:: c:\projects\myproject\c.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":7,"path":"c:/projects","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject updated Before running Timeout callback:: count: 0 //// [c:/projects/myproject/c.ts] export class a { prop = "hello"; foo() { return this.prop; } } @@ -396,24 +436,36 @@ Before request Info seq [hh:mm:ss:mss] request: { "command": "watchChange", - "arguments": { - "id": 2, - "created": [ - "c:\\projects\\myproject\\c.ts" - ] - }, + "arguments": [ + { + "id": 8, + "created": [ + "c:\\projects\\myproject\\c.ts" + ] + }, + { + "id": 2, + "created": [ + "c:\\projects\\myproject\\c.ts" + ] + } + ], "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with c:/projects/myproject/c.ts :: WatchInfo: c:/projects/myproject 0 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with c:/projects/myproject/c.ts :: WatchInfo: c:/projects/myproject 0 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with c:/projects/myproject/c.ts :: WatchInfo: c:/projects/myproject 1 undefined Config: c:/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with c:/projects/myproject/c.ts :: WatchInfo: c:/projects/myproject 1 undefined Config: c:/projects/myproject/tsconfig.json WatchType: Wild card directory After request -Timeout callback:: count: 2 -1: c:/projects/myproject/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 3 +1: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +2: c:/projects/myproject/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* Projects:: c:/projects/myproject/tsconfig.json (Configured) *changed* @@ -422,10 +474,12 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: true *changed* autoImportProviderHost: false -Before running Timeout callback:: count: 2 -1: c:/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 3 +1: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation +2: c:/projects/myproject/tsconfig.json +3: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Running: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: @@ -434,11 +488,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 13, + "id": 15, "path": "c:/projects/myproject/c.ts" } } -Custom watchFile:: Added:: {"id":13,"path":"c:/projects/myproject/c.ts"} +Custom watchFile:: Added:: {"id":15,"path":"c:/projects/myproject/c.ts"} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) @@ -502,19 +556,25 @@ c:/home/src/tslibs/TS/Lib/lib.d.ts: c:/projects/myproject/b.ts: {"event":{"id":3,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/c.ts: *new* - {"event":{"id":13,"path":"c:/projects/myproject/c.ts"}} + {"event":{"id":15,"path":"c:/projects/myproject/c.ts"}} c:/projects/myproject/m.ts: {"event":{"id":4,"path":"c:/projects/myproject/m.ts"}} c:/projects/myproject/node_modules/package.json: - {"event":{"id":8,"path":"c:/projects/myproject/node_modules/package.json"}} + {"event":{"id":10,"path":"c:/projects/myproject/node_modules/package.json"}} c:/projects/myproject/node_modules/something/package.json: - {"event":{"id":7,"path":"c:/projects/myproject/node_modules/something/package.json"}} + {"event":{"id":9,"path":"c:/projects/myproject/node_modules/something/package.json"}} c:/projects/myproject/package.json: - {"event":{"id":9,"path":"c:/projects/myproject/package.json"}} + {"event":{"id":11,"path":"c:/projects/myproject/package.json"}} c:/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"c:/projects/myproject/tsconfig.json"}} c:/projects/package.json: - {"event":{"id":10,"path":"c:/projects/package.json"}} + {"event":{"id":12,"path":"c:/projects/package.json"}} + +FsWatches:: +c:/projects: + {"event":{"id":7,"path":"c:/projects","recursive":false,"ignoreUpdate":true}} +c:/projects/myproject: + {"event":{"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: c:/projects/myproject: @@ -522,9 +582,9 @@ c:/projects/myproject: c:/projects/myproject/node_modules: {"event":{"id":5,"path":"c:/projects/myproject/node_modules","recursive":true}} c:/projects/myproject/node_modules/@types: - {"event":{"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} c:/projects/node_modules/@types: - {"event":{"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: c:/projects/myproject/tsconfig.json (Configured) *changed* @@ -560,6 +620,7 @@ c:/projects/myproject/node_modules/something/index.d.ts c:/projects/myproject/tsconfig.json Custom watchFile:: Triggered:: {"id":3,"path":"c:/projects/myproject/b.ts"}:: c:\projects\myproject\b.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject\b.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"c:/projects/myproject","recursive":true,"ignoreUpdate":true}:: c:\projects\myproject\b.ts updated Before running Timeout callback:: count: 0 //// [c:/projects/myproject/b.ts] @@ -589,8 +650,8 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with c:/projects/ After request Timeout callback:: count: 2 -3: c:/projects/myproject/tsconfig.json *new* -4: *ensureProjectForOpenFiles* *new* +4: c:/projects/myproject/tsconfig.json *new* +5: *ensureProjectForOpenFiles* *new* Projects:: c:/projects/myproject/tsconfig.json (Configured) *changed* @@ -626,8 +687,8 @@ c:/projects/myproject/node_modules/something/index.d.ts c:/projects/myproject/tsconfig.json Before running Timeout callback:: count: 2 -3: c:/projects/myproject/tsconfig.json -4: *ensureProjectForOpenFiles* +4: c:/projects/myproject/tsconfig.json +5: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproject/tsconfig.json @@ -752,33 +813,39 @@ PolledWatches:: c:/home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} c:/projects/myproject/c.ts: - {"event":{"id":13,"path":"c:/projects/myproject/c.ts"}} + {"event":{"id":15,"path":"c:/projects/myproject/c.ts"}} c:/projects/myproject/m.ts: {"event":{"id":4,"path":"c:/projects/myproject/m.ts"}} c:/projects/myproject/node_modules/package.json: - {"event":{"id":8,"path":"c:/projects/myproject/node_modules/package.json"}} + {"event":{"id":10,"path":"c:/projects/myproject/node_modules/package.json"}} c:/projects/myproject/node_modules/something/package.json: - {"event":{"id":7,"path":"c:/projects/myproject/node_modules/something/package.json"}} + {"event":{"id":9,"path":"c:/projects/myproject/node_modules/something/package.json"}} c:/projects/myproject/package.json: - {"event":{"id":9,"path":"c:/projects/myproject/package.json"}} + {"event":{"id":11,"path":"c:/projects/myproject/package.json"}} c:/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"c:/projects/myproject/tsconfig.json"}} c:/projects/package.json: - {"event":{"id":10,"path":"c:/projects/package.json"}} + {"event":{"id":12,"path":"c:/projects/package.json"}} PolledWatches *deleted*:: c:/projects/myproject/b.ts: {"event":{"id":3,"path":"c:/projects/myproject/b.ts"}} +FsWatches:: +c:/projects: + {"event":{"id":7,"path":"c:/projects","recursive":false,"ignoreUpdate":true}} +c:/projects/myproject: + {"event":{"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: c:/projects/myproject: {"event":{"id":2,"path":"c:/projects/myproject","recursive":true,"ignoreUpdate":true}} c:/projects/myproject/node_modules: {"event":{"id":5,"path":"c:/projects/myproject/node_modules","recursive":true}} c:/projects/myproject/node_modules/@types: - {"event":{"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} c:/projects/node_modules/@types: - {"event":{"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: c:/home/src/tslibs/TS/Lib/lib.d.ts @@ -825,11 +892,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 14, + "id": 16, "path": "c:/projects/myproject/b.ts" } } -Custom watchFile:: Added:: {"id":14,"path":"c:/projects/myproject/b.ts"} +Custom watchFile:: Added:: {"id":16,"path":"c:/projects/myproject/b.ts"} Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -851,21 +918,27 @@ PolledWatches:: c:/home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} c:/projects/myproject/b.ts: *new* - {"event":{"id":14,"path":"c:/projects/myproject/b.ts"}} + {"event":{"id":16,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/c.ts: - {"event":{"id":13,"path":"c:/projects/myproject/c.ts"}} + {"event":{"id":15,"path":"c:/projects/myproject/c.ts"}} c:/projects/myproject/m.ts: {"event":{"id":4,"path":"c:/projects/myproject/m.ts"}} c:/projects/myproject/node_modules/package.json: - {"event":{"id":8,"path":"c:/projects/myproject/node_modules/package.json"}} + {"event":{"id":10,"path":"c:/projects/myproject/node_modules/package.json"}} c:/projects/myproject/node_modules/something/package.json: - {"event":{"id":7,"path":"c:/projects/myproject/node_modules/something/package.json"}} + {"event":{"id":9,"path":"c:/projects/myproject/node_modules/something/package.json"}} c:/projects/myproject/package.json: - {"event":{"id":9,"path":"c:/projects/myproject/package.json"}} + {"event":{"id":11,"path":"c:/projects/myproject/package.json"}} c:/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"c:/projects/myproject/tsconfig.json"}} c:/projects/package.json: - {"event":{"id":10,"path":"c:/projects/package.json"}} + {"event":{"id":12,"path":"c:/projects/package.json"}} + +FsWatches:: +c:/projects: + {"event":{"id":7,"path":"c:/projects","recursive":false,"ignoreUpdate":true}} +c:/projects/myproject: + {"event":{"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: c:/projects/myproject: @@ -873,9 +946,9 @@ c:/projects/myproject: c:/projects/myproject/node_modules: {"event":{"id":5,"path":"c:/projects/myproject/node_modules","recursive":true}} c:/projects/myproject/node_modules/@types: - {"event":{"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} c:/projects/node_modules/@types: - {"event":{"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: c:/home/src/tslibs/TS/Lib/lib.d.ts @@ -904,7 +977,8 @@ c:/projects/myproject/node_modules/something/index.d.ts containingProjects: 1 c:/projects/myproject/tsconfig.json -Custom watchFile:: Triggered:: {"id":13,"path":"c:/projects/myproject/c.ts"}:: c:\projects\myproject\c.ts updated +Custom watchFile:: Triggered:: {"id":15,"path":"c:/projects/myproject/c.ts"}:: c:\projects\myproject\c.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject\c.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"c:/projects/myproject","recursive":true,"ignoreUpdate":true}:: c:\projects\myproject\c.ts updated Before running Timeout callback:: count: 0 //// [c:/projects/myproject/c.ts] @@ -919,7 +993,7 @@ Info seq [hh:mm:ss:mss] request: { "command": "watchChange", "arguments": { - "id": 13, + "id": 15, "updated": [ "c:\\projects\\myproject\\c.ts" ] @@ -934,8 +1008,8 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with c:/projects/ After request Timeout callback:: count: 2 -5: c:/projects/myproject/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +6: c:/projects/myproject/tsconfig.json *new* +7: *ensureProjectForOpenFiles* *new* Projects:: c:/projects/myproject/tsconfig.json (Configured) *changed* @@ -971,8 +1045,8 @@ c:/projects/myproject/node_modules/something/index.d.ts c:/projects/myproject/tsconfig.json Before running Timeout callback:: count: 2 -5: c:/projects/myproject/tsconfig.json -6: *ensureProjectForOpenFiles* +6: c:/projects/myproject/tsconfig.json +7: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproject/tsconfig.json @@ -1051,8 +1125,12 @@ c:/projects/myproject/node_modules/something/index.d.ts containingProjects: 1 c:/projects/myproject/tsconfig.json +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject\d.ts created Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"c:/projects/myproject","recursive":true,"ignoreUpdate":true}:: c:\projects\myproject\d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject\d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":7,"path":"c:/projects","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject\d.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"c:/projects/myproject","recursive":true,"ignoreUpdate":true}:: c:\projects\myproject\d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":7,"path":"c:/projects","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject updated Before running Timeout callback:: count: 0 //// [c:/projects/myproject/d.ts] export class a { prop = "hello"; foo() { return this.prop; } } @@ -1060,7 +1138,8 @@ export class a { prop = "hello"; foo() { return this.prop; } } After running Timeout callback:: count: 0 -Custom watchFile:: Triggered:: {"id":13,"path":"c:/projects/myproject/c.ts"}:: c:\projects\myproject\c.ts updated +Custom watchFile:: Triggered:: {"id":15,"path":"c:/projects/myproject/c.ts"}:: c:\projects\myproject\c.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject\c.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"c:/projects/myproject","recursive":true,"ignoreUpdate":true}:: c:\projects\myproject\c.ts updated Before running Timeout callback:: count: 0 //// [c:/projects/myproject/c.ts] @@ -1069,8 +1148,12 @@ export class a { prop = "hello"; foo() { return this.prop; } }export const y = 2 After running Timeout callback:: count: 0 +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject\e.ts created Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"c:/projects/myproject","recursive":true,"ignoreUpdate":true}:: c:\projects\myproject\e.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject\e.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":7,"path":"c:/projects","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject\e.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"c:/projects/myproject","recursive":true,"ignoreUpdate":true}:: c:\projects\myproject\e.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":7,"path":"c:/projects","recursive":false,"ignoreUpdate":true}:: c:\projects\myproject updated Before running Timeout callback:: count: 0 //// [c:/projects/myproject/e.ts] export class a { prop = "hello"; foo() { return this.prop; } } @@ -1084,6 +1167,13 @@ Info seq [hh:mm:ss:mss] request: { "command": "watchChange", "arguments": [ + { + "id": 8, + "created": [ + "c:\\projects\\myproject\\d.ts", + "c:\\projects\\myproject\\e.ts" + ] + }, { "id": 2, "created": [ @@ -1092,7 +1182,7 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 13, + "id": 15, "updated": [ "c:\\projects\\myproject\\c.ts" ] @@ -1101,6 +1191,12 @@ Info seq [hh:mm:ss:mss] request: "seq": 7, "type": "request" } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with c:/projects/myproject/d.ts :: WatchInfo: c:/projects/myproject 0 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with c:/projects/myproject/d.ts :: WatchInfo: c:/projects/myproject 0 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with c:/projects/myproject/e.ts :: WatchInfo: c:/projects/myproject 0 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with c:/projects/myproject/e.ts :: WatchInfo: c:/projects/myproject 0 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with c:/projects/myproject/d.ts :: WatchInfo: c:/projects/myproject 1 undefined Config: c:/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1115,9 +1211,10 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with c:/projects/myproject/c.ts 1:: WatchInfo: c:/projects/myproject/c.ts 500 undefined WatchType: Closed Script info After request -Timeout callback:: count: 2 -11: c:/projects/myproject/tsconfig.json *new* -12: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 3 +9: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +14: c:/projects/myproject/tsconfig.json *new* +15: *ensureProjectForOpenFiles* *new* Projects:: c:/projects/myproject/tsconfig.json (Configured) *changed* @@ -1152,10 +1249,12 @@ c:/projects/myproject/node_modules/something/index.d.ts containingProjects: 1 c:/projects/myproject/tsconfig.json -Before running Timeout callback:: count: 2 -11: c:/projects/myproject/tsconfig.json -12: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 3 +9: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation +14: c:/projects/myproject/tsconfig.json +15: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Running: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: @@ -1164,11 +1263,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 15, + "id": 17, "path": "c:/projects/myproject/d.ts" } } -Custom watchFile:: Added:: {"id":15,"path":"c:/projects/myproject/d.ts"} +Custom watchFile:: Added:: {"id":17,"path":"c:/projects/myproject/d.ts"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/e.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { @@ -1176,11 +1275,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 16, + "id": 18, "path": "c:/projects/myproject/e.ts" } } -Custom watchFile:: Added:: {"id":16,"path":"c:/projects/myproject/e.ts"} +Custom watchFile:: Added:: {"id":18,"path":"c:/projects/myproject/e.ts"} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) @@ -1248,25 +1347,31 @@ PolledWatches:: c:/home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} c:/projects/myproject/b.ts: - {"event":{"id":14,"path":"c:/projects/myproject/b.ts"}} + {"event":{"id":16,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/c.ts: - {"event":{"id":13,"path":"c:/projects/myproject/c.ts"}} + {"event":{"id":15,"path":"c:/projects/myproject/c.ts"}} c:/projects/myproject/d.ts: *new* - {"event":{"id":15,"path":"c:/projects/myproject/d.ts"}} + {"event":{"id":17,"path":"c:/projects/myproject/d.ts"}} c:/projects/myproject/e.ts: *new* - {"event":{"id":16,"path":"c:/projects/myproject/e.ts"}} + {"event":{"id":18,"path":"c:/projects/myproject/e.ts"}} c:/projects/myproject/m.ts: {"event":{"id":4,"path":"c:/projects/myproject/m.ts"}} c:/projects/myproject/node_modules/package.json: - {"event":{"id":8,"path":"c:/projects/myproject/node_modules/package.json"}} + {"event":{"id":10,"path":"c:/projects/myproject/node_modules/package.json"}} c:/projects/myproject/node_modules/something/package.json: - {"event":{"id":7,"path":"c:/projects/myproject/node_modules/something/package.json"}} + {"event":{"id":9,"path":"c:/projects/myproject/node_modules/something/package.json"}} c:/projects/myproject/package.json: - {"event":{"id":9,"path":"c:/projects/myproject/package.json"}} + {"event":{"id":11,"path":"c:/projects/myproject/package.json"}} c:/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"c:/projects/myproject/tsconfig.json"}} c:/projects/package.json: - {"event":{"id":10,"path":"c:/projects/package.json"}} + {"event":{"id":12,"path":"c:/projects/package.json"}} + +FsWatches:: +c:/projects: + {"event":{"id":7,"path":"c:/projects","recursive":false,"ignoreUpdate":true}} +c:/projects/myproject: + {"event":{"id":8,"path":"c:/projects/myproject","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: c:/projects/myproject: @@ -1274,9 +1379,9 @@ c:/projects/myproject: c:/projects/myproject/node_modules: {"event":{"id":5,"path":"c:/projects/myproject/node_modules","recursive":true}} c:/projects/myproject/node_modules/@types: - {"event":{"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} c:/projects/node_modules/@types: - {"event":{"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: c:/projects/myproject/tsconfig.json (Configured) *changed* @@ -1352,9 +1457,9 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with c:/proj After request Timeout callback:: count: 3 -13: c:/projects/myproject/tsconfig.json *new* -14: *ensureProjectForOpenFiles* *new* -15: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +16: c:/projects/myproject/tsconfig.json *new* +17: *ensureProjectForOpenFiles* *new* +18: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* Projects:: c:/projects/myproject/tsconfig.json (Configured) *changed* @@ -1398,9 +1503,9 @@ c:/projects/myproject/node_modules/something/index.d.ts *changed* c:/projects/myproject/tsconfig.json Before running Timeout callback:: count: 3 -13: c:/projects/myproject/tsconfig.json -14: *ensureProjectForOpenFiles* -15: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation +16: c:/projects/myproject/tsconfig.json +17: *ensureProjectForOpenFiles* +18: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -1421,9 +1526,9 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- After running Timeout callback:: count: 1 Timeout callback:: count: 1 -14: *ensureProjectForOpenFiles* *deleted* -15: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation *deleted* -16: *ensureProjectForOpenFiles* *new* +17: *ensureProjectForOpenFiles* *deleted* +18: c:/projects/myproject/tsconfig.jsonFailedLookupInvalidation *deleted* +19: *ensureProjectForOpenFiles* *new* Projects:: c:/projects/myproject/tsconfig.json (Configured) *changed* @@ -1467,7 +1572,7 @@ c:/projects/myproject/node_modules/something/index.d.ts *changed* c:/projects/myproject/tsconfig.json Before running Timeout callback:: count: 1 -16: *ensureProjectForOpenFiles* +19: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js index d03e0b6009ff9..e4efc4159a343 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js @@ -64,8 +64,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/something/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -133,6 +137,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/b.ts: *new* {} /user/username/projects/myproject/m.ts: *new* @@ -174,20 +182,25 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/c.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/c.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/c.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/c.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory -Before running Timeout callback:: count: 2 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 3 +1: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +2: /user/username/projects/myproject/tsconfig.json +3: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/c.ts] export class a { prop = "hello"; foo() { return this.prop; } } -Timeout callback:: count: 2 -1: /user/username/projects/myproject/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 3 +1: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +2: /user/username/projects/myproject/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -196,6 +209,7 @@ Projects:: dirty: true *changed* autoImportProviderHost: false +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json @@ -260,6 +274,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/b.ts: {} /user/username/projects/myproject/c.ts: *new* @@ -344,15 +362,15 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/b.ts 1:: WatchInfo: /user/username/projects/myproject/b.ts 500 undefined WatchType: Closed Script info Before running Timeout callback:: count: 2 -3: /user/username/projects/myproject/tsconfig.json -4: *ensureProjectForOpenFiles* +4: /user/username/projects/myproject/tsconfig.json +5: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/b.ts] export class a { prop = "hello"; foo() { return this.prop; } } Timeout callback:: count: 2 -3: /user/username/projects/myproject/tsconfig.json *new* -4: *ensureProjectForOpenFiles* *new* +4: /user/username/projects/myproject/tsconfig.json *new* +5: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -532,6 +550,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/c.ts: {} /user/username/projects/myproject/m.ts: @@ -622,6 +644,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/b.ts: *new* {} /user/username/projects/myproject/c.ts: @@ -669,15 +695,15 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/c.ts 1:: WatchInfo: /user/username/projects/myproject/c.ts 500 undefined WatchType: Closed Script info Before running Timeout callback:: count: 2 -5: /user/username/projects/myproject/tsconfig.json -6: *ensureProjectForOpenFiles* +6: /user/username/projects/myproject/tsconfig.json +7: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/c.ts] export class a { prop = "hello"; foo() { return this.prop; } }export const y = 20; Timeout callback:: count: 2 -5: /user/username/projects/myproject/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +6: /user/username/projects/myproject/tsconfig.json *new* +7: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -808,20 +834,25 @@ Before running Timeout callback:: count: 0 After running Timeout callback:: count: 0 +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/d.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/d.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory -Before running Timeout callback:: count: 2 -7: /user/username/projects/myproject/tsconfig.json -8: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 3 +8: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +9: /user/username/projects/myproject/tsconfig.json +10: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/d.ts] export class a { prop = "hello"; foo() { return this.prop; } } -Timeout callback:: count: 2 -7: /user/username/projects/myproject/tsconfig.json *new* -8: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 3 +8: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +9: /user/username/projects/myproject/tsconfig.json *new* +10: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -829,6 +860,7 @@ Projects:: projectProgramVersion: 2 dirty: true *changed* +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json @@ -896,6 +928,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/b.ts: {} /user/username/projects/myproject/c.ts: @@ -954,15 +990,15 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/c.ts 1:: WatchInfo: /user/username/projects/myproject/c.ts 500 undefined WatchType: Closed Script info Before running Timeout callback:: count: 2 -9: /user/username/projects/myproject/tsconfig.json -10: *ensureProjectForOpenFiles* +11: /user/username/projects/myproject/tsconfig.json +12: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/c.ts] export class a { prop = "hello"; foo() { return this.prop; } }export const y = 20;export const z = 30; Timeout callback:: count: 2 -9: /user/username/projects/myproject/tsconfig.json *new* -10: *ensureProjectForOpenFiles* *new* +11: /user/username/projects/myproject/tsconfig.json *new* +12: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -1071,20 +1107,25 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/e.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/e.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/e.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/e.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory -Before running Timeout callback:: count: 2 -11: /user/username/projects/myproject/tsconfig.json -12: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 3 +13: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +14: /user/username/projects/myproject/tsconfig.json +15: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/e.ts] export class a { prop = "hello"; foo() { return this.prop; } } -Timeout callback:: count: 2 -11: /user/username/projects/myproject/tsconfig.json *new* -12: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 3 +13: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +14: /user/username/projects/myproject/tsconfig.json *new* +15: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -1092,6 +1133,7 @@ Projects:: projectProgramVersion: 3 dirty: true *changed* +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/e.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json @@ -1162,6 +1204,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/b.ts: {} /user/username/projects/myproject/c.ts: diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js index 80fe1693bdf7f..0285984e1fc24 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js @@ -143,8 +143,38 @@ Info seq [hh:mm:ss:mss] event: } } Custom watchFile:: Added:: {"id":6,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 7, + "path": "/user/username/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":7,"path":"/user/username/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 8, + "path": "/user/username/projects/myproject", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/something/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -152,11 +182,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 7, + "id": 9, "path": "/user/username/projects/myproject/node_modules/something/package.json" } } -Custom watchFile:: Added:: {"id":7,"path":"/user/username/projects/myproject/node_modules/something/package.json"} +Custom watchFile:: Added:: {"id":9,"path":"/user/username/projects/myproject/node_modules/something/package.json"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -164,11 +194,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 8, + "id": 10, "path": "/user/username/projects/myproject/node_modules/package.json" } } -Custom watchFile:: Added:: {"id":8,"path":"/user/username/projects/myproject/node_modules/package.json"} +Custom watchFile:: Added:: {"id":10,"path":"/user/username/projects/myproject/node_modules/package.json"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -176,11 +206,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 9, + "id": 11, "path": "/user/username/projects/myproject/package.json" } } -Custom watchFile:: Added:: {"id":9,"path":"/user/username/projects/myproject/package.json"} +Custom watchFile:: Added:: {"id":11,"path":"/user/username/projects/myproject/package.json"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -188,11 +218,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 10, + "id": 12, "path": "/user/username/projects/package.json" } } -Custom watchFile:: Added:: {"id":10,"path":"/user/username/projects/package.json"} +Custom watchFile:: Added:: {"id":12,"path":"/user/username/projects/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -200,13 +230,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 11, + "id": 13, "path": "/user/username/projects/myproject/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":13,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -215,13 +245,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 14, "path": "/user/username/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":14,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -334,15 +364,21 @@ PolledWatches:: /user/username/projects/myproject/m.ts: *new* {"event":{"id":4,"path":"/user/username/projects/myproject/m.ts"}} /user/username/projects/myproject/node_modules/package.json: *new* - {"event":{"id":8,"path":"/user/username/projects/myproject/node_modules/package.json"}} + {"event":{"id":10,"path":"/user/username/projects/myproject/node_modules/package.json"}} /user/username/projects/myproject/node_modules/something/package.json: *new* - {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} + {"event":{"id":9,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} /user/username/projects/myproject/package.json: *new* - {"event":{"id":9,"path":"/user/username/projects/myproject/package.json"}} + {"event":{"id":11,"path":"/user/username/projects/myproject/package.json"}} /user/username/projects/myproject/tsconfig.json: *new* {"event":{"id":1,"path":"/user/username/projects/myproject/tsconfig.json"}} /user/username/projects/package.json: *new* - {"event":{"id":10,"path":"/user/username/projects/package.json"}} + {"event":{"id":12,"path":"/user/username/projects/package.json"}} + +FsWatches:: +/user/username/projects: *new* + {"event":{"id":7,"path":"/user/username/projects","recursive":false,"ignoreUpdate":true}} +/user/username/projects/myproject: *new* + {"event":{"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /user/username/projects/myproject: *new* @@ -350,9 +386,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: *new* {"event":{"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true}} /user/username/projects/myproject/node_modules/@types: *new* - {"event":{"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /user/username/projects/node_modules/@types: *new* - {"event":{"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *new* @@ -382,8 +418,12 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig.json +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject/c.ts created Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/user/username/projects/myproject","recursive":true,"ignoreUpdate":true}:: /user/username/projects/myproject/c.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject/c.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":7,"path":"/user/username/projects","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject/c.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/user/username/projects/myproject","recursive":true,"ignoreUpdate":true}:: /user/username/projects/myproject/c.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":7,"path":"/user/username/projects","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject updated Before running Timeout callback:: count: 0 //// [/user/username/projects/myproject/c.ts] export class a { prop = "hello"; foo() { return this.prop; } } @@ -396,24 +436,36 @@ Before request Info seq [hh:mm:ss:mss] request: { "command": "watchChange", - "arguments": { - "id": 2, - "created": [ - "/user/username/projects/myproject/c.ts" - ] - }, + "arguments": [ + { + "id": 8, + "created": [ + "/user/username/projects/myproject/c.ts" + ] + }, + { + "id": 2, + "created": [ + "/user/username/projects/myproject/c.ts" + ] + } + ], "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/c.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/c.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/c.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/c.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory After request -Timeout callback:: count: 2 -1: /user/username/projects/myproject/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 3 +1: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +2: /user/username/projects/myproject/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -422,10 +474,12 @@ Projects:: dirty: true *changed* autoImportProviderHost: false -Before running Timeout callback:: count: 2 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 3 +1: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +2: /user/username/projects/myproject/tsconfig.json +3: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: @@ -434,11 +488,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 13, + "id": 15, "path": "/user/username/projects/myproject/c.ts" } } -Custom watchFile:: Added:: {"id":13,"path":"/user/username/projects/myproject/c.ts"} +Custom watchFile:: Added:: {"id":15,"path":"/user/username/projects/myproject/c.ts"} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -502,19 +556,25 @@ PolledWatches:: /user/username/projects/myproject/b.ts: {"event":{"id":3,"path":"/user/username/projects/myproject/b.ts"}} /user/username/projects/myproject/c.ts: *new* - {"event":{"id":13,"path":"/user/username/projects/myproject/c.ts"}} + {"event":{"id":15,"path":"/user/username/projects/myproject/c.ts"}} /user/username/projects/myproject/m.ts: {"event":{"id":4,"path":"/user/username/projects/myproject/m.ts"}} /user/username/projects/myproject/node_modules/package.json: - {"event":{"id":8,"path":"/user/username/projects/myproject/node_modules/package.json"}} + {"event":{"id":10,"path":"/user/username/projects/myproject/node_modules/package.json"}} /user/username/projects/myproject/node_modules/something/package.json: - {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} + {"event":{"id":9,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} /user/username/projects/myproject/package.json: - {"event":{"id":9,"path":"/user/username/projects/myproject/package.json"}} + {"event":{"id":11,"path":"/user/username/projects/myproject/package.json"}} /user/username/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/user/username/projects/myproject/tsconfig.json"}} /user/username/projects/package.json: - {"event":{"id":10,"path":"/user/username/projects/package.json"}} + {"event":{"id":12,"path":"/user/username/projects/package.json"}} + +FsWatches:: +/user/username/projects: + {"event":{"id":7,"path":"/user/username/projects","recursive":false,"ignoreUpdate":true}} +/user/username/projects/myproject: + {"event":{"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /user/username/projects/myproject: @@ -522,9 +582,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {"event":{"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true}} /user/username/projects/myproject/node_modules/@types: - {"event":{"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /user/username/projects/node_modules/@types: - {"event":{"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -560,6 +620,7 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json Custom watchFile:: Triggered:: {"id":3,"path":"/user/username/projects/myproject/b.ts"}:: /user/username/projects/myproject/b.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject/b.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/user/username/projects/myproject","recursive":true,"ignoreUpdate":true}:: /user/username/projects/myproject/b.ts updated Before running Timeout callback:: count: 0 //// [/user/username/projects/myproject/b.ts] @@ -589,8 +650,8 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/userna After request Timeout callback:: count: 2 -3: /user/username/projects/myproject/tsconfig.json *new* -4: *ensureProjectForOpenFiles* *new* +4: /user/username/projects/myproject/tsconfig.json *new* +5: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -626,8 +687,8 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json Before running Timeout callback:: count: 2 -3: /user/username/projects/myproject/tsconfig.json -4: *ensureProjectForOpenFiles* +4: /user/username/projects/myproject/tsconfig.json +5: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json @@ -752,33 +813,39 @@ PolledWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} /user/username/projects/myproject/c.ts: - {"event":{"id":13,"path":"/user/username/projects/myproject/c.ts"}} + {"event":{"id":15,"path":"/user/username/projects/myproject/c.ts"}} /user/username/projects/myproject/m.ts: {"event":{"id":4,"path":"/user/username/projects/myproject/m.ts"}} /user/username/projects/myproject/node_modules/package.json: - {"event":{"id":8,"path":"/user/username/projects/myproject/node_modules/package.json"}} + {"event":{"id":10,"path":"/user/username/projects/myproject/node_modules/package.json"}} /user/username/projects/myproject/node_modules/something/package.json: - {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} + {"event":{"id":9,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} /user/username/projects/myproject/package.json: - {"event":{"id":9,"path":"/user/username/projects/myproject/package.json"}} + {"event":{"id":11,"path":"/user/username/projects/myproject/package.json"}} /user/username/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/user/username/projects/myproject/tsconfig.json"}} /user/username/projects/package.json: - {"event":{"id":10,"path":"/user/username/projects/package.json"}} + {"event":{"id":12,"path":"/user/username/projects/package.json"}} PolledWatches *deleted*:: /user/username/projects/myproject/b.ts: {"event":{"id":3,"path":"/user/username/projects/myproject/b.ts"}} +FsWatches:: +/user/username/projects: + {"event":{"id":7,"path":"/user/username/projects","recursive":false,"ignoreUpdate":true}} +/user/username/projects/myproject: + {"event":{"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /user/username/projects/myproject: {"event":{"id":2,"path":"/user/username/projects/myproject","recursive":true,"ignoreUpdate":true}} /user/username/projects/myproject/node_modules: {"event":{"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true}} /user/username/projects/myproject/node_modules/@types: - {"event":{"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /user/username/projects/node_modules/@types: - {"event":{"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -825,11 +892,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 14, + "id": 16, "path": "/user/username/projects/myproject/b.ts" } } -Custom watchFile:: Added:: {"id":14,"path":"/user/username/projects/myproject/b.ts"} +Custom watchFile:: Added:: {"id":16,"path":"/user/username/projects/myproject/b.ts"} Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -851,21 +918,27 @@ PolledWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} /user/username/projects/myproject/b.ts: *new* - {"event":{"id":14,"path":"/user/username/projects/myproject/b.ts"}} + {"event":{"id":16,"path":"/user/username/projects/myproject/b.ts"}} /user/username/projects/myproject/c.ts: - {"event":{"id":13,"path":"/user/username/projects/myproject/c.ts"}} + {"event":{"id":15,"path":"/user/username/projects/myproject/c.ts"}} /user/username/projects/myproject/m.ts: {"event":{"id":4,"path":"/user/username/projects/myproject/m.ts"}} /user/username/projects/myproject/node_modules/package.json: - {"event":{"id":8,"path":"/user/username/projects/myproject/node_modules/package.json"}} + {"event":{"id":10,"path":"/user/username/projects/myproject/node_modules/package.json"}} /user/username/projects/myproject/node_modules/something/package.json: - {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} + {"event":{"id":9,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} /user/username/projects/myproject/package.json: - {"event":{"id":9,"path":"/user/username/projects/myproject/package.json"}} + {"event":{"id":11,"path":"/user/username/projects/myproject/package.json"}} /user/username/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/user/username/projects/myproject/tsconfig.json"}} /user/username/projects/package.json: - {"event":{"id":10,"path":"/user/username/projects/package.json"}} + {"event":{"id":12,"path":"/user/username/projects/package.json"}} + +FsWatches:: +/user/username/projects: + {"event":{"id":7,"path":"/user/username/projects","recursive":false,"ignoreUpdate":true}} +/user/username/projects/myproject: + {"event":{"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /user/username/projects/myproject: @@ -873,9 +946,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {"event":{"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true}} /user/username/projects/myproject/node_modules/@types: - {"event":{"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /user/username/projects/node_modules/@types: - {"event":{"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -904,7 +977,8 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig.json -Custom watchFile:: Triggered:: {"id":13,"path":"/user/username/projects/myproject/c.ts"}:: /user/username/projects/myproject/c.ts updated +Custom watchFile:: Triggered:: {"id":15,"path":"/user/username/projects/myproject/c.ts"}:: /user/username/projects/myproject/c.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject/c.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/user/username/projects/myproject","recursive":true,"ignoreUpdate":true}:: /user/username/projects/myproject/c.ts updated Before running Timeout callback:: count: 0 //// [/user/username/projects/myproject/c.ts] @@ -919,7 +993,7 @@ Info seq [hh:mm:ss:mss] request: { "command": "watchChange", "arguments": { - "id": 13, + "id": 15, "updated": [ "/user/username/projects/myproject/c.ts" ] @@ -934,8 +1008,8 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/userna After request Timeout callback:: count: 2 -5: /user/username/projects/myproject/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +6: /user/username/projects/myproject/tsconfig.json *new* +7: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -971,8 +1045,8 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json Before running Timeout callback:: count: 2 -5: /user/username/projects/myproject/tsconfig.json -6: *ensureProjectForOpenFiles* +6: /user/username/projects/myproject/tsconfig.json +7: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json @@ -1051,8 +1125,12 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig.json +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject/d.ts created Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/user/username/projects/myproject","recursive":true,"ignoreUpdate":true}:: /user/username/projects/myproject/d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject/d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":7,"path":"/user/username/projects","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject/d.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/user/username/projects/myproject","recursive":true,"ignoreUpdate":true}:: /user/username/projects/myproject/d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":7,"path":"/user/username/projects","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject updated Before running Timeout callback:: count: 0 //// [/user/username/projects/myproject/d.ts] export class a { prop = "hello"; foo() { return this.prop; } } @@ -1060,7 +1138,8 @@ export class a { prop = "hello"; foo() { return this.prop; } } After running Timeout callback:: count: 0 -Custom watchFile:: Triggered:: {"id":13,"path":"/user/username/projects/myproject/c.ts"}:: /user/username/projects/myproject/c.ts updated +Custom watchFile:: Triggered:: {"id":15,"path":"/user/username/projects/myproject/c.ts"}:: /user/username/projects/myproject/c.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject/c.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/user/username/projects/myproject","recursive":true,"ignoreUpdate":true}:: /user/username/projects/myproject/c.ts updated Before running Timeout callback:: count: 0 //// [/user/username/projects/myproject/c.ts] @@ -1069,8 +1148,12 @@ export class a { prop = "hello"; foo() { return this.prop; } }export const y = 2 After running Timeout callback:: count: 0 +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject/e.ts created Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/user/username/projects/myproject","recursive":true,"ignoreUpdate":true}:: /user/username/projects/myproject/e.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject/e.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":7,"path":"/user/username/projects","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject/e.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/user/username/projects/myproject","recursive":true,"ignoreUpdate":true}:: /user/username/projects/myproject/e.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":7,"path":"/user/username/projects","recursive":false,"ignoreUpdate":true}:: /user/username/projects/myproject updated Before running Timeout callback:: count: 0 //// [/user/username/projects/myproject/e.ts] export class a { prop = "hello"; foo() { return this.prop; } } @@ -1084,6 +1167,13 @@ Info seq [hh:mm:ss:mss] request: { "command": "watchChange", "arguments": [ + { + "id": 8, + "created": [ + "/user/username/projects/myproject/d.ts", + "/user/username/projects/myproject/e.ts" + ] + }, { "id": 2, "created": [ @@ -1092,7 +1182,7 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 13, + "id": 15, "updated": [ "/user/username/projects/myproject/c.ts" ] @@ -1101,6 +1191,12 @@ Info seq [hh:mm:ss:mss] request: "seq": 7, "type": "request" } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/d.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/d.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/e.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/e.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* @@ -1115,9 +1211,10 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/c.ts 1:: WatchInfo: /user/username/projects/myproject/c.ts 500 undefined WatchType: Closed Script info After request -Timeout callback:: count: 2 -11: /user/username/projects/myproject/tsconfig.json *new* -12: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 3 +9: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +14: /user/username/projects/myproject/tsconfig.json *new* +15: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -1152,10 +1249,12 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig.json -Before running Timeout callback:: count: 2 -11: /user/username/projects/myproject/tsconfig.json -12: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 3 +9: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +14: /user/username/projects/myproject/tsconfig.json +15: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: @@ -1164,11 +1263,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 15, + "id": 17, "path": "/user/username/projects/myproject/d.ts" } } -Custom watchFile:: Added:: {"id":15,"path":"/user/username/projects/myproject/d.ts"} +Custom watchFile:: Added:: {"id":17,"path":"/user/username/projects/myproject/d.ts"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/e.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { @@ -1176,11 +1275,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 16, + "id": 18, "path": "/user/username/projects/myproject/e.ts" } } -Custom watchFile:: Added:: {"id":16,"path":"/user/username/projects/myproject/e.ts"} +Custom watchFile:: Added:: {"id":18,"path":"/user/username/projects/myproject/e.ts"} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -1248,25 +1347,31 @@ PolledWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} /user/username/projects/myproject/b.ts: - {"event":{"id":14,"path":"/user/username/projects/myproject/b.ts"}} + {"event":{"id":16,"path":"/user/username/projects/myproject/b.ts"}} /user/username/projects/myproject/c.ts: - {"event":{"id":13,"path":"/user/username/projects/myproject/c.ts"}} + {"event":{"id":15,"path":"/user/username/projects/myproject/c.ts"}} /user/username/projects/myproject/d.ts: *new* - {"event":{"id":15,"path":"/user/username/projects/myproject/d.ts"}} + {"event":{"id":17,"path":"/user/username/projects/myproject/d.ts"}} /user/username/projects/myproject/e.ts: *new* - {"event":{"id":16,"path":"/user/username/projects/myproject/e.ts"}} + {"event":{"id":18,"path":"/user/username/projects/myproject/e.ts"}} /user/username/projects/myproject/m.ts: {"event":{"id":4,"path":"/user/username/projects/myproject/m.ts"}} /user/username/projects/myproject/node_modules/package.json: - {"event":{"id":8,"path":"/user/username/projects/myproject/node_modules/package.json"}} + {"event":{"id":10,"path":"/user/username/projects/myproject/node_modules/package.json"}} /user/username/projects/myproject/node_modules/something/package.json: - {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} + {"event":{"id":9,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} /user/username/projects/myproject/package.json: - {"event":{"id":9,"path":"/user/username/projects/myproject/package.json"}} + {"event":{"id":11,"path":"/user/username/projects/myproject/package.json"}} /user/username/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/user/username/projects/myproject/tsconfig.json"}} /user/username/projects/package.json: - {"event":{"id":10,"path":"/user/username/projects/package.json"}} + {"event":{"id":12,"path":"/user/username/projects/package.json"}} + +FsWatches:: +/user/username/projects: + {"event":{"id":7,"path":"/user/username/projects","recursive":false,"ignoreUpdate":true}} +/user/username/projects/myproject: + {"event":{"id":8,"path":"/user/username/projects/myproject","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /user/username/projects/myproject: @@ -1274,9 +1379,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {"event":{"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true}} /user/username/projects/myproject/node_modules/@types: - {"event":{"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /user/username/projects/node_modules/@types: - {"event":{"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -1352,9 +1457,9 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u After request Timeout callback:: count: 3 -13: /user/username/projects/myproject/tsconfig.json *new* -14: *ensureProjectForOpenFiles* *new* -15: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +16: /user/username/projects/myproject/tsconfig.json *new* +17: *ensureProjectForOpenFiles* *new* +18: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -1398,9 +1503,9 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json Before running Timeout callback:: count: 3 -13: /user/username/projects/myproject/tsconfig.json -14: *ensureProjectForOpenFiles* -15: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +16: /user/username/projects/myproject/tsconfig.json +17: *ensureProjectForOpenFiles* +18: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one @@ -1421,9 +1526,9 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- After running Timeout callback:: count: 1 Timeout callback:: count: 1 -14: *ensureProjectForOpenFiles* *deleted* -15: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *deleted* -16: *ensureProjectForOpenFiles* *new* +17: *ensureProjectForOpenFiles* *deleted* +18: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *deleted* +19: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -1467,7 +1572,7 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json Before running Timeout callback:: count: 1 -16: *ensureProjectForOpenFiles* +19: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: diff --git a/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js b/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js index c41dd4941ceb9..8434c0666dbf8 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js +++ b/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js @@ -418,15 +418,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -446,11 +446,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/a.ts" } } diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js index 51b2f861ad5b2..ed5176a1aeb5e 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js @@ -418,15 +418,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -446,11 +446,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/a.ts" } } diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js index 6c249dda370f0..42f0b27728814 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js @@ -534,15 +534,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -562,11 +562,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/packages/lib/index", + "source": "lib", "hasAction": true, + "sourceDisplay": [ + { + "text": "lib", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "lib", "fileName": "/home/src/projects/project/packages/lib/index.ts" } } diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js index b850cec1d29ca..58f37f57b0bfd 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js @@ -532,15 +532,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -560,12 +560,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/packages/lib/index", + "source": "lib", "hasAction": true, + "sourceDisplay": [ + { + "text": "lib", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "lib", "fileName": "/home/src/projects/project/packages/lib/index.ts", "isPackageJsonImport": true } diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js index 6d44d8c9f1ef0..f63217affeb0c 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js @@ -418,15 +418,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -446,11 +446,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/a.ts" } } diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js index 25ce6d69617ba..6322d949f7771 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js @@ -418,15 +418,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -446,11 +446,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/a.ts" } } diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js index e943e7bb6b418..d0a0da9bcf983 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js @@ -418,15 +418,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -446,11 +446,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/a.ts" } } diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js index fed676a1cbbce..611668d744568 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js @@ -418,15 +418,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -446,11 +446,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/a.ts" } } diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js index f759ceaf1d24b..76d1bafb12b32 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js @@ -534,15 +534,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -562,11 +562,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/packages/lib/index", + "source": "lib", "hasAction": true, + "sourceDisplay": [ + { + "text": "lib", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "lib", "fileName": "/home/src/projects/project/packages/lib/index.ts" } } @@ -690,7 +697,7 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -717,11 +724,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/packages/lib/index", + "source": "lib", "hasAction": true, + "sourceDisplay": [ + { + "text": "lib", + "kind": "text" + } + ], "data": { "exportName": "food", "exportMapKey": "4 * food ", + "moduleSpecifier": "lib", "fileName": "/home/src/projects/project/packages/lib/index.ts" } } diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js index 0fd0835af2f83..770db875225bb 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js @@ -532,15 +532,15 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -560,12 +560,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/packages/lib/index", + "source": "lib", "hasAction": true, + "sourceDisplay": [ + { + "text": "lib", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "lib", "fileName": "/home/src/projects/project/packages/lib/index.ts", "isPackageJsonImport": true } @@ -691,7 +698,7 @@ Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -718,12 +725,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/packages/lib/index", + "source": "lib", "hasAction": true, + "sourceDisplay": [ + { + "text": "lib", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "food", "exportMapKey": "4 * food ", + "moduleSpecifier": "lib", "fileName": "/home/src/projects/project/packages/lib/index.ts", "isPackageJsonImport": true } diff --git a/tests/baselines/reference/tsserver/extends/configDir-template.js b/tests/baselines/reference/tsserver/extends/configDir-template.js index 0965ee45cdd26..87c1c856c8d5e 100644 --- a/tests/baselines/reference/tsserver/extends/configDir-template.js +++ b/tests/baselines/reference/tsserver/extends/configDir-template.js @@ -180,23 +180,31 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/main.ts 500 {"excludeDirectories":["/home/src/Vscode/Projects/bin/node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. Info seq [hh:mm:ss:mss] 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. Info seq [hh:mm:ss:mss] 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Info seq [hh:mm:ss:mss] Module name '@myscope/sometype', matched pattern '@myscope/*'. Info seq [hh:mm:ss:mss] Trying substitution '/home/src/projects/myproject/types/*', candidate module location: '/home/src/projects/myproject/types/sometype'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/types/sometype.ts 500 {"excludeDirectories":["/home/src/Vscode/Projects/bin/node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. Info seq [hh:mm:ss:mss] 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. Info seq [hh:mm:ss:mss] 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Info seq [hh:mm:ss:mss] Module name 'other/sometype2', matched pattern 'other/*'. Info seq [hh:mm:ss:mss] Trying substitution 'other/*', candidate module location: 'other/sometype2'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, JavaScript, Declaration, JSON. +Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. @@ -204,6 +212,13 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. +Info seq [hh:mm:ss:mss] Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. +Info seq [hh:mm:ss:mss] Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. +Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. +Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. +Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. +Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/configs/first/root1' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/sometype2.d.ts' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist. @@ -216,6 +231,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/other 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -223,6 +240,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/configs 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -346,10 +365,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} /home/src/projects/configs/first/tsconfig.json: *new* {} /home/src/projects/configs/second/tsconfig.json: *new* {} +/home/src/projects/myproject: *new* + {} /home/src/projects/myproject/main.ts: *new* {} /home/src/projects/myproject/root2/other/sometype2/index.d.ts: *new* @@ -476,22 +499,30 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. Info seq [hh:mm:ss:mss] 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. Info seq [hh:mm:ss:mss] 'paths' option is specified, looking for a pattern to match module name '@myscope/sometype'. Info seq [hh:mm:ss:mss] Module name '@myscope/sometype', matched pattern '@myscope/*'. Info seq [hh:mm:ss:mss] Trying substitution '/home/src/projects/myproject/types/*', candidate module location: '/home/src/projects/myproject/types/sometype'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. Info seq [hh:mm:ss:mss] 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. Info seq [hh:mm:ss:mss] 'paths' option is specified, looking for a pattern to match module name 'other/sometype2'. Info seq [hh:mm:ss:mss] Module name 'other/sometype2', matched pattern 'other/*'. Info seq [hh:mm:ss:mss] Trying substitution 'other/*', candidate module location: 'other/sometype2'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/myproject/other/sometype2', target file types: TypeScript, JavaScript, Declaration, JSON. +Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'other/sometype2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. @@ -499,6 +530,13 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. +Info seq [hh:mm:ss:mss] Directory '/home/src/projects/myproject/src/node_modules' does not exist, skipping all lookups in it. +Info seq [hh:mm:ss:mss] Directory '/home/src/projects/myproject/node_modules' does not exist, skipping all lookups in it. +Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. +Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. +Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. +Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/sometype2.d.ts' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result. @@ -574,10 +612,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} /home/src/projects/configs/first/tsconfig.json: {} /home/src/projects/configs/second/tsconfig.json: {} +/home/src/projects/myproject: + {} /home/src/projects/myproject/main.ts: {} /home/src/projects/myproject/root2/other/sometype2/index.d.ts: diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js index 0d5282ddbef2c..21a2256efc7fb 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js @@ -510,7 +510,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/a/b/tsconfig.json 2:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/a/b/tsconfig.json :: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/a/b/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/a/b/tsconfig.json :: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/a/b/lib.ts 0:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/a/b/lib.ts 0:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js index 1674fdd6f1668..214547244af41 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js @@ -501,7 +501,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/a/b/tsconfig.json 2:: WatchInfo: /home/src/projects/project/a/b/tsconfig.json 2000 undefined Project: /home/src/projects/project/a/b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/a/b/tsconfig.json :: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/a/b/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/a/b/tsconfig.json :: WatchInfo: /home/src/projects/project/a/b 1 undefined Config: /home/src/projects/project/a/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/a/b/lib.ts 0:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/a/b/lib.ts 0:: WatchInfo: /home/src/projects/project/a/b/lib.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js index 07fc4a74acf4f..e9459ed51681a 100644 --- a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js +++ b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js @@ -250,7 +250,6 @@ After request Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/someuser/projects/project/tsconfig.json 2:: WatchInfo: /user/someuser/projects/project/tsconfig.json 2000 undefined Project: /user/someuser/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/someuser/projects/project/tsconfig.json 2:: WatchInfo: /user/someuser/projects/project/tsconfig.json 2000 undefined Project: /user/someuser/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/someuser/projects/project/tsconfig.json :: WatchInfo: /user/someuser/projects/project 1 undefined Config: /user/someuser/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/someuser/projects/project/tsconfig.json Detected file add/remove of non supported extension: /user/someuser/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/someuser/projects/project/tsconfig.json :: WatchInfo: /user/someuser/projects/project 1 undefined Config: /user/someuser/projects/project/tsconfig.json WatchType: Wild card directory Before request //// [/user/someuser/projects/project/tsconfig.json] deleted diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index 101e58d6b07f8..00f244e247465 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -89,8 +89,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/fp-ts/lib/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/fp-ts/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution @@ -231,6 +235,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/projects/project/src/anotherFile.ts: *new* {} /home/src/projects/project/src/oneMore.ts: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js index d769a252a86fc..84f36a547313e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js @@ -299,7 +299,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/home/src/workspaces/project/web/src/Helper.ts", "configFile": "/home/src/workspaces/project/web/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 25 + }, + "end": { + "line": 4, + "offset": 31 + }, + "text": "Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/home/src/workspaces/project/web/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/common/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js index 82b3d6467c25d..f9fcbbb0087d6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js @@ -306,7 +306,22 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/home/src/workspaces/project/web/src/Helper.ts", "configFile": "/home/src/workspaces/project/web/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 25 + }, + "end": { + "line": 4, + "offset": 31 + }, + "text": "Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/home/src/workspaces/project/web/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/common/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js index c9f286b105a5b..baa970f4e0b09 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js @@ -196,10 +196,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js index 9e7e47cea8de8..220fe22a091f4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js @@ -228,8 +228,8 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImpo Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/indirect-dependency/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/indirect-dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/direct-dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/indirect-dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js index 19bf013015a44..b535f7cb42b28 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js @@ -1086,8 +1086,10 @@ Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -1099,7 +1101,7 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 3, "success": true, "body": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -1821,11 +1823,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "source": "/home/src/workspaces/project/node_modules/@types/react/index", + "source": "react", "hasAction": true, + "sourceDisplay": [ + { + "text": "react", + "kind": "text" + } + ], "data": { "exportName": "Component", "exportMapKey": "9 * Component ", + "moduleSpecifier": "react", "fileName": "/home/src/workspaces/project/node_modules/@types/react/index.d.ts" } }, @@ -1850,6 +1859,118 @@ Info seq [hh:mm:ss:mss] response: } } After Request +watchedFiles:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2015.collection.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2015.core.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2015.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2015.generator.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2015.iterable.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2015.promise.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2015.proxy.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2015.reflect.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2015.symbol.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2015.symbol.wellknown.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2016.array.include.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2016.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2016.intl.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2017.arraybuffer.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2017.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2017.date.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2017.intl.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2017.object.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2017.sharedmemory.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2017.string.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2017.typedarrays.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2018.asyncgenerator.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2018.asynciterable.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2018.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2018.intl.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2018.promise.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2018.regexp.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2019.array.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2019.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2019.intl.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2019.object.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2019.string.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es2019.symbol.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.es5.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/react/index.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/@types/react/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/home/src/workspaces/project/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} + {"pollingInterval":250} +/home/src/workspaces/project/tsconfig.json: + {"pollingInterval":2000} + +watchedDirectoriesRecursive:: +/home/src/workspaces/node_modules: + {} + {} +/home/src/workspaces/node_modules/@types: + {} + {} +/home/src/workspaces/project: + {} +/home/src/workspaces/project/node_modules: + {} + {} + {} *new* +/home/src/workspaces/project/node_modules/@types: + {} + {} + Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider9.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider9.js index b44740a043b06..83513a8a0355b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider9.js @@ -2127,6 +2127,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lib2/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lib2/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -2178,6 +2179,7 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":250} + {"pollingInterval":2000} *new* /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} @@ -2445,6 +2447,7 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":250} + {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js index 7d01d3abc8859..5bb073f6755c8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js @@ -205,6 +205,28 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" + /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts Text-1 "export function fooFromLol(): void;" + + + node_modules/dependency/lib/index.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" + node_modules/dependency/lib/lol.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) @@ -212,6 +234,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined @@ -224,7 +250,8 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 0, "success": true, "performanceData": { - "updateGraphDurationMs": * + "updateGraphDurationMs": *, + "createAutoImportProviderProgramDurationMs": * } } After Request @@ -239,6 +266,14 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: *new* + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/dependency/package.json: *new* + {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} {"pollingInterval":250} @@ -264,10 +299,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -286,6 +324,14 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts *new* version: Text-1 containingProjects: 1 @@ -313,6 +359,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined @@ -339,6 +389,14 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/package.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/dependency/package.json: + {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} @@ -366,10 +424,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -388,6 +449,14 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts (Open) *changed* open: true *changed* version: Text-1 @@ -421,10 +490,14 @@ Info seq [hh:mm:ss:mss] response: } After Request Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: undefined *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -444,14 +517,12 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 dependencies 0 referenced projects in * ms -Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject2*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts Text-1 "export function fooFromLol(): void;" @@ -968,14 +1039,16 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: *new* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* +/home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/dependency/package.json: *new* + {"pollingInterval":2000} *new* +/home/src/workspaces/project/node_modules/dependency/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} *new* /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} @@ -1000,16 +1073,21 @@ watchedDirectoriesRecursive:: {} Projects:: -/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* projectStateVersion: 1 projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -1024,14 +1102,16 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *new* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *changed* version: Text-1 - containingProjects: 1 + containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* -/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *new* + /dev/null/autoImportProviderProject2* *new* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *changed* version: Text-1 - containingProjects: 1 + containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* /home/src/workspaces/project/src/foo.ts (Open) version: Text-1 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js index a3c5703217712..3a0aee1fdb801 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js @@ -48,6 +48,7 @@ fooFrom { "compilerOptions": { "module": "commonjs" + "moduleResolution": "node10", } } @@ -70,6 +71,7 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { ], "options": { "module": 1, + "moduleResolution": 2, "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } @@ -134,7 +136,36 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/home/src/workspaces/project/tsconfig.json", "configFile": "/home/src/workspaces/project/tsconfig.json", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 4, + "offset": 25 + }, + "end": { + "line": 4, + "offset": 33 + }, + "text": "Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '\"ignoreDeprecations\": \"6.0\"' to silence this error.", + "code": 5107, + "category": "error", + "fileName": "/home/src/workspaces/project/tsconfig.json" + }, + { + "start": { + "line": 4, + "offset": 5 + }, + "end": { + "line": 4, + "offset": 23 + }, + "text": "',' expected.", + "code": 1005, + "category": "error", + "fileName": "/home/src/workspaces/project/tsconfig.json" + } + ] } } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined @@ -155,7 +186,7 @@ Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\"\n }\n}" + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\"\n \"moduleResolution\": \"node10\",\n }\n}" ../../tslibs/TS/Lib/lib.d.ts @@ -169,21 +200,26 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" + /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts Text-1 "export function fooFromLol(): void;" node_modules/dependency/lib/index.d.ts Root file specified for compilation File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" + node_modules/dependency/lib/lol.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) @@ -195,7 +231,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -225,6 +261,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: *new* + {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: *new* @@ -285,6 +323,10 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts *new* version: Text-1 containingProjects: 1 @@ -314,7 +356,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -342,6 +384,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: + {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: @@ -404,6 +448,10 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts (Open) *changed* open: true *changed* version: Text-1 @@ -1212,6 +1260,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: + {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} {"pollingInterval":2000} *new* @@ -1278,6 +1328,10 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* /dev/null/autoImportProviderProject2* *new* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts (Open) version: Text-1 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js index 1452af168a84f..3a13a711d92e9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js @@ -198,20 +198,24 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" + /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts Text-1 "export function fooFromLol(): void;" node_modules/dependency/lib/index.d.ts Root file specified for compilation + node_modules/dependency/lib/lol.d.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) @@ -223,7 +227,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -255,6 +259,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: *new* + {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: *new* @@ -313,6 +319,10 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts *new* version: Text-1 containingProjects: 1 @@ -342,7 +352,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -372,6 +382,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: + {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: @@ -432,6 +444,10 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts (Open) *changed* open: true *changed* version: Text-1 @@ -493,7 +509,6 @@ Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject2*, currentDirectory: /home/src/workspaces/project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution @@ -995,7 +1010,7 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: *new* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} @@ -1061,10 +1076,11 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* /dev/null/autoImportProviderProject2* *new* -/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *new* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *changed* version: Text-1 - containingProjects: 1 - /dev/null/autoImportProviderProject2* + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* /home/src/workspaces/project/src/foo.ts (Open) version: Text-1 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js index 816c1e6c7a3b4..1a0b32d97c960 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js @@ -201,6 +201,23 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) + /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" + + + node_modules/dependency/lib/index.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) @@ -208,6 +225,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined @@ -220,7 +241,8 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 0, "success": true, "performanceData": { - "updateGraphDurationMs": * + "updateGraphDurationMs": *, + "createAutoImportProviderProgramDurationMs": * } } After Request @@ -235,6 +257,12 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/dependency/package.json: *new* + {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} {"pollingInterval":250} @@ -260,10 +288,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -282,6 +313,10 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts *new* version: Text-1 containingProjects: 1 @@ -309,6 +344,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined @@ -335,6 +374,12 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/package.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/dependency/package.json: + {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} @@ -362,10 +407,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -384,6 +432,10 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts (Open) *changed* open: true *changed* version: Text-1 @@ -417,10 +469,14 @@ Info seq [hh:mm:ss:mss] response: } After Request Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: undefined *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -440,13 +496,12 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms -Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject2*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" @@ -937,12 +992,14 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* +/home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/dependency/package.json: *new* + {"pollingInterval":2000} *new* +/home/src/workspaces/project/node_modules/dependency/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} *new* /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} @@ -967,16 +1024,21 @@ watchedDirectoriesRecursive:: {} Projects:: -/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* projectStateVersion: 1 projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -991,10 +1053,11 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *new* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *changed* version: Text-1 - containingProjects: 1 + containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* /home/src/workspaces/project/src/foo.ts (Open) version: Text-1 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js index 0cdf074a978d8..43856a8a56f67 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js @@ -208,17 +208,19 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Files (5) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"nodenext\"\n }\n}" + /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts Text-1 "export declare function fooFromIndex(): void;" ../../tslibs/TS/Lib/lib.d.ts @@ -229,15 +231,39 @@ Info seq [hh:mm:ss:mss] Files (4) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' tsconfig.json Root file specified for compilation + node_modules/@types/dependency/lib/index.d.ts + Entry point for implicit type library 'dependency' with packageId '@types/dependency/lib/index.d.ts@1.0.0' + File is ECMAScript module because 'node_modules/@types/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) + /home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts Text-1 "export declare function fooFromLol(): void;" + + + node_modules/@types/dependency/lib/lol.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/@types/dependency/package.json' has field "type" with value "module" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -251,7 +277,8 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 0, "success": true, "performanceData": { - "updateGraphDurationMs": * + "updateGraphDurationMs": *, + "createAutoImportProviderProgramDurationMs": * } } After Request @@ -268,11 +295,16 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts: *new* {"pollingInterval":500} +/home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts: *new* + {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json: *new* {"pollingInterval":2000} + {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/dependency/package.json: *new* {"pollingInterval":2000} {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: *new* {"pollingInterval":2000} {"pollingInterval":2000} @@ -303,10 +335,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -327,8 +362,13 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts *new* version: Text-1 containingProjects: 1 @@ -354,7 +394,11 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -384,11 +428,16 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts: {"pollingInterval":500} +/home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts: + {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/dependency/package.json: {"pollingInterval":2000} {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: {"pollingInterval":2000} {"pollingInterval":2000} @@ -421,10 +470,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -445,8 +497,13 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts (Open) *changed* open: true *changed* version: Text-1 @@ -480,10 +537,14 @@ Info seq [hh:mm:ss:mss] response: } After Request Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: undefined *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -503,13 +564,12 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms -Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject2*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts Text-1 "export declare function fooFromLol(): void;" @@ -1022,12 +1082,15 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts: *new* +/home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/@types/dependency/package.json: + {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} *new* @@ -1060,16 +1123,21 @@ watchedDirectoriesRecursive:: {} Projects:: -/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* projectStateVersion: 1 projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -1086,12 +1154,14 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/workspaces/project/tsconfig.json -/home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts *new* + /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts *changed* version: Text-1 - containingProjects: 1 + containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* /home/src/workspaces/project/src/foo.ts (Open) version: Text-1 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js index b3ac3d285b834..154badd241e75 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js @@ -217,17 +217,19 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Files (5) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"nodenext\"\n }\n}" + /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export declare function fooFromIndex(): void" ../../tslibs/TS/Lib/lib.d.ts @@ -238,15 +240,39 @@ Info seq [hh:mm:ss:mss] Files (4) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' tsconfig.json Root file specified for compilation + node_modules/dependency/lib/index.d.ts + Entry point for implicit type library 'dependency' with packageId 'dependency/lib/index.d.ts@1.0.0' + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) + /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts Text-1 "export declare function fooFromLol(): void" + + + node_modules/dependency/lib/lol.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -260,7 +286,8 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 0, "success": true, "performanceData": { - "updateGraphDurationMs": * + "updateGraphDurationMs": *, + "createAutoImportProviderProgramDurationMs": * } } After Request @@ -280,11 +307,16 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: *new* + {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* {"pollingInterval":2000} + {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: *new* {"pollingInterval":2000} {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} {"pollingInterval":250} @@ -312,10 +344,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -336,8 +371,13 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts *new* version: Text-1 containingProjects: 1 @@ -363,7 +403,11 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -396,11 +440,16 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: + {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: {"pollingInterval":2000} {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} @@ -430,10 +479,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -454,8 +506,13 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/foo.ts (Open) *changed* open: true *changed* version: Text-1 @@ -489,10 +546,14 @@ Info seq [hh:mm:ss:mss] response: } After Request Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: undefined *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -512,13 +573,12 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms -Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject2*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts Text-1 "export declare function fooFromLol(): void" @@ -1034,12 +1094,15 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: *new* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/dependency/package.json: + {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} *new* @@ -1069,16 +1132,21 @@ watchedDirectoriesRecursive:: {} Projects:: -/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* projectStateVersion: 1 projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -1095,12 +1163,14 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/workspaces/project/tsconfig.json -/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *new* + /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *changed* version: Text-1 - containingProjects: 1 + containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* /home/src/workspaces/project/src/foo.ts (Open) version: Text-1 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js index 98425f481cf03..7d5a6fc01e5d9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js @@ -223,6 +223,27 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" + /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts Text-1 "export function fooFromLol(): void;" + + + node_modules/dependency/lib/index.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" + node_modules/dependency/lib/lol.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -230,6 +251,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined @@ -242,7 +267,8 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 0, "success": true, "performanceData": { - "updateGraphDurationMs": * + "updateGraphDurationMs": *, + "createAutoImportProviderProgramDurationMs": * } } After Request @@ -259,10 +285,14 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: *new* + {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: *new* {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} {"pollingInterval":250} @@ -292,10 +322,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -316,8 +349,13 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/workspaces/project/tsconfig.json + /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/bar.ts *new* version: Text-1 containingProjects: 1 @@ -349,6 +387,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined @@ -377,10 +419,14 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: + {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} @@ -412,10 +458,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -436,8 +485,13 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/workspaces/project/tsconfig.json + /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/bar.ts version: Text-1 containingProjects: 1 @@ -475,10 +529,14 @@ Info seq [hh:mm:ss:mss] response: } After Request Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: undefined *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -498,13 +556,12 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms -Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject2*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts Text-1 "export function fooFromLol(): void;" @@ -1017,12 +1074,14 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: *new* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: + {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/dependency/package.json: + {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} *new* /home/src/workspaces/project/package.json: @@ -1053,16 +1112,21 @@ watchedDirectoriesRecursive:: {} Projects:: -/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* projectStateVersion: 1 projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -1079,12 +1143,14 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 /home/src/workspaces/project/tsconfig.json -/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *new* + /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *changed* version: Text-1 - containingProjects: 1 + containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* /home/src/workspaces/project/src/bar.ts version: Text-1 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js index e7f743f253055..664e880bec3cd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js @@ -226,6 +226,28 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" + /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts Text-1 "export function fooFromLol(): void;" + + + node_modules/dependency/lib/index.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" + node_modules/dependency/lib/lol.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -233,6 +255,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined @@ -245,7 +271,8 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 0, "success": true, "performanceData": { - "updateGraphDurationMs": * + "updateGraphDurationMs": *, + "createAutoImportProviderProgramDurationMs": * } } After Request @@ -260,8 +287,15 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: *new* + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: *new* {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} {"pollingInterval":250} @@ -295,10 +329,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -317,6 +354,14 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/bar.ts *new* version: Text-1 containingProjects: 1 @@ -352,6 +397,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined @@ -378,8 +427,15 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/package.json: + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} @@ -415,10 +471,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -437,6 +496,14 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/bar.ts version: Text-1 containingProjects: 1 @@ -478,10 +545,14 @@ Info seq [hh:mm:ss:mss] response: } After Request Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: undefined *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -501,14 +572,12 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 dependencies 0 referenced projects in * ms -Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject2*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts Text-1 "export function fooFromLol(): void;" @@ -1003,13 +1072,15 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: *new* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* +/home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/dependency/package.json: + {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} *new* /home/src/workspaces/project/package.json: @@ -1044,16 +1115,21 @@ watchedDirectoriesRecursive:: {} Projects:: -/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* projectStateVersion: 1 projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -1068,14 +1144,16 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *new* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *changed* version: Text-1 - containingProjects: 1 + containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* -/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *new* + /dev/null/autoImportProviderProject2* *new* +/home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *changed* version: Text-1 - containingProjects: 1 + containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* /home/src/workspaces/project/src/bar.ts version: Text-1 containingProjects: 1 @@ -1108,13 +1186,17 @@ Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (C Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined @@ -1149,9 +1231,11 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: {"pollingInterval":2000} {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} @@ -1200,12 +1284,14 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* /home/src/workspaces/project/src/bar.ts version: Text-1 containingProjects: 1 @@ -1744,9 +1830,11 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: {"pollingInterval":2000} {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js index 6ae4f6c1237e9..c6555f903b47a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js @@ -216,6 +216,23 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) + /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" + + + node_modules/dependency/lib/index.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -223,6 +240,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined @@ -235,7 +256,8 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 0, "success": true, "performanceData": { - "updateGraphDurationMs": * + "updateGraphDurationMs": *, + "createAutoImportProviderProgramDurationMs": * } } After Request @@ -250,8 +272,13 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: *new* {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} {"pollingInterval":250} @@ -283,10 +310,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -305,6 +335,10 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/bar.ts *new* version: Text-1 containingProjects: 1 @@ -336,6 +370,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Files (1) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined @@ -362,8 +400,13 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/node_modules/dependency/lib/package.json: + {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} @@ -397,10 +440,13 @@ watchedDirectoriesRecursive:: {} Projects:: +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -419,6 +465,10 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/src/bar.ts version: Text-1 containingProjects: 1 @@ -456,10 +506,14 @@ Info seq [hh:mm:ss:mss] response: } After Request Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: undefined *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -479,13 +533,12 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms -Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) +Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject2*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export function fooFromIndex(): void;" @@ -976,11 +1029,13 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* +/home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/dependency/package.json: + {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} *new* /home/src/workspaces/project/package.json: @@ -1013,16 +1068,21 @@ watchedDirectoriesRecursive:: {} Projects:: -/dev/null/autoImportProviderProject1* (AutoImportProvider) *new* +/dev/null/autoImportProviderProject1* (AutoImportProvider) + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true +/dev/null/autoImportProviderProject2* (AutoImportProvider) *new* projectStateVersion: 1 projectProgramVersion: 1 /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 + autoImportProviderHost: /dev/null/autoImportProviderProject1* /home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* + autoImportProviderHost: /dev/null/autoImportProviderProject2* *changed* ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts @@ -1037,10 +1097,11 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *new* +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *changed* version: Text-1 - containingProjects: 1 + containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* /home/src/workspaces/project/src/bar.ts version: Text-1 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js index f05d45a003e3e..88ae0a24a6b70 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js @@ -74,6 +74,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/fs-extra/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution @@ -137,6 +141,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/fs-extra/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -231,6 +239,14 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} + {} +/home/src/workspaces/project: *new* + {} + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} @@ -363,6 +379,14 @@ watchedFiles *deleted*:: /home/src/workspaces/project/index.ts: {"pollingInterval":500} +watchedDirectories:: +/home/src/workspaces: + {} + {} +/home/src/workspaces/project: + {} + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} @@ -1238,6 +1262,14 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: + {} + {} +/home/src/workspaces/project: + {} + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js index f83baf8867692..8d418e757a438 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js @@ -871,8 +871,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/b.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/a 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/a 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations @@ -974,8 +972,6 @@ watchedDirectoriesRecursive:: {} *new* /tests/cases/fourslash/node_modules/@types: {} *new* -/tests/cases/fourslash/server/a: *new* - {} /tests/cases/fourslash/server/node_modules: {} *new* /tests/cases/fourslash/server/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js index 36653f4562ba6..bf90367e78107 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js @@ -877,8 +877,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/b.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/a 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/a 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations @@ -980,8 +978,6 @@ watchedDirectoriesRecursive:: {} *new* /tests/cases/fourslash/node_modules/@types: {} *new* -/tests/cases/fourslash/server/a: *new* - {} /tests/cases/fourslash/server/node_modules: {} *new* /tests/cases/fourslash/server/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js index de9391af4a93e..c7409005713f7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js @@ -4381,6 +4381,10 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) @@ -5147,6 +5151,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js index 55b0d5d3cfd06..80623b14792d7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js @@ -343,8 +343,8 @@ Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 2 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 1 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -356,7 +356,7 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 3, "success": true, "body": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -778,11 +778,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/workspaces/project/someModule", + "source": "./someModule", "hasAction": true, + "sourceDisplay": [ + { + "text": "./someModule", + "kind": "text" + } + ], "data": { "exportName": "default", "exportMapKey": "10 * someModule ", + "moduleSpecifier": "./someModule", "fileName": "/home/src/workspaces/project/someModule.ts" } }, @@ -791,11 +798,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/workspaces/project/someModule", + "source": "./someModule", "hasAction": true, + "sourceDisplay": [ + { + "text": "./someModule", + "kind": "text" + } + ], "data": { "exportName": "someModule", "exportMapKey": "10 * someModule ", + "moduleSpecifier": "./someModule", "fileName": "/home/src/workspaces/project/someModule.ts" } } @@ -828,10 +842,11 @@ Info seq [hh:mm:ss:mss] request: "entryNames": [ { "name": "someModule", - "source": "/home/src/workspaces/project/someModule", + "source": "./someModule", "data": { "exportName": "default", "exportMapKey": "10 * someModule ", + "moduleSpecifier": "./someModule", "fileName": "/home/src/workspaces/project/someModule.ts" } } @@ -933,10 +948,11 @@ Info seq [hh:mm:ss:mss] request: "entryNames": [ { "name": "someModule", - "source": "/home/src/workspaces/project/someModule", + "source": "./someModule", "data": { "exportName": "someModule", "exportMapKey": "10 * someModule ", + "moduleSpecifier": "./someModule", "fileName": "/home/src/workspaces/project/someModule.ts" } } @@ -1030,10 +1046,11 @@ Info seq [hh:mm:ss:mss] request: "entryNames": [ { "name": "someModule", - "source": "/home/src/workspaces/project/someModule", + "source": "./someModule", "data": { "exportName": "default", - "fileName": "/home/src/workspaces/project/someModule.ts" + "fileName": "/home/src/workspaces/project/someModule.ts", + "moduleSpecifier": "./someModule" } } ] diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js index f56d9fd156ab7..b70363749399d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js @@ -450,8 +450,8 @@ Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 4 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 3 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -463,7 +463,7 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 4, "success": true, "body": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -1115,11 +1115,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "source": "/home/src/workspaces/project/third_party/marked/src/defaults", + "source": "./third_party/marked/src/defaults", "hasAction": true, + "sourceDisplay": [ + { + "text": "./third_party/marked/src/defaults", + "kind": "text" + } + ], "data": { "exportName": "changeDefaults", "exportMapKey": "14 * changeDefaults ", + "moduleSpecifier": "./third_party/marked/src/defaults", "fileName": "/home/src/workspaces/project/third_party/marked/src/defaults.js" } }, @@ -1128,11 +1135,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "source": "/home/src/workspaces/project/third_party/marked/src/defaults", + "source": "./third_party/marked/src/defaults", "hasAction": true, + "sourceDisplay": [ + { + "text": "./third_party/marked/src/defaults", + "kind": "text" + } + ], "data": { "exportName": "export=", "exportMapKey": "8 * defaults ", + "moduleSpecifier": "./third_party/marked/src/defaults", "fileName": "/home/src/workspaces/project/third_party/marked/src/defaults.js" } }, @@ -1141,11 +1155,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "alias", "kindModifiers": "", "sortText": "16", - "source": "/home/src/workspaces/project/third_party/marked/src/defaults", + "source": "./third_party/marked/src/defaults", "hasAction": true, + "sourceDisplay": [ + { + "text": "./third_party/marked/src/defaults", + "kind": "text" + } + ], "data": { "exportName": "defaults", "exportMapKey": "8 * defaults ", + "moduleSpecifier": "./third_party/marked/src/defaults", "fileName": "/home/src/workspaces/project/third_party/marked/src/defaults.js" } }, @@ -1154,11 +1175,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "source": "/home/src/workspaces/project/third_party/marked/src/defaults", + "source": "./third_party/marked/src/defaults", "hasAction": true, + "sourceDisplay": [ + { + "text": "./third_party/marked/src/defaults", + "kind": "text" + } + ], "data": { "exportName": "getDefaults", "exportMapKey": "11 * getDefaults ", + "moduleSpecifier": "./third_party/marked/src/defaults", "fileName": "/home/src/workspaces/project/third_party/marked/src/defaults.js" } }, @@ -1373,7 +1401,7 @@ Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache hit Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 4 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -2050,11 +2078,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "source": "/home/src/workspaces/project/third_party/marked/src/defaults", + "source": "./third_party/marked/src/defaults", "hasAction": true, + "sourceDisplay": [ + { + "text": "./third_party/marked/src/defaults", + "kind": "text" + } + ], "data": { "exportName": "changeDefaults", "exportMapKey": "14 * changeDefaults ", + "moduleSpecifier": "./third_party/marked/src/defaults", "fileName": "/home/src/workspaces/project/third_party/marked/src/defaults.js" } }, @@ -2063,11 +2098,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "source": "/home/src/workspaces/project/third_party/marked/src/defaults", + "source": "./third_party/marked/src/defaults", "hasAction": true, + "sourceDisplay": [ + { + "text": "./third_party/marked/src/defaults", + "kind": "text" + } + ], "data": { "exportName": "export=", "exportMapKey": "8 * defaults ", + "moduleSpecifier": "./third_party/marked/src/defaults", "fileName": "/home/src/workspaces/project/third_party/marked/src/defaults.js" } }, @@ -2076,11 +2118,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "alias", "kindModifiers": "", "sortText": "16", - "source": "/home/src/workspaces/project/third_party/marked/src/defaults", + "source": "./third_party/marked/src/defaults", "hasAction": true, + "sourceDisplay": [ + { + "text": "./third_party/marked/src/defaults", + "kind": "text" + } + ], "data": { "exportName": "defaults", "exportMapKey": "8 * defaults ", + "moduleSpecifier": "./third_party/marked/src/defaults", "fileName": "/home/src/workspaces/project/third_party/marked/src/defaults.js" } }, @@ -2089,11 +2138,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "source": "/home/src/workspaces/project/third_party/marked/src/defaults", + "source": "./third_party/marked/src/defaults", "hasAction": true, + "sourceDisplay": [ + { + "text": "./third_party/marked/src/defaults", + "kind": "text" + } + ], "data": { "exportName": "getDefaults", "exportMapKey": "11 * getDefaults ", + "moduleSpecifier": "./third_party/marked/src/defaults", "fileName": "/home/src/workspaces/project/third_party/marked/src/defaults.js" } }, @@ -2139,10 +2195,11 @@ Info seq [hh:mm:ss:mss] request: "entryNames": [ { "name": "defaults", - "source": "/home/src/workspaces/project/third_party/marked/src/defaults", + "source": "./third_party/marked/src/defaults", "data": { "exportName": "defaults", - "fileName": "/home/src/workspaces/project/third_party/marked/src/defaults.js" + "fileName": "/home/src/workspaces/project/third_party/marked/src/defaults.js", + "moduleSpecifier": "./third_party/marked/src/defaults" } } ] diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js index 7d3ab1d2dbbb6..adf4ed49f8a7d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js @@ -488,8 +488,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * @@ -505,7 +507,7 @@ Info seq [hh:mm:ss:mss] response: "createAutoImportProviderProgramDurationMs": * }, "body": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -1167,12 +1169,19 @@ Info seq [hh:mm:ss:mss] response: "kind": "alias", "kindModifiers": "declare", "sortText": "16", - "source": "/home/src/workspaces/project/node_modules/@jest/types/index", + "source": "@jest/types", "hasAction": true, + "sourceDisplay": [ + { + "text": "@jest/types", + "kind": "text" + } + ], "isPackageJsonImport": true, "data": { "exportName": "Config", "exportMapKey": "6 * Config ", + "moduleSpecifier": "@jest/types", "fileName": "/home/src/workspaces/project/node_modules/@jest/types/index.d.ts", "isPackageJsonImport": true } @@ -1233,6 +1242,7 @@ watchedDirectoriesRecursive:: {} {} {} *new* + {} *new* /home/src/workspaces/project/node_modules/@types: {} {} @@ -1493,9 +1503,7 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] getExportInfoMap: cache hit -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * @@ -1511,7 +1519,7 @@ Info seq [hh:mm:ss:mss] response: "updateGraphDurationMs": * }, "body": { - "flags": 9, + "flags": 1, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -2211,46 +2219,6 @@ Info seq [hh:mm:ss:mss] response: } } After Request -watchedFiles:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"pollingInterval":500} -/home/src/tslibs/TS/Lib/lib.decorators.d.ts: - {"pollingInterval":500} -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: - {"pollingInterval":500} -/home/src/workspaces/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@jest/types/Config.d.ts: - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@jest/types/index.d.ts: - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@jest/types/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/package.json: - {"pollingInterval":250} -/home/src/workspaces/project/tsconfig.json: - {"pollingInterval":2000} - -watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules: - {} - {} -/home/src/workspaces/node_modules/@types: - {} - {} -/home/src/workspaces/project: - {} -/home/src/workspaces/project/node_modules: - {} - {} - {} - {} - {} *new* -/home/src/workspaces/project/node_modules/@types: - {} - {} - Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js index 2d9194193dc1b..aba573a0aa46d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js @@ -198,6 +198,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/a/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/a/dist/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -324,6 +328,12 @@ watchedFiles *deleted*:: /home/src/workspaces/project/node_modules/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} *new* @@ -453,6 +463,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: + {} +/home/src/workspaces/project: + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js index b80055fd5ebfb..2c3d8ea630209 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js @@ -233,6 +233,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -313,6 +317,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} @@ -386,10 +396,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/lodash.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) @@ -488,6 +502,14 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: + {} + {} *new* +/home/src/workspaces/project: + {} + {} *new* + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js index 36a4d4386b20a..ae349f7f604b6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js @@ -285,8 +285,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -361,8 +359,6 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} {} -/home/src/workspaces/project/a: *new* - {} /home/src/workspaces/project/node_modules: {} {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js index f116c4da55c9a..8134534e6790d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js @@ -207,6 +207,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -291,6 +295,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} @@ -366,10 +376,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/index.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) @@ -452,6 +466,14 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: + {} + {} *new* +/home/src/workspaces/project: + {} + {} *new* + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js index 85f8a44a74efb..34e2714cb7267 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js @@ -36,6 +36,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -90,6 +94,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} @@ -137,10 +147,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (1) @@ -176,6 +190,14 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: + {} + {} *new* +/home/src/workspaces/project: + {} + {} *new* + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js index 8fef89c16d993..e6725f435efb3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js @@ -230,6 +230,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -320,6 +324,10 @@ watchedFiles:: {"pollingInterval":2000} watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} /home/src/workspaces/project/node_modules/@types/yargs: {} @@ -407,8 +415,12 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/callback.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (3) @@ -498,6 +510,12 @@ watchedFiles:: {"pollingInterval":2000} watchedDirectories:: +/home/src/workspaces: + {} + {} *new* +/home/src/workspaces/project: + {} + {} *new* /home/src/workspaces/project/node_modules/@types/yargs: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js index cfdf31184494c..96f1b225fabeb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js @@ -230,6 +230,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -320,6 +324,10 @@ watchedFiles:: {"pollingInterval":2000} watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} /home/src/workspaces/project/node_modules/@types/yargs: {} @@ -403,10 +411,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/index.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) @@ -512,6 +524,12 @@ watchedFiles:: {"pollingInterval":2000} watchedDirectories:: +/home/src/workspaces: + {} + {} *new* +/home/src/workspaces/project: + {} + {} *new* /home/src/workspaces/project/node_modules/@types/yargs: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js index 057fc91adeb3c..17c2620e530bb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js @@ -239,7 +239,15 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/folder 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/folder 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/folder/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/folder/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -343,8 +351,14 @@ watchedFiles:: {"pollingInterval":2000} watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} /home/src/workspaces/project/node_modules/@types/yargs: {} +/home/src/workspaces/project/some: *new* + {} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: @@ -353,6 +367,8 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} {} *new* +/home/src/workspaces/project/folder: *new* + {} /home/src/workspaces/project/folder/node_modules: *new* {} /home/src/workspaces/project/node_modules: @@ -437,13 +453,21 @@ Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/callback.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/index.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/folder 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/folder 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/folder/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/folder/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -544,8 +568,17 @@ watchedFiles:: {"pollingInterval":2000} watchedDirectories:: +/home/src/workspaces: + {} + {} *new* +/home/src/workspaces/project: + {} + {} *new* /home/src/workspaces/project/node_modules/@types/yargs: {} +/home/src/workspaces/project/some: + {} + {} *new* watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: @@ -555,6 +588,9 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} {} +/home/src/workspaces/project/folder: + {} + {} *new* /home/src/workspaces/project/folder/node_modules: {} {} *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js index 0f64f27c46fee..f4097e8d11612 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js @@ -285,8 +285,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -361,8 +359,6 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} {} -/home/src/workspaces/project/a: *new* - {} /home/src/workspaces/project/node_modules: {} {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js index 81bfe23dc63f0..b362d74883e91 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js @@ -170,6 +170,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/types/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -249,6 +253,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} @@ -321,10 +331,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/lib/main.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/lib/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -404,6 +418,14 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: + {} + {} *new* +/home/src/workspaces/project: + {} + {} *new* + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js index dc53b110958ab..94a3b0b639087 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js @@ -186,6 +186,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -266,6 +270,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} @@ -339,10 +349,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/lib/main.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/lib/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -423,6 +437,14 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: + {} + {} *new* +/home/src/workspaces/project: + {} + {} *new* + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js index 922f518752bd0..345288d3fd105 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js @@ -177,6 +177,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/types/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -256,6 +260,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} @@ -387,6 +397,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: + {} +/home/src/workspaces/project: + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js index 8f6ad4333b196..0564edb23dd42 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js @@ -184,6 +184,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/react/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -255,6 +259,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} @@ -328,8 +338,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/react/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/react/cjs/react.production.min.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/react/cjs/react.development.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/react/cjs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) @@ -433,6 +447,14 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: + {} + {} *new* +/home/src/workspaces/project: + {} + {} *new* + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js index 33a6f14e88209..834896817df76 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js @@ -256,6 +256,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/common/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -346,6 +350,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} @@ -424,10 +434,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/lodash.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) @@ -531,6 +545,14 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: + {} + {} *new* +/home/src/workspaces/project: + {} + {} *new* + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js index b135d9b08ce60..55778ef0886b7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js @@ -257,6 +257,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/common/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -347,6 +351,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} @@ -425,10 +435,14 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Creating AuxiliaryProject: /dev/null/auxiliaryProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/lodash.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) @@ -504,6 +518,14 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: + {} + {} *new* +/home/src/workspaces/project: + {} + {} *new* + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} @@ -536,6 +558,9 @@ Projects:: /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 + documentPositionMappers: 2 *changed* + /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: identitySourceMapConsumer *new* + /home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts: identitySourceMapConsumer *new* autoImportProviderHost: false noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* @@ -560,13 +585,15 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/inferredProject2* *default* /dev/null/auxiliaryProject1* *new* -/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts +/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts +/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts *changed* version: Text-1 + sourceMapFilePath: false *changed* containingProjects: 2 /dev/null/inferredProject1* /dev/null/inferredProject2* @@ -643,60 +670,4 @@ Info seq [hh:mm:ss:mss] response: } } ] - } -After Request -Projects:: -/dev/null/auxiliaryProject1* (Auxiliary) - projectStateVersion: 1 - projectProgramVersion: 1 -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 -/dev/null/inferredProject2* (Inferred) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - documentPositionMappers: 1 *changed* - /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: identitySourceMapConsumer *new* - autoImportProviderHost: false - noDtsResolutionProject: /dev/null/auxiliaryProject1* - -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts - version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* - /dev/null/inferredProject2* -/home/src/tslibs/TS/Lib/lib.decorators.d.ts - version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* - /dev/null/inferredProject2* -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts - version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* - /dev/null/inferredProject2* -/home/src/workspaces/project/index.ts (Open) - version: SVC-1-0 - containingProjects: 2 - /dev/null/inferredProject2* *default* - /dev/null/auxiliaryProject1* -/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts - version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* - /dev/null/inferredProject2* -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts *changed* - version: Text-1 - sourceMapFilePath: false *changed* - containingProjects: 2 - /dev/null/inferredProject1* - /dev/null/inferredProject2* -/home/src/workspaces/project/node_modules/lodash/lodash.js - version: Text-1 - containingProjects: 1 - /dev/null/auxiliaryProject1* -/home/src/workspaces/project/node_modules/lodash/package.json (Open) - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* + } \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js index a6ae0be641284..6609f783400ec 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js @@ -73,8 +73,12 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/csstype 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/csstype 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution @@ -145,8 +149,12 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/csstype 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/csstype 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -261,6 +269,14 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} + {} +/home/src/workspaces/project: *new* + {} + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} @@ -414,6 +430,14 @@ watchedFiles *deleted*:: /home/src/workspaces/project/index.ts: {"pollingInterval":500} +watchedDirectories:: +/home/src/workspaces: + {} + {} +/home/src/workspaces/project: + {} + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js b/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js index 1cb09de22d54b..fd60b1f0d3cbc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js @@ -66,6 +66,10 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/bar/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots @@ -146,6 +150,12 @@ watchedFiles:: /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} +watchedDirectories:: +/home/src/workspaces: *new* + {} +/home/src/workspaces/project: *new* + {} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js b/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js index 792515080056e..c36fa7ad0018c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js @@ -149,6 +149,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -210,6 +212,8 @@ watchedFiles:: {"pollingInterval":2000} watchedDirectories:: +/home/src/workspaces: *new* + {} /home/src/workspaces/project: *new* {} diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder-canUseWatchEvents.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder-canUseWatchEvents.js index f7eab8d949898..8d7899f28d0e0 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder-canUseWatchEvents.js @@ -420,7 +420,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/myprojects/project/components","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -428,11 +428,26 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 8, + "path": "/home/src/myprojects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/myprojects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 9, "path": "/home/src/myprojects/project/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/myprojects/project/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/myprojects/project/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -441,13 +456,28 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 9, + "id": 10, "path": "/home/src/myprojects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/myprojects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/myprojects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 11, + "path": "/home/src/myprojects/project", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/myprojects/project","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -507,9 +537,15 @@ PolledWatches *deleted*:: /home/src/myprojects/project/components/whatever/alert.ts: {"event":{"id":3,"path":"/home/src/myprojects/project/components/whatever/alert.ts"}} +FsWatches:: +/home/src/myprojects: *new* + {"event":{"id":8,"path":"/home/src/myprojects","recursive":false,"ignoreUpdate":true}} +/home/src/myprojects/project: *new* + {"event":{"id":11,"path":"/home/src/myprojects/project","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/myprojects/node_modules: *new* - {"event":{"id":9,"path":"/home/src/myprojects/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/myprojects/node_modules","recursive":true}} /home/src/myprojects/node_modules/@types: {"event":{"id":6,"path":"/home/src/myprojects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/myprojects/project: @@ -517,7 +553,7 @@ FsWatchesRecursive:: /home/src/myprojects/project/components: *new* {"event":{"id":7,"path":"/home/src/myprojects/project/components","recursive":true,"ignoreUpdate":true}} /home/src/myprojects/project/node_modules: *new* - {"event":{"id":8,"path":"/home/src/myprojects/project/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/myprojects/project/node_modules","recursive":true}} /home/src/myprojects/project/node_modules/@types: {"event":{"id":5,"path":"/home/src/myprojects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} @@ -685,7 +721,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Close:: {"id":7,"path":"/home/src/myprojects/project/components","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -695,7 +731,19 @@ Info seq [hh:mm:ss:mss] event: "id": 8 } } -Custom watchDirectory:: Close:: {"id":8,"path":"/home/src/myprojects/project/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":8,"path":"/home/src/myprojects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "closeFileWatcher", + "body": { + "id": 9 + } + } +Custom watchDirectory:: Close:: {"id":9,"path":"/home/src/myprojects/project/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -704,11 +752,23 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 9 + "id": 10 } } -Custom watchDirectory:: Close:: {"id":9,"path":"/home/src/myprojects/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":10,"path":"/home/src/myprojects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "closeFileWatcher", + "body": { + "id": 11 + } + } +Custom watchDirectory:: Close:: {"id":11,"path":"/home/src/myprojects/project","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -759,6 +819,12 @@ PolledWatches:: /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts"}} +FsWatches *deleted*:: +/home/src/myprojects: + {"event":{"id":8,"path":"/home/src/myprojects","recursive":false,"ignoreUpdate":true}} +/home/src/myprojects/project: + {"event":{"id":11,"path":"/home/src/myprojects/project","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/myprojects/node_modules/@types: {"event":{"id":6,"path":"/home/src/myprojects/node_modules/@types","recursive":true,"ignoreUpdate":true}} @@ -769,11 +835,11 @@ FsWatchesRecursive:: FsWatchesRecursive *deleted*:: /home/src/myprojects/node_modules: - {"event":{"id":9,"path":"/home/src/myprojects/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/myprojects/node_modules","recursive":true}} /home/src/myprojects/project/components: {"event":{"id":7,"path":"/home/src/myprojects/project/components","recursive":true,"ignoreUpdate":true}} /home/src/myprojects/project/node_modules: - {"event":{"id":8,"path":"/home/src/myprojects/project/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/myprojects/project/node_modules","recursive":true}} Projects:: /home/src/myprojects/project/tsconfig.json (Configured) *changed* @@ -828,14 +894,29 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 10, + "id": 12, "path": "/home/src/myprojects/project/functions", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/myprojects/project/functions","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/myprojects/project/functions","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/functions 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 13, + "path": "/home/src/myprojects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/myprojects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -843,12 +924,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 11, + "id": 14, "path": "/home/src/myprojects/project/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/myprojects/project/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/myprojects/project/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -857,13 +938,28 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 15, "path": "/home/src/myprojects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/myprojects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/myprojects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 16, + "path": "/home/src/myprojects/project", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":16,"path":"/home/src/myprojects/project","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -905,17 +1001,23 @@ PolledWatches:: /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts"}} +FsWatches:: +/home/src/myprojects: *new* + {"event":{"id":13,"path":"/home/src/myprojects","recursive":false,"ignoreUpdate":true}} +/home/src/myprojects/project: *new* + {"event":{"id":16,"path":"/home/src/myprojects/project","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/myprojects/node_modules: *new* - {"event":{"id":12,"path":"/home/src/myprojects/node_modules","recursive":true}} + {"event":{"id":15,"path":"/home/src/myprojects/node_modules","recursive":true}} /home/src/myprojects/node_modules/@types: {"event":{"id":6,"path":"/home/src/myprojects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/myprojects/project: {"event":{"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}} /home/src/myprojects/project/functions: *new* - {"event":{"id":10,"path":"/home/src/myprojects/project/functions","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/myprojects/project/functions","recursive":true,"ignoreUpdate":true}} /home/src/myprojects/project/node_modules: *new* - {"event":{"id":11,"path":"/home/src/myprojects/project/node_modules","recursive":true}} + {"event":{"id":14,"path":"/home/src/myprojects/project/node_modules","recursive":true}} /home/src/myprojects/project/node_modules/@types: {"event":{"id":5,"path":"/home/src/myprojects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder.js index 27878ca973856..d1a91ab97aa62 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder.js @@ -314,10 +314,14 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myprojects/p Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -368,6 +372,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/myprojects: *new* + {} +/home/src/myprojects/project: *new* + {} /home/src/myprojects/project/tsconfig.json: {} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: @@ -537,10 +545,14 @@ Info seq [hh:mm:ss:mss] Running: /home/src/myprojects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -603,6 +615,12 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: {} +FsWatches *deleted*:: +/home/src/myprojects: + {} +/home/src/myprojects/project: + {} + FsWatchesRecursive:: /home/src/myprojects/project: {} @@ -673,10 +691,14 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myprojects/p Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/functions 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/functions 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 0 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -723,6 +745,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/myprojects: *new* + {} +/home/src/myprojects/project: *new* + {} /home/src/myprojects/project/tsconfig.json: {} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js index c58a60d703002..aa1250101fca7 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js @@ -371,7 +371,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -379,11 +379,26 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 7, + "path": "/home/src/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 8, "path": "/home/src/projects/myproject/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects/myproject/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -392,13 +407,28 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 8, + "id": 9, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 10, + "path": "/home/src/projects/myproject", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -440,17 +470,23 @@ PolledWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: *new* + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/myproject: *new* + {"event":{"id":10,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/myproject: {"event":{"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/node_modules: *new* - {"event":{"id":7,"path":"/home/src/projects/myproject/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true}} /home/src/projects/myproject/node_modules/@types: {"event":{"id":4,"path":"/home/src/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/src: *new* {"event":{"id":6,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":8,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: {"event":{"id":5,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} @@ -564,11 +600,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 9, + "id": 11, "path": "/home/src/projects/myproject/src/new.ts" } } -Custom watchFile:: Added:: {"id":9,"path":"/home/src/projects/myproject/src/new.ts"} +Custom watchFile:: Added:: {"id":11,"path":"/home/src/projects/myproject/src/new.ts"} Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -585,23 +621,29 @@ After request PolledWatches:: /home/src/projects/myproject/src/new.ts: *new* - {"event":{"id":9,"path":"/home/src/projects/myproject/src/new.ts"}} + {"event":{"id":11,"path":"/home/src/projects/myproject/src/new.ts"}} /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/myproject: + {"event":{"id":10,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/myproject: {"event":{"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/node_modules: - {"event":{"id":7,"path":"/home/src/projects/myproject/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true}} /home/src/projects/myproject/node_modules/@types: {"event":{"id":4,"path":"/home/src/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/src: {"event":{"id":6,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: - {"event":{"id":8,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: {"event":{"id":5,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js index 6bff2255e264c..d9e8630fc8de5 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -503,11 +503,26 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 8, + "path": "/home/src/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 9, "path": "/home/src/projects/myproject/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/myproject/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -516,13 +531,28 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 9, + "id": 10, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 11, + "path": "/home/src/projects/myproject", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -567,17 +597,23 @@ PolledWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: *new* + {"event":{"id":8,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/myproject: *new* + {"event":{"id":11,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/myproject: {"event":{"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/node_modules: *new* - {"event":{"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/projects/myproject/node_modules","recursive":true}} /home/src/projects/myproject/node_modules/@types: {"event":{"id":5,"path":"/home/src/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/src: *new* {"event":{"id":7,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: {"event":{"id":6,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} @@ -684,11 +720,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 10, + "id": 12, "path": "/home/src/projects/myproject/src/new.ts" } } -Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/myproject/src/new.ts"} +Custom watchFile:: Added:: {"id":12,"path":"/home/src/projects/myproject/src/new.ts"} Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -708,23 +744,29 @@ After request PolledWatches:: /home/src/projects/myproject/src/new.ts: *new* - {"event":{"id":10,"path":"/home/src/projects/myproject/src/new.ts"}} + {"event":{"id":12,"path":"/home/src/projects/myproject/src/new.ts"}} /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: + {"event":{"id":8,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/myproject: + {"event":{"id":11,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/myproject: {"event":{"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/node_modules: - {"event":{"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/projects/myproject/node_modules","recursive":true}} /home/src/projects/myproject/node_modules/@types: {"event":{"id":5,"path":"/home/src/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/src: {"event":{"id":7,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: - {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: {"event":{"id":6,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js index 1cd6a409fd71e..a43bf1484753f 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js @@ -335,7 +335,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -343,11 +343,26 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 7, + "path": "/home/src/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 8, "path": "/home/src/projects/myproject/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects/myproject/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -356,13 +371,28 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 8, + "id": 9, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 10, + "path": "/home/src/projects/myproject", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -404,17 +434,23 @@ PolledWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: *new* + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/myproject: *new* + {"event":{"id":10,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/myproject: {"event":{"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/node_modules: *new* - {"event":{"id":7,"path":"/home/src/projects/myproject/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true}} /home/src/projects/myproject/node_modules/@types: {"event":{"id":4,"path":"/home/src/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/src: *new* {"event":{"id":6,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":8,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: {"event":{"id":5,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} @@ -525,11 +561,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 9, + "id": 11, "path": "/home/src/projects/myproject/src/new.ts" } } -Custom watchFile:: Added:: {"id":9,"path":"/home/src/projects/myproject/src/new.ts"} +Custom watchFile:: Added:: {"id":11,"path":"/home/src/projects/myproject/src/new.ts"} Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -546,23 +582,29 @@ After request PolledWatches:: /home/src/projects/myproject/src/new.ts: *new* - {"event":{"id":9,"path":"/home/src/projects/myproject/src/new.ts"}} + {"event":{"id":11,"path":"/home/src/projects/myproject/src/new.ts"}} /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/myproject: + {"event":{"id":10,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/myproject: {"event":{"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/node_modules: - {"event":{"id":7,"path":"/home/src/projects/myproject/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true}} /home/src/projects/myproject/node_modules/@types: {"event":{"id":4,"path":"/home/src/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/src: {"event":{"id":6,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: - {"event":{"id":8,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: {"event":{"id":5,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js index 475a027f968d3..66a4efad32dc1 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js @@ -464,7 +464,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -472,11 +472,26 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 8, + "path": "/home/src/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 9, "path": "/home/src/projects/myproject/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/myproject/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -485,13 +500,28 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 9, + "id": 10, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 11, + "path": "/home/src/projects/myproject", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -536,17 +566,23 @@ PolledWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: *new* + {"event":{"id":8,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/myproject: *new* + {"event":{"id":11,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/myproject: {"event":{"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/node_modules: *new* - {"event":{"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/projects/myproject/node_modules","recursive":true}} /home/src/projects/myproject/node_modules/@types: {"event":{"id":5,"path":"/home/src/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/src: *new* {"event":{"id":7,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: {"event":{"id":6,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} @@ -653,11 +689,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 10, + "id": 12, "path": "/home/src/projects/myproject/src/new.ts" } } -Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/myproject/src/new.ts"} +Custom watchFile:: Added:: {"id":12,"path":"/home/src/projects/myproject/src/new.ts"} Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -677,23 +713,29 @@ After request PolledWatches:: /home/src/projects/myproject/src/new.ts: *new* - {"event":{"id":10,"path":"/home/src/projects/myproject/src/new.ts"}} + {"event":{"id":12,"path":"/home/src/projects/myproject/src/new.ts"}} /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: + {"event":{"id":8,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/myproject: + {"event":{"id":11,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/myproject: {"event":{"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/node_modules: - {"event":{"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/projects/myproject/node_modules","recursive":true}} /home/src/projects/myproject/node_modules/@types: {"event":{"id":5,"path":"/home/src/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/src: {"event":{"id":7,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: - {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: {"event":{"id":6,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js index afdf22ae28b7c..dc9609ecf074b 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js @@ -335,7 +335,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -343,11 +343,26 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 7, + "path": "/home/src/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 8, "path": "/home/src/projects/myproject/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects/myproject/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -356,13 +371,28 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 8, + "id": 9, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 10, + "path": "/home/src/projects/myproject", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -404,17 +434,23 @@ PolledWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: *new* + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/myproject: *new* + {"event":{"id":10,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/myproject: {"event":{"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/node_modules: *new* - {"event":{"id":7,"path":"/home/src/projects/myproject/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true}} /home/src/projects/myproject/node_modules/@types: {"event":{"id":4,"path":"/home/src/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/src: *new* {"event":{"id":6,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":8,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: {"event":{"id":5,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} @@ -562,11 +598,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 9, + "id": 11, "path": "/home/src/projects/myproject/src/new.ts" } } -Custom watchFile:: Added:: {"id":9,"path":"/home/src/projects/myproject/src/new.ts"} +Custom watchFile:: Added:: {"id":11,"path":"/home/src/projects/myproject/src/new.ts"} Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -583,23 +619,29 @@ After request PolledWatches:: /home/src/projects/myproject/src/new.ts: *new* - {"event":{"id":9,"path":"/home/src/projects/myproject/src/new.ts"}} + {"event":{"id":11,"path":"/home/src/projects/myproject/src/new.ts"}} /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/myproject: + {"event":{"id":10,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/myproject: {"event":{"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/node_modules: - {"event":{"id":7,"path":"/home/src/projects/myproject/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true}} /home/src/projects/myproject/node_modules/@types: {"event":{"id":4,"path":"/home/src/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/src: {"event":{"id":6,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: - {"event":{"id":8,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: {"event":{"id":5,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js index d22ee03e5164a..14f73e46b4fd4 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js @@ -464,7 +464,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -472,11 +472,26 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 8, + "path": "/home/src/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 9, "path": "/home/src/projects/myproject/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/myproject/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -485,13 +500,28 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 9, + "id": 10, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 11, + "path": "/home/src/projects/myproject", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject 0 undefined Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -536,17 +566,23 @@ PolledWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: *new* + {"event":{"id":8,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/myproject: *new* + {"event":{"id":11,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/myproject: {"event":{"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/node_modules: *new* - {"event":{"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/projects/myproject/node_modules","recursive":true}} /home/src/projects/myproject/node_modules/@types: {"event":{"id":5,"path":"/home/src/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/src: *new* {"event":{"id":7,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: {"event":{"id":6,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} @@ -690,11 +726,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 10, + "id": 12, "path": "/home/src/projects/myproject/src/new.ts" } } -Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/myproject/src/new.ts"} +Custom watchFile:: Added:: {"id":12,"path":"/home/src/projects/myproject/src/new.ts"} Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -714,23 +750,29 @@ After request PolledWatches:: /home/src/projects/myproject/src/new.ts: *new* - {"event":{"id":10,"path":"/home/src/projects/myproject/src/new.ts"}} + {"event":{"id":12,"path":"/home/src/projects/myproject/src/new.ts"}} /home/src/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/myproject/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: + {"event":{"id":8,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/myproject: + {"event":{"id":11,"path":"/home/src/projects/myproject","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/myproject: {"event":{"id":2,"path":"/home/src/projects/myproject","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/node_modules: - {"event":{"id":8,"path":"/home/src/projects/myproject/node_modules","recursive":true}} + {"event":{"id":9,"path":"/home/src/projects/myproject/node_modules","recursive":true}} /home/src/projects/myproject/node_modules/@types: {"event":{"id":5,"path":"/home/src/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/myproject/src: {"event":{"id":7,"path":"/home/src/projects/myproject/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: - {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: {"event":{"id":6,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} diff --git a/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js b/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js index 8025b01876796..e7d084908d040 100644 --- a/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js +++ b/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js @@ -475,12 +475,18 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects 1 undefined Config: /user/username/workspace/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects 1 undefined Config: /user/username/workspace/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/workspace/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects 0 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects 0 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace 0 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace 0 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects/project/node_modules 1 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects/project/node_modules 1 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects/node_modules 1 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects/node_modules 1 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/node_modules 1 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/node_modules 1 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects/project 0 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects/project 0 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects/project/node_modules/@types 1 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects/project/node_modules/@types 1 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/projects/node_modules/@types 1 undefined Project: /user/username/workspace/projects/project/tsconfig.json WatchType: Type roots @@ -645,6 +651,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/workspace: *new* + {} +/user/username/workspace/projects: *new* + {} +/user/username/workspace/projects/project: *new* + {} /user/username/workspace/projects/project/file2.ts: {} /user/username/workspace/projects/project/tsconfig.json: *new* @@ -845,6 +857,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/workspace: + {} +/user/username/workspace/projects: + {} +/user/username/workspace/projects/project: + {} /user/username/workspace/projects/project/file2.ts: {} /user/username/workspace/projects/project/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js b/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js index 025d26014bc34..6c7e9748a782e 100644 --- a/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js +++ b/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js @@ -48,6 +48,8 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: p Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: p WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: p WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: p WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: p WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/tslib/package.json 2000 undefined Project: p WatchType: File location affecting resolution @@ -153,6 +155,8 @@ FsWatches:: {} FsWatchesRecursive:: +/user/username/projects: *new* + {} /user/username/projects/project/node_modules: *new* {} diff --git a/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js b/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js index 6082b65094c3d..62fa3a4168bf0 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js +++ b/tests/baselines/reference/tsserver/inferredProjects/project-settings-for-inferred-projects.js @@ -42,12 +42,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -112,6 +118,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/project: *new* + {} +/user/username/projects/project/b: *new* + {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -258,8 +270,10 @@ Before running Timeout callback:: count: 3 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/b 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/project/b/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/project/b/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -370,7 +384,13 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/project/b: *new* +/user/username/projects/project/b: + {} + +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/project: {} Projects:: diff --git a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js index cf9a433921586..475034c136333 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js +++ b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js @@ -66,6 +66,8 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module3/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -128,6 +130,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} /user/username/projects/myproject: *new* {} /user/username/projects/myproject/module.d.ts: *new* @@ -213,6 +217,8 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} /user/username/projects/myproject: {} /user/username/projects/myproject/app.ts: *new* @@ -276,6 +282,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module3/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -291,6 +299,8 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module3/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -328,6 +338,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} *new* /user/username/projects/myproject: {} *new* /user/username/projects/myproject/app.ts: @@ -338,6 +350,8 @@ FsWatches:: {} *new* FsWatches *deleted*:: +/user/username/projects: + {} /user/username/projects/myproject: {} /user/username/projects/myproject/module.d.ts: @@ -533,6 +547,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} /user/username/projects/myproject: {} /user/username/projects/myproject/module2.d.ts: diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js index af77d82b0a4ec..c89a39de0fdfb 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js @@ -57,6 +57,8 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project1/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -140,6 +142,8 @@ FsWatches:: {} FsWatchesRecursive:: +/user/username/projects: *new* + {} /user/username/projects/project1/src/node_modules: *new* {} @@ -379,6 +383,8 @@ FsWatches:: {} FsWatchesRecursive:: +/user/username/projects: + {} /user/username/projects/project1/src/node_modules: {} diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js index 7c7fbd2cf9a5b..dcb892e1448f4 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js @@ -42,10 +42,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/test/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -93,6 +97,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} @@ -288,6 +296,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/tslibs/TS/Lib/lib.d.ts: {} diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js index 9334cd3fe6545..e58039f3f8c87 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js @@ -548,15 +548,15 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -984,11 +984,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/src/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/src/a.ts" } } diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js index 450920726ab91..f41c63c0cc4dc 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js @@ -548,15 +548,15 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -984,11 +984,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/src/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/src/a.ts" } } diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js index 9db84b70ae9a2..5e4a95e2ab990 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js @@ -548,15 +548,15 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -984,11 +984,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/src/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/src/a.ts" } } diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js index 4a2c2a4eb171a..a6c6066f8bfa4 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js @@ -548,15 +548,15 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -984,11 +984,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/src/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/src/a.ts" } } diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js index d18223a524030..6438bfa2e20ae 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js @@ -548,15 +548,15 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -984,11 +984,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/src/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/src/a.ts" } } diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js index 4980a73cfceec..83e0f3eebd0d3 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js @@ -548,15 +548,15 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -984,11 +984,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/src/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/src/a.ts" } } diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js index 7c21770f79078..3d143af525862 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js @@ -548,15 +548,15 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -984,11 +984,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/src/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/src/a.ts" } } diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js index e6bda86c1e97e..cf6e5fab856e5 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js @@ -548,15 +548,15 @@ Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results Info seq [hh:mm:ss:mss] forEachExternalModuleToImportFrom autoImportProvider: * Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -984,11 +984,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/src/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/src/a.ts" } } @@ -1017,6 +1024,17 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] moduleSpecifierCache for {} (/home/src/projects/project/src/b.ts -> /home/src/projects/project/src/a.ts) { + "kind": "relative", + "modulePaths": [ + { + "path": "/home/src/projects/project/src/a.ts", + "isRedirect": false, + "isInNodeModules": false + } + ], + "moduleSpecifiers": [ + "./a" + ], "isBlockedByPackageJsonDependencies": false } Before request @@ -1053,6 +1071,17 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] moduleSpecifierCache for {} (/home/src/projects/project/src/b.ts -> /home/src/projects/project/src/a.ts) { + "kind": "relative", + "modulePaths": [ + { + "path": "/home/src/projects/project/src/a.ts", + "isRedirect": false, + "isInNodeModules": false + } + ], + "moduleSpecifiers": [ + "./a" + ], "isBlockedByPackageJsonDependencies": false } Info seq [hh:mm:ss:mss] moduleSpecifierCache for { @@ -1079,15 +1108,15 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImpo Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] getExportInfoMap: cache hit -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -1515,11 +1544,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/src/a", + "source": "./a", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a", "fileName": "/home/src/projects/project/src/a.ts" } } @@ -1551,6 +1587,17 @@ Info seq [hh:mm:ss:mss] moduleSpecifierCache for {} (/home/src/projects/project Info seq [hh:mm:ss:mss] moduleSpecifierCache for { "importModuleSpecifierPreference": "project-relative" } (/home/src/projects/project/src/b.ts -> /home/src/projects/project/src/a.ts) { + "kind": "relative", + "modulePaths": [ + { + "path": "/home/src/projects/project/src/a.ts", + "isRedirect": false, + "isInNodeModules": false + } + ], + "moduleSpecifiers": [ + "./a" + ], "isBlockedByPackageJsonDependencies": false } Before request @@ -1607,15 +1654,15 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImpo Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 4 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] getExportInfoMap: cache hit -Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 1 from cache -Info seq [hh:mm:ss:mss] collectAutoImports: response is incomplete +Info seq [hh:mm:ss:mss] collectAutoImports: resolved 1 module specifiers, plus 0 ambient and 0 from cache +Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * Info seq [hh:mm:ss:mss] getCompletionData: Semantic work: * Info seq [hh:mm:ss:mss] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * Info seq [hh:mm:ss:mss] response: { "response": { - "flags": 1, + "flags": 9, "isGlobalCompletion": true, "isMemberCompletion": false, "isNewIdentifierLocation": false, @@ -2043,11 +2090,18 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "source": "/home/src/projects/project/src/a", + "source": "./a.js", "hasAction": true, + "sourceDisplay": [ + { + "text": "./a.js", + "kind": "text" + } + ], "data": { "exportName": "foo", "exportMapKey": "3 * foo ", + "moduleSpecifier": "./a.js", "fileName": "/home/src/projects/project/src/a.ts" } } diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js b/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js index e80668d0270e2..97841b6b15701 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js @@ -360,7 +360,8 @@ Projects:: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/package.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json Detected new package.json: /home/src/projects/project/package.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/package.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/package.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Add package.json //// [/home/src/projects/project/package.json] @@ -404,6 +405,21 @@ FsWatchesRecursive:: /home/src/projects/project: {} +Timeout callback:: count: 2 +1: /home/src/projects/project/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + noOpenRef: false *changed* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/package.json 1:: WatchInfo: /home/src/projects/project/package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/package.json 1:: WatchInfo: /home/src/projects/project/package.json 250 undefined WatchType: package.json file Edit package.json diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js b/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js index 9749756908657..f19f039ce72e3 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js @@ -397,7 +397,8 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/s Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/src/package.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json Detected new package.json: /home/src/projects/project/src/package.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/src/package.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/src/package.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory packageJson //// [/home/src/projects/project/src/package.json] @@ -444,8 +445,8 @@ FsWatchesRecursive:: {} Timeout callback:: count: 2 -1: /home/src/projects/project/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* +3: /home/src/projects/project/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js b/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js index 78c579e97bff6..7071ef3e0580f 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js @@ -497,7 +497,8 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/package.json 2:: WatchInfo: /home/src/projects/project/package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/package.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/package.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/package.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory delete packageJson //// [/home/src/projects/project/package.json] deleted @@ -528,12 +529,17 @@ FsWatchesRecursive:: /home/src/projects/project: {} +Timeout callback:: count: 2 +1: /home/src/projects/project/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* + Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 1 projectProgramVersion: 1 autoImportProviderHost: undefined *changed* -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 1 +/home/src/projects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* projectProgramVersion: 1 - noOpenRef: true + dirty: true *changed* + noOpenRef: false *changed* diff --git a/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js b/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js index 9937c636869d8..911de64c25347 100644 --- a/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js +++ b/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js @@ -77,10 +77,14 @@ getExternalFiles:: Getting new list of .vue files Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -199,6 +203,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} /user/username/projects/myproject: *new* {} /user/username/projects/myproject/a.ts: *new* diff --git a/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js b/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js index adae75c990ba6..9b4e322187225 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js @@ -201,7 +201,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory after deleteFile //// [/home/src/projects/project/tsconfig.json] deleted @@ -229,7 +228,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 2: /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js index a47d75aad83ce..82eb3f9103d12 100644 --- a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js +++ b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js @@ -83,6 +83,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/src 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/src 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@custom/plugin/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@custom/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -211,6 +215,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/myproject: *new* + {} /users/username/projects/myproject/tsconfig.json: *new* {} diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js index 43fa7f1088da6..a363fe5207f55 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js @@ -62,10 +62,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -177,6 +181,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -308,6 +316,9 @@ After running Immedidate callback:: count: 0 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -354,6 +365,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/tsconfig.json: {} @@ -366,9 +381,9 @@ FsWatchesRecursive:: {} Timeout callback:: count: 3 -6: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* -7: /user/username/projects/myproject/tsconfig.json *new* -8: *ensureProjectForOpenFiles* *new* +7: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +8: /user/username/projects/myproject/tsconfig.json *new* +9: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -392,18 +407,18 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 4 -6: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation -7: /user/username/projects/myproject/tsconfig.json -8: *ensureProjectForOpenFiles* -9: checkOne *new* +7: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +8: /user/username/projects/myproject/tsconfig.json +9: *ensureProjectForOpenFiles* +10: checkOne *new* Before running Timeout callback:: count: 4 -6: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation -7: /user/username/projects/myproject/tsconfig.json -8: *ensureProjectForOpenFiles* -9: checkOne +7: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +8: /user/username/projects/myproject/tsconfig.json +9: *ensureProjectForOpenFiles* +10: checkOne -Invoking Timeout callback:: timeoutId:: 9:: checkOne +Invoking Timeout callback:: timeoutId:: 10:: checkOne Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -426,10 +441,10 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 2 Timeout callback:: count: 2 -6: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *deleted* -8: *ensureProjectForOpenFiles* *deleted* -7: /user/username/projects/myproject/tsconfig.json -10: *ensureProjectForOpenFiles* *new* +7: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *deleted* +9: *ensureProjectForOpenFiles* *deleted* +8: /user/username/projects/myproject/tsconfig.json +11: *ensureProjectForOpenFiles* *new* Immedidate callback:: count: 1 3: semanticCheck *new* @@ -566,16 +581,16 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 3 -7: /user/username/projects/myproject/tsconfig.json -10: *ensureProjectForOpenFiles* -11: checkOne *new* +8: /user/username/projects/myproject/tsconfig.json +11: *ensureProjectForOpenFiles* +12: checkOne *new* Before running Timeout callback:: count: 3 -7: /user/username/projects/myproject/tsconfig.json -10: *ensureProjectForOpenFiles* -11: checkOne +8: /user/username/projects/myproject/tsconfig.json +11: *ensureProjectForOpenFiles* +12: checkOne -Invoking Timeout callback:: timeoutId:: 11:: checkOne +Invoking Timeout callback:: timeoutId:: 12:: checkOne Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -677,16 +692,16 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 3 -7: /user/username/projects/myproject/tsconfig.json -10: *ensureProjectForOpenFiles* -12: checkOne *new* +8: /user/username/projects/myproject/tsconfig.json +11: *ensureProjectForOpenFiles* +13: checkOne *new* Before running Timeout callback:: count: 3 -7: /user/username/projects/myproject/tsconfig.json -10: *ensureProjectForOpenFiles* -12: checkOne +8: /user/username/projects/myproject/tsconfig.json +11: *ensureProjectForOpenFiles* +13: checkOne -Invoking Timeout callback:: timeoutId:: 12:: checkOne +Invoking Timeout callback:: timeoutId:: 13:: checkOne Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -826,18 +841,18 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 3 -13: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation -14: /user/username/projects/myproject/tsconfig.json -15: *ensureProjectForOpenFiles* +14: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +15: /user/username/projects/myproject/tsconfig.json +16: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts] deleted //// [/user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts] deleted Timeout callback:: count: 3 -7: /user/username/projects/myproject/tsconfig.json *deleted* -10: *ensureProjectForOpenFiles* *deleted* -13: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* -14: /user/username/projects/myproject/tsconfig.json *new* -15: *ensureProjectForOpenFiles* *new* +8: /user/username/projects/myproject/tsconfig.json *deleted* +11: *ensureProjectForOpenFiles* *deleted* +14: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +15: /user/username/projects/myproject/tsconfig.json *new* +16: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -852,14 +867,14 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli After running Timeout callback:: count: 2 Timeout callback:: count: 2 -14: /user/username/projects/myproject/tsconfig.json *deleted* -15: *ensureProjectForOpenFiles* *deleted* -16: /user/username/projects/myproject/tsconfig.json *new* -17: *ensureProjectForOpenFiles* *new* +15: /user/username/projects/myproject/tsconfig.json *deleted* +16: *ensureProjectForOpenFiles* *deleted* +17: /user/username/projects/myproject/tsconfig.json *new* +18: *ensureProjectForOpenFiles* *new* Before running Timeout callback:: count: 2 -16: /user/username/projects/myproject/tsconfig.json -17: *ensureProjectForOpenFiles* +17: /user/username/projects/myproject/tsconfig.json +18: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json @@ -942,6 +957,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/tsconfig.json: {} @@ -991,10 +1010,10 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 1 -18: checkOne *new* +19: checkOne *new* Before running Timeout callback:: count: 1 -18: checkOne +19: checkOne Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js index 00b05ea577d95..ef2083c383c37 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js @@ -62,10 +62,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -177,6 +181,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -308,6 +316,9 @@ After running Immedidate callback:: count: 0 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -338,9 +349,9 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projec Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected ignored path: /user/username/projects/myproject/node_modules/.staging/core-js-db53158d Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/core-js-db53158d :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 3 -6: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation -7: /user/username/projects/myproject/tsconfig.json -8: *ensureProjectForOpenFiles* +7: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +8: /user/username/projects/myproject/tsconfig.json +9: *ensureProjectForOpenFiles* PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -357,6 +368,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/tsconfig.json: {} @@ -369,9 +384,9 @@ FsWatchesRecursive:: {} Timeout callback:: count: 3 -6: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* -7: /user/username/projects/myproject/tsconfig.json *new* -8: *ensureProjectForOpenFiles* *new* +7: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +8: /user/username/projects/myproject/tsconfig.json *new* +9: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -386,14 +401,14 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli After running Timeout callback:: count: 2 Timeout callback:: count: 2 -7: /user/username/projects/myproject/tsconfig.json *deleted* -8: *ensureProjectForOpenFiles* *deleted* -9: /user/username/projects/myproject/tsconfig.json *new* -10: *ensureProjectForOpenFiles* *new* +8: /user/username/projects/myproject/tsconfig.json *deleted* +9: *ensureProjectForOpenFiles* *deleted* +10: /user/username/projects/myproject/tsconfig.json *new* +11: *ensureProjectForOpenFiles* *new* Before running Timeout callback:: count: 2 -9: /user/username/projects/myproject/tsconfig.json -10: *ensureProjectForOpenFiles* +10: /user/username/projects/myproject/tsconfig.json +11: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json @@ -459,10 +474,10 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 1 -11: checkOne *new* +12: checkOne *new* Before running Timeout callback:: count: 1 -11: checkOne +12: checkOne Info seq [hh:mm:ss:mss] event: { @@ -611,10 +626,10 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 1 -12: checkOne *new* +13: checkOne *new* Before running Timeout callback:: count: 1 -12: checkOne +13: checkOne Info seq [hh:mm:ss:mss] event: { @@ -725,10 +740,10 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 1 -13: checkOne *new* +14: checkOne *new* Before running Timeout callback:: count: 1 -13: checkOne +14: checkOne Info seq [hh:mm:ss:mss] event: { @@ -869,16 +884,16 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 3 -14: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation -15: /user/username/projects/myproject/tsconfig.json -16: *ensureProjectForOpenFiles* +15: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +16: /user/username/projects/myproject/tsconfig.json +17: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts] deleted //// [/user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts] deleted Timeout callback:: count: 3 -14: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* -15: /user/username/projects/myproject/tsconfig.json *new* -16: *ensureProjectForOpenFiles* *new* +15: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* +16: /user/username/projects/myproject/tsconfig.json *new* +17: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -893,14 +908,14 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli After running Timeout callback:: count: 2 Timeout callback:: count: 2 -15: /user/username/projects/myproject/tsconfig.json *deleted* -16: *ensureProjectForOpenFiles* *deleted* -17: /user/username/projects/myproject/tsconfig.json *new* -18: *ensureProjectForOpenFiles* *new* +16: /user/username/projects/myproject/tsconfig.json *deleted* +17: *ensureProjectForOpenFiles* *deleted* +18: /user/username/projects/myproject/tsconfig.json *new* +19: *ensureProjectForOpenFiles* *new* Before running Timeout callback:: count: 2 -17: /user/username/projects/myproject/tsconfig.json -18: *ensureProjectForOpenFiles* +18: /user/username/projects/myproject/tsconfig.json +19: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json @@ -983,6 +998,10 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/tsconfig.json: {} @@ -1032,10 +1051,10 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 1 -19: checkOne *new* +20: checkOne *new* Before running Timeout callback:: count: 1 -19: checkOne +20: checkOne Info seq [hh:mm:ss:mss] event: { diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js index 8bc8e031f22c8..626585e26d106 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js @@ -289,6 +289,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library 1 undefined Config: /user/username/projects/myproject/shared/src/library/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/bld/library/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations @@ -297,6 +305,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots @@ -441,6 +451,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/app: *new* + {} +/user/username/projects/myproject/app/src: *new* + {} +/user/username/projects/myproject/app/src/program: *new* + {} /user/username/projects/myproject/app/src/program/bar.ts: *new* {} /user/username/projects/myproject/app/src/program/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js index 4843a7d8961a4..886816a12b5b2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js @@ -287,6 +287,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library 1 undefined Config: /user/username/projects/myproject/shared/src/library/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations @@ -295,6 +303,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots @@ -438,6 +448,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/app: *new* + {} +/user/username/projects/myproject/app/src: *new* + {} +/user/username/projects/myproject/app/src/program: *new* + {} /user/username/projects/myproject/app/src/program/bar.ts: *new* {} /user/username/projects/myproject/app/src/program/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js index fd0e21b4c3272..79ec25d9834c4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js @@ -130,6 +130,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library 1 undefined Config: /user/username/projects/myproject/shared/src/library/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations @@ -138,6 +146,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program 0 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots @@ -281,6 +291,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/app: *new* + {} +/user/username/projects/myproject/app/src: *new* + {} +/user/username/projects/myproject/app/src/program: *new* + {} /user/username/projects/myproject/app/src/program/bar.ts: *new* {} /user/username/projects/myproject/app/src/program/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index 1201af2f8b210..59014ab57e6c5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -169,12 +169,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -241,6 +247,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/src: *new* + {} /user/username/projects/myproject/tsconfig-indirect1.json: *new* {} /user/username/projects/myproject/tsconfig.json: *new* @@ -393,6 +405,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} /user/username/projects/myproject/tsconfig.json: {} @@ -502,6 +520,12 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} /user/username/projects/myproject/src/main.ts: *new* {} @@ -597,6 +621,12 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} /user/username/projects/myproject/src/main.ts: {} /user/username/workspaces/dummy/dummy.ts: *new* @@ -662,12 +692,18 @@ Info seq [hh:mm:ss:mss] Files (2) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -724,6 +760,12 @@ FsWatches:: {} FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} /user/username/projects/myproject/src/main.ts: {} /user/username/workspaces/dummy/dummy.ts: @@ -810,12 +852,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots @@ -896,6 +944,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/src: *new* + {} /user/username/projects/myproject/tsconfig-indirect1.json: *new* {} /user/username/projects/myproject/tsconfig.json: *new* @@ -980,12 +1034,18 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/wo Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots @@ -1029,12 +1089,18 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots @@ -1152,11 +1218,25 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* +/user/username/projects/myproject/src: + {} *new* /user/username/projects/myproject/tsconfig-indirect1.json: {} /user/username/projects/myproject/tsconfig.json: {} +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + Timeout callback:: count: 0 Projects:: diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index 6474e38fc59fe..3ef92daf66348 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -131,12 +131,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -203,6 +209,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/src: *new* + {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -351,6 +363,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} /user/username/projects/myproject/tsconfig.json: {} @@ -456,6 +474,12 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} /user/username/projects/myproject/src/main.ts: *new* {} @@ -551,6 +575,12 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} /user/username/projects/myproject/src/main.ts: {} /user/username/workspaces/dummy/dummy.ts: *new* @@ -616,12 +646,18 @@ Info seq [hh:mm:ss:mss] Files (2) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -678,6 +714,12 @@ FsWatches:: {} FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} /user/username/projects/myproject/src/main.ts: {} /user/username/workspaces/dummy/dummy.ts: @@ -746,12 +788,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots @@ -832,6 +880,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/src: *new* + {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -897,12 +951,18 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/wo Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/dummy/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots @@ -946,12 +1006,18 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots @@ -1069,9 +1135,23 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* +/user/username/projects/myproject/src: + {} *new* /user/username/projects/myproject/tsconfig.json: {} +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + Timeout callback:: count: 0 Projects:: diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js index b8144bec39c27..a1c46c1cba5d0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js @@ -303,12 +303,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -443,6 +451,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js index 0df51c65a5f6b..0688111c435ff 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js @@ -289,12 +289,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -428,6 +436,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js index 75e32ba43e4c3..f517aaacb2460 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js @@ -135,12 +135,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -275,6 +283,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js index 109640f93e7da..021285152bb9b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js @@ -131,12 +131,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -270,6 +278,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 2ab391b70341a..3c22a1192f7cf 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -303,12 +303,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -443,6 +451,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js index 560239f87f7d6..cd7169572dc7b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js @@ -289,12 +289,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -428,6 +436,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index 5ec7c06c40c33..b2ac830e48481 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -135,12 +135,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -275,6 +283,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js index 18b1cff132899..2036daf1b9fe8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js @@ -131,12 +131,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations @@ -270,6 +278,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js index 2c46ee4a2b88c..c276e2e55348b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js @@ -300,12 +300,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -438,6 +446,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js index e5c8fc949b57a..91e46492e2037 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js @@ -286,12 +286,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -423,6 +431,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js index 9fd74be2d6f76..0f977ce3e6793 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js @@ -132,12 +132,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -270,6 +278,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js index b13ddb4e9d149..e65ea8c913ff3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js @@ -128,12 +128,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -265,6 +273,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 51f6179b7c80f..8b64c75ab90c0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -300,12 +300,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -438,6 +446,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js index 97ba905391df5..aa94c68ad09af 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js @@ -286,12 +286,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -423,6 +431,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index d122b2a0d992b..218c41b967f67 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -132,12 +132,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -270,6 +278,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js index 78b42dafda25d..7cb2ccb584136 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js @@ -128,12 +128,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A 0 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -265,6 +273,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/A: *new* + {} /user/username/projects/myproject/packages/A/tsconfig.json: *new* {} /user/username/projects/myproject/packages/B/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js index 3948c889de088..6c4b27697dde6 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js @@ -1478,12 +1478,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -1572,6 +1578,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/src: *new* + {} /user/username/projects/myproject/src/helpers/functions.ts: {} /user/username/projects/myproject/tsconfig-src.json: @@ -1632,9 +1644,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/my Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject2*FailedLookupInvalidation +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Before running Timeout callback:: count: 3 3: /user/username/projects/myproject/tsconfig-src.json 4: *ensureProjectForOpenFiles* +5: /dev/null/inferredProject2*FailedLookupInvalidation //// [/user/username/projects/myproject/tsconfig-src.json] { "compilerOptions": { @@ -1648,9 +1664,10 @@ Before running Timeout callback:: count: 2 } -Timeout callback:: count: 2 +Timeout callback:: count: 3 3: /user/username/projects/myproject/tsconfig-src.json *new* 4: *ensureProjectForOpenFiles* *new* +5: /dev/null/inferredProject2*FailedLookupInvalidation *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -1748,12 +1765,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -1833,10 +1856,21 @@ FsWatches:: /user/username/workspaces/dummy/dummy.ts: {} +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Timeout callback:: count: 0 +5: /dev/null/inferredProject2*FailedLookupInvalidation *deleted* + Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 4 @@ -1883,7 +1917,7 @@ Before request //// [/user/username/projects/myproject/tsconfig-src.json] deleted Timeout callback:: count: 1 -5: *ensureProjectForOpenFiles* *new* +6: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -2057,8 +2091,8 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-s Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -6: /user/username/projects/myproject/tsconfig-src.json -7: *ensureProjectForOpenFiles* +7: /user/username/projects/myproject/tsconfig-src.json +8: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig-src.json] { "compilerOptions": { @@ -2073,9 +2107,9 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -5: *ensureProjectForOpenFiles* *deleted* -6: /user/username/projects/myproject/tsconfig-src.json *new* -7: *ensureProjectForOpenFiles* *new* +6: *ensureProjectForOpenFiles* *deleted* +7: /user/username/projects/myproject/tsconfig-src.json *new* +8: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js index e37b3ca584a69..0b5572e4ab347 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js @@ -1645,12 +1645,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -1739,6 +1745,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/src: *new* + {} /user/username/projects/myproject/src/helpers/functions.ts: {} /user/username/projects/myproject/tsconfig-indirect1.json: @@ -1803,9 +1815,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/my Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject2*FailedLookupInvalidation +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Before running Timeout callback:: count: 3 3: /user/username/projects/myproject/tsconfig-src.json 4: *ensureProjectForOpenFiles* +5: /dev/null/inferredProject2*FailedLookupInvalidation //// [/user/username/projects/myproject/tsconfig-src.json] { "compilerOptions": { @@ -1819,9 +1835,10 @@ Before running Timeout callback:: count: 2 } -Timeout callback:: count: 2 +Timeout callback:: count: 3 3: /user/username/projects/myproject/tsconfig-src.json *new* 4: *ensureProjectForOpenFiles* *new* +5: /dev/null/inferredProject2*FailedLookupInvalidation *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -1919,12 +1936,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -2008,10 +2031,21 @@ FsWatches:: /user/username/workspaces/dummy/dummy.ts: {} +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + FsWatchesRecursive:: /user/username/projects/myproject/src: *new* {} +Timeout callback:: count: 0 +5: /dev/null/inferredProject2*FailedLookupInvalidation *deleted* + Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 4 @@ -2058,7 +2092,7 @@ Before request //// [/user/username/projects/myproject/tsconfig-src.json] deleted Timeout callback:: count: 1 -5: *ensureProjectForOpenFiles* *new* +6: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -2236,8 +2270,8 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-s Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -6: /user/username/projects/myproject/tsconfig-src.json -7: *ensureProjectForOpenFiles* +7: /user/username/projects/myproject/tsconfig-src.json +8: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig-src.json] { "compilerOptions": { @@ -2252,9 +2286,9 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -5: *ensureProjectForOpenFiles* *deleted* -6: /user/username/projects/myproject/tsconfig-src.json *new* -7: *ensureProjectForOpenFiles* *new* +6: *ensureProjectForOpenFiles* *deleted* +7: /user/username/projects/myproject/tsconfig-src.json *new* +8: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js index 72debef5de164..40018546cfc00 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js @@ -1961,10 +1961,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -2096,6 +2100,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/indirect1/main.ts: {} /user/username/projects/myproject/own/main.ts: @@ -2175,10 +2183,14 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Before running Timeout callback:: count: 4 4: /user/username/projects/myproject/tsconfig.json 5: /user/username/projects/myproject/tsconfig-src.json 6: *ensureProjectForOpenFiles* +7: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation //// [/user/username/projects/myproject/tsconfig-src.json] { "compilerOptions": { @@ -2192,10 +2204,11 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 +Timeout callback:: count: 4 4: /user/username/projects/myproject/tsconfig.json *new* 5: /user/username/projects/myproject/tsconfig-src.json *new* 6: *ensureProjectForOpenFiles* *new* +7: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -2234,10 +2247,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -2388,6 +2405,12 @@ FsWatches:: /user/username/workspaces/dummy/dummy.ts: {} +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} + FsWatchesRecursive:: /user/username/projects/myproject/src: {} @@ -2396,6 +2419,9 @@ FsWatchesRecursive *deleted*:: /user/username/projects/myproject/indirect1: {} +Timeout callback:: count: 0 +7: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation *deleted* + Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 4 @@ -2447,8 +2473,8 @@ Before request //// [/user/username/projects/myproject/tsconfig-src.json] deleted Timeout callback:: count: 2 -7: /user/username/projects/myproject/tsconfig.json *new* -8: *ensureProjectForOpenFiles* *new* +8: /user/username/projects/myproject/tsconfig.json *new* +9: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) @@ -2614,9 +2640,9 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-s Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig-src.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 3 -9: /user/username/projects/myproject/tsconfig.json -10: /user/username/projects/myproject/tsconfig-src.json -11: *ensureProjectForOpenFiles* +10: /user/username/projects/myproject/tsconfig.json +11: /user/username/projects/myproject/tsconfig-src.json +12: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/tsconfig-src.json] { "compilerOptions": { @@ -2631,11 +2657,11 @@ Before running Timeout callback:: count: 3 Timeout callback:: count: 3 -7: /user/username/projects/myproject/tsconfig.json *deleted* -8: *ensureProjectForOpenFiles* *deleted* -9: /user/username/projects/myproject/tsconfig.json *new* -10: /user/username/projects/myproject/tsconfig-src.json *new* -11: *ensureProjectForOpenFiles* *new* +8: /user/username/projects/myproject/tsconfig.json *deleted* +9: *ensureProjectForOpenFiles* *deleted* +10: /user/username/projects/myproject/tsconfig.json *new* +11: /user/username/projects/myproject/tsconfig-src.json *new* +12: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js index 2c86c14856154..111dfc3f1908e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js @@ -529,10 +529,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -647,6 +651,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/projects/project/app/Component.ts: {} /home/src/projects/project/app/tsconfig.json: @@ -896,6 +904,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/projects/project/app/Component.ts: {} /home/src/projects/project/app/tsconfig.json: @@ -1020,6 +1032,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/projects/project/app/Component.ts: {} /home/src/projects/project/app/tsconfig.json: @@ -1199,10 +1215,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -1350,6 +1370,12 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +FsWatches *deleted*:: +/home/src/projects: + {} +/home/src/projects/project: + {} + FsWatchesRecursive:: /home/src/projects/project: {} diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js index 86e73227ad5b1..cd0992a3babeb 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js @@ -529,10 +529,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -647,6 +651,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/projects/project/app/Component.ts: {} /home/src/projects/project/app/tsconfig.json: @@ -807,10 +815,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -944,6 +956,12 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +FsWatches *deleted*:: +/home/src/projects: + {} +/home/src/projects/project: + {} + FsWatchesRecursive:: /home/src/projects/project: {} diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js index 8a8e1f7b240a2..8c5fb6ccf768e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js @@ -461,7 +461,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* @@ -953,7 +952,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 2: /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js index 87a79adb78744..70e1b038acf21 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js @@ -461,7 +461,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* @@ -569,7 +568,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/pro Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 2: /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js index aeb6c26ac06b1..01f76daccb2be 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js @@ -528,10 +528,14 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -622,6 +626,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/projects/project/app/Component.ts: {} /home/src/projects/project/app/tsconfig.json: @@ -876,6 +884,10 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/projects/project/app/Component.ts: {} /home/src/projects/project/app/tsconfig.json: @@ -1001,6 +1013,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/projects/project/app/Component.ts: {} /home/src/projects/project/app/tsconfig.json: @@ -1194,10 +1210,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -1368,6 +1388,12 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +FsWatches *deleted*:: +/home/src/projects: + {} +/home/src/projects/project: + {} + FsWatchesRecursive:: /home/src/projects/project: {} diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js index cdb851dc220fb..bba62be3ec9b8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js @@ -528,10 +528,14 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -622,6 +626,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/projects/project/app/Component.ts: {} /home/src/projects/project/app/tsconfig.json: @@ -767,10 +775,14 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -876,6 +888,12 @@ FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +FsWatches *deleted*:: +/home/src/projects: + {} +/home/src/projects/project: + {} + FsWatchesRecursive:: /home/src/projects/project: {} diff --git a/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js b/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js index e8402c091b067..0d3be721b1786 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js @@ -139,12 +139,20 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/src 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/src 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages 0 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/node_modules 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/node_modules 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer 0 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer 0 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/emit-composite/package.json 2000 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Type roots @@ -271,6 +279,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/packages: *new* + {} +/user/username/projects/myproject/packages/consumer: *new* + {} /user/username/projects/myproject/packages/consumer/tsconfig.json: *new* {} /user/username/projects/myproject/packages/emit-composite/package.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js index 210d4ea09a50a..461b409ac1b63 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js @@ -692,7 +692,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* @@ -876,7 +875,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 2: /user/username/projects/myproject/main/tsconfig.json @@ -1479,7 +1477,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 4: *ensureProjectForOpenFiles* @@ -1986,7 +1983,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 5: /user/username/projects/myproject/main/tsconfig.json @@ -2521,7 +2517,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json @@ -2529,7 +2524,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 8: /user/username/projects/myproject/main/tsconfig.json @@ -2924,7 +2918,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before request //// [/user/username/projects/myproject/main/tsconfig.json] deleted @@ -3212,7 +3205,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 11: /user/username/projects/myproject/main/tsconfig.json @@ -3616,7 +3608,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/my Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 13: *ensureProjectForOpenFiles* @@ -3694,7 +3685,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 14: /user/username/projects/myproject/dependency/tsconfig.json @@ -4098,7 +4088,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/my Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before request //// [/user/username/projects/myproject/dependency/tsconfig.json] deleted @@ -4385,7 +4374,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 17: /user/username/projects/myproject/dependency/tsconfig.json @@ -4790,7 +4778,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/my Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 19: *ensureProjectForOpenFiles* @@ -5127,7 +5114,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 20: /user/username/projects/myproject/dependency/tsconfig.json @@ -5531,14 +5517,12 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/my Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 23: /user/username/projects/myproject/dependency/tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js index a6764101c6cee..ef8012b5e6e5d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js @@ -686,7 +686,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* @@ -863,7 +862,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 2: /user/username/projects/myproject/main/tsconfig.json @@ -1449,7 +1447,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 4: *ensureProjectForOpenFiles* @@ -1931,7 +1928,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 5: /user/username/projects/myproject/main/tsconfig.json @@ -2447,7 +2443,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json @@ -2455,7 +2450,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 8: /user/username/projects/myproject/main/tsconfig.json @@ -2830,7 +2824,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before request //// [/user/username/projects/myproject/main/tsconfig.json] deleted @@ -3091,7 +3084,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 11: /user/username/projects/myproject/main/tsconfig.json @@ -3481,16 +3473,17 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tscon Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 -13: /user/username/projects/myproject/main/tsconfig.json -14: *ensureProjectForOpenFiles* +15: /user/username/projects/myproject/main/tsconfig.json +16: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/dependency/tsconfig.json] deleted Timeout callback:: count: 2 -13: /user/username/projects/myproject/main/tsconfig.json *new* -14: *ensureProjectForOpenFiles* *new* +15: /user/username/projects/myproject/main/tsconfig.json *new* +16: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -3695,9 +3688,9 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 3 -15: /user/username/projects/myproject/main/tsconfig.json -16: /user/username/projects/myproject/dependency/tsconfig.json -17: *ensureProjectForOpenFiles* +17: /user/username/projects/myproject/main/tsconfig.json +18: /user/username/projects/myproject/dependency/tsconfig.json +19: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/dependency/tsconfig.json] { "compilerOptions": { @@ -3709,9 +3702,9 @@ Before running Timeout callback:: count: 3 Timeout callback:: count: 3 -15: /user/username/projects/myproject/main/tsconfig.json *new* -16: /user/username/projects/myproject/dependency/tsconfig.json *new* -17: *ensureProjectForOpenFiles* *new* +17: /user/username/projects/myproject/main/tsconfig.json *new* +18: /user/username/projects/myproject/dependency/tsconfig.json *new* +19: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -4175,14 +4168,15 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tscon Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before request //// [/user/username/projects/myproject/dependency/tsconfig.json] deleted Timeout callback:: count: 2 -18: /user/username/projects/myproject/main/tsconfig.json *new* -19: *ensureProjectForOpenFiles* *new* +22: /user/username/projects/myproject/main/tsconfig.json *new* +23: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -4440,12 +4434,13 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 3 -20: /user/username/projects/myproject/main/tsconfig.json -21: /user/username/projects/myproject/dependency/tsconfig.json -22: *ensureProjectForOpenFiles* +25: /user/username/projects/myproject/dependency/tsconfig.json +27: /user/username/projects/myproject/main/tsconfig.json +28: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/dependency/tsconfig.json] { "compilerOptions": { @@ -4457,11 +4452,11 @@ Before running Timeout callback:: count: 3 Timeout callback:: count: 3 -18: /user/username/projects/myproject/main/tsconfig.json *deleted* -19: *ensureProjectForOpenFiles* *deleted* -20: /user/username/projects/myproject/main/tsconfig.json *new* -21: /user/username/projects/myproject/dependency/tsconfig.json *new* -22: *ensureProjectForOpenFiles* *new* +22: /user/username/projects/myproject/main/tsconfig.json *deleted* +23: *ensureProjectForOpenFiles* *deleted* +25: /user/username/projects/myproject/dependency/tsconfig.json *new* +27: /user/username/projects/myproject/main/tsconfig.json *new* +28: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -4483,27 +4478,6 @@ Projects:: noOpenRef: true autoImportProviderHost: false -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/dependency/FnS.ts" - ], - "options": { - "composite": true, - "declarationMap": true, - "declarationDir": "/user/username/projects/myproject/decls", - "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 8 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" - /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] event: { @@ -4515,6 +4489,17 @@ Info seq [hh:mm:ss:mss] event: "reason": "Change in config file detected" } } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/dependency/FnS.ts" + ], + "options": { + "composite": true, + "declarationMap": true, + "declarationDir": "/user/username/projects/myproject/decls", + "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before @@ -4538,6 +4523,16 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 8 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" + /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) @@ -4835,16 +4830,17 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tscon Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 -23: /user/username/projects/myproject/main/tsconfig.json -24: *ensureProjectForOpenFiles* +31: /user/username/projects/myproject/main/tsconfig.json +32: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/dependency/tsconfig.json] deleted Timeout callback:: count: 2 -23: /user/username/projects/myproject/main/tsconfig.json *new* -24: *ensureProjectForOpenFiles* *new* +31: /user/username/projects/myproject/main/tsconfig.json *new* +32: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -5286,9 +5282,9 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 3 -25: /user/username/projects/myproject/main/tsconfig.json -26: /user/username/projects/myproject/dependency/tsconfig.json -27: *ensureProjectForOpenFiles* +33: /user/username/projects/myproject/main/tsconfig.json +34: /user/username/projects/myproject/dependency/tsconfig.json +35: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/dependency/tsconfig.json] { "compilerOptions": { @@ -5300,9 +5296,9 @@ Before running Timeout callback:: count: 3 Timeout callback:: count: 3 -25: /user/username/projects/myproject/main/tsconfig.json *new* -26: /user/username/projects/myproject/dependency/tsconfig.json *new* -27: *ensureProjectForOpenFiles* *new* +33: /user/username/projects/myproject/main/tsconfig.json *new* +34: /user/username/projects/myproject/dependency/tsconfig.json *new* +35: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -5766,7 +5762,8 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tscon Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one @@ -5774,18 +5771,19 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 3 -30: /user/username/projects/myproject/main/tsconfig.json -31: /user/username/projects/myproject/dependency/tsconfig.json -32: *ensureProjectForOpenFiles* +41: /user/username/projects/myproject/dependency/tsconfig.json +43: /user/username/projects/myproject/main/tsconfig.json +44: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/dependency/tsconfig.json] file written with same contents Timeout callback:: count: 3 -30: /user/username/projects/myproject/main/tsconfig.json *new* -31: /user/username/projects/myproject/dependency/tsconfig.json *new* -32: *ensureProjectForOpenFiles* *new* +41: /user/username/projects/myproject/dependency/tsconfig.json *new* +43: /user/username/projects/myproject/main/tsconfig.json *new* +44: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -5805,27 +5803,6 @@ Projects:: noOpenRef: true autoImportProviderHost: false -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/dependency/FnS.ts" - ], - "options": { - "composite": true, - "declarationMap": true, - "declarationDir": "/user/username/projects/myproject/decls", - "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 11 projectProgramVersion: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" - /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" - /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] event: { @@ -5837,6 +5814,17 @@ Info seq [hh:mm:ss:mss] event: "reason": "Change in config file detected" } } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/dependency/FnS.ts" + ], + "options": { + "composite": true, + "declarationMap": true, + "declarationDir": "/user/username/projects/myproject/decls", + "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 5 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before @@ -5860,6 +5848,16 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 11 projectProgramVersion: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /user/username/projects/myproject/dependency/FnS.ts Text-1 "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n" + /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js index dde3ffeb30029..b4f439be095b0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js @@ -710,7 +710,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* @@ -894,7 +893,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 2: /user/username/projects/myproject/main/tsconfig.json @@ -1510,7 +1508,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 4: *ensureProjectForOpenFiles* @@ -2017,7 +2014,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 5: /user/username/projects/myproject/main/tsconfig.json @@ -2565,7 +2561,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json @@ -2573,7 +2568,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 8: /user/username/projects/myproject/main/tsconfig.json @@ -2975,7 +2969,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before request //// [/user/username/projects/myproject/main/tsconfig.json] deleted @@ -3263,7 +3256,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/main/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main/tsconfig.json :: WatchInfo: /user/username/projects/myproject/main 1 undefined Config: /user/username/projects/myproject/main/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 11: /user/username/projects/myproject/main/tsconfig.json @@ -3681,16 +3673,17 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tscon Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 -13: /user/username/projects/myproject/main/tsconfig.json -14: *ensureProjectForOpenFiles* +15: /user/username/projects/myproject/main/tsconfig.json +16: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/dependency/tsconfig.json] deleted Timeout callback:: count: 2 -13: /user/username/projects/myproject/main/tsconfig.json *new* -14: *ensureProjectForOpenFiles* *new* +15: /user/username/projects/myproject/main/tsconfig.json *new* +16: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -3863,9 +3856,9 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 3 -15: /user/username/projects/myproject/main/tsconfig.json -16: /user/username/projects/myproject/dependency/tsconfig.json -17: *ensureProjectForOpenFiles* +17: /user/username/projects/myproject/main/tsconfig.json +18: /user/username/projects/myproject/dependency/tsconfig.json +19: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/dependency/tsconfig.json] { "compilerOptions": { @@ -3877,9 +3870,9 @@ Before running Timeout callback:: count: 3 Timeout callback:: count: 3 -15: /user/username/projects/myproject/main/tsconfig.json *new* -16: /user/username/projects/myproject/dependency/tsconfig.json *new* -17: *ensureProjectForOpenFiles* *new* +17: /user/username/projects/myproject/main/tsconfig.json *new* +18: /user/username/projects/myproject/dependency/tsconfig.json *new* +19: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -4332,14 +4325,15 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tscon Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before request //// [/user/username/projects/myproject/dependency/tsconfig.json] deleted Timeout callback:: count: 2 -18: /user/username/projects/myproject/main/tsconfig.json *new* -19: *ensureProjectForOpenFiles* *new* +22: /user/username/projects/myproject/main/tsconfig.json *new* +23: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -4624,12 +4618,13 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 3 -20: /user/username/projects/myproject/main/tsconfig.json -21: /user/username/projects/myproject/dependency/tsconfig.json -22: *ensureProjectForOpenFiles* +25: /user/username/projects/myproject/dependency/tsconfig.json +27: /user/username/projects/myproject/main/tsconfig.json +28: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/dependency/tsconfig.json] { "compilerOptions": { @@ -4641,11 +4636,11 @@ Before running Timeout callback:: count: 3 Timeout callback:: count: 3 -18: /user/username/projects/myproject/main/tsconfig.json *deleted* -19: *ensureProjectForOpenFiles* *deleted* -20: /user/username/projects/myproject/main/tsconfig.json *new* -21: /user/username/projects/myproject/dependency/tsconfig.json *new* -22: *ensureProjectForOpenFiles* *new* +22: /user/username/projects/myproject/main/tsconfig.json *deleted* +23: *ensureProjectForOpenFiles* *deleted* +25: /user/username/projects/myproject/dependency/tsconfig.json *new* +27: /user/username/projects/myproject/main/tsconfig.json *new* +28: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -4666,27 +4661,6 @@ Projects:: noOpenRef: true autoImportProviderHost: false -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/dependency/FnS.ts" - ], - "options": { - "composite": true, - "declarationMap": true, - "declarationDir": "/user/username/projects/myproject/decls", - "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 8 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" - /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" - /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] event: { @@ -4698,6 +4672,17 @@ Info seq [hh:mm:ss:mss] event: "reason": "Change in config file detected" } } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/dependency/FnS.ts" + ], + "options": { + "composite": true, + "declarationMap": true, + "declarationDir": "/user/username/projects/myproject/decls", + "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before @@ -4721,6 +4706,16 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 8 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) @@ -5045,16 +5040,17 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tscon Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 -23: /user/username/projects/myproject/main/tsconfig.json -24: *ensureProjectForOpenFiles* +31: /user/username/projects/myproject/main/tsconfig.json +32: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/dependency/tsconfig.json] deleted Timeout callback:: count: 2 -23: /user/username/projects/myproject/main/tsconfig.json *new* -24: *ensureProjectForOpenFiles* *new* +31: /user/username/projects/myproject/main/tsconfig.json *new* +32: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -5480,9 +5476,9 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 3 -25: /user/username/projects/myproject/main/tsconfig.json -26: /user/username/projects/myproject/dependency/tsconfig.json -27: *ensureProjectForOpenFiles* +33: /user/username/projects/myproject/main/tsconfig.json +34: /user/username/projects/myproject/dependency/tsconfig.json +35: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/dependency/tsconfig.json] { "compilerOptions": { @@ -5494,9 +5490,9 @@ Before running Timeout callback:: count: 3 Timeout callback:: count: 3 -25: /user/username/projects/myproject/main/tsconfig.json *new* -26: /user/username/projects/myproject/dependency/tsconfig.json *new* -27: *ensureProjectForOpenFiles* *new* +33: /user/username/projects/myproject/main/tsconfig.json *new* +34: /user/username/projects/myproject/dependency/tsconfig.json *new* +35: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -5949,7 +5945,8 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tscon Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one @@ -5957,18 +5954,19 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/dependency Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/dependency/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/dependency/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/main/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/dependency/tsconfig.json :: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 3 -30: /user/username/projects/myproject/main/tsconfig.json -31: /user/username/projects/myproject/dependency/tsconfig.json -32: *ensureProjectForOpenFiles* +41: /user/username/projects/myproject/dependency/tsconfig.json +43: /user/username/projects/myproject/main/tsconfig.json +44: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/dependency/tsconfig.json] file written with same contents Timeout callback:: count: 3 -30: /user/username/projects/myproject/main/tsconfig.json *new* -31: /user/username/projects/myproject/dependency/tsconfig.json *new* -32: *ensureProjectForOpenFiles* *new* +41: /user/username/projects/myproject/dependency/tsconfig.json *new* +43: /user/username/projects/myproject/main/tsconfig.json *new* +44: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/dependency/tsconfig.json (Configured) *changed* @@ -5987,27 +5985,6 @@ Projects:: noOpenRef: true autoImportProviderHost: false -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/dependency/FnS.ts" - ], - "options": { - "composite": true, - "declarationMap": true, - "declarationDir": "/user/username/projects/myproject/decls", - "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 11 projectProgramVersion: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" - /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" - /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] event: { @@ -6019,6 +5996,17 @@ Info seq [hh:mm:ss:mss] event: "reason": "Change in config file detected" } } +Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/tsconfig.json : { + "rootNames": [ + "/user/username/projects/myproject/dependency/FnS.ts" + ], + "options": { + "composite": true, + "declarationMap": true, + "declarationDir": "/user/username/projects/myproject/decls", + "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json" + } +} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json projectStateVersion: 5 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Same program as before @@ -6042,6 +6030,16 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 11 projectProgramVersion: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /user/username/projects/myproject/decls/fns.d.ts Text-1 "export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + /user/username/projects/myproject/main/main.ts SVC-1-0 "import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js b/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js index 4b1a00dcafeda..be482ae57425b 100644 --- a/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js +++ b/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js @@ -278,7 +278,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/project/tsconfig.json 2:: WatchInfo: /user/username/projects/project/tsconfig.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/project/tsconfig.json :: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/project/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/project/tsconfig.json :: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* diff --git a/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js b/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js index 07c25d201554a..3590da3b77ee7 100644 --- a/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js +++ b/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js @@ -72,6 +72,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution @@ -201,6 +205,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/projects/project/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* @@ -424,6 +432,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/projects/project/node_modules/@types/a: *new* {} /home/src/projects/project/node_modules/@types/a/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js b/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js index 07766b2bdc81e..bcb7fb0297182 100644 --- a/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js +++ b/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js @@ -80,6 +80,8 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/constructor.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: project WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: project WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: project WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: project WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: project WatchType: Failed Lookup Locations @@ -128,6 +130,10 @@ FsWatches:: /user/username/projects/project/f1.js: *new* {} +FsWatchesRecursive:: +/user/username/projects: *new* + {} + Projects:: project (External) *new* projectStateVersion: 1 @@ -356,6 +362,10 @@ FsWatches:: /user/username/projects/project/f1.js: {} +FsWatchesRecursive:: +/user/username/projects: + {} + Projects:: project (External) *changed* projectStateVersion: 1 diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js index 9737c6d559a46..0e536047a1d5c 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js @@ -354,21 +354,22 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/b/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json :: WatchInfo: /user/username/projects/myproject/b 1 undefined Config: /user/username/projects/myproject/b/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/b/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/b/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json :: WatchInfo: /user/username/projects/myproject/b 1 undefined Config: /user/username/projects/myproject/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json :: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json :: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 3 -1: /user/username/projects/myproject/c/tsconfig.json -2: *ensureProjectForOpenFiles* -3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation +3: /user/username/projects/myproject/c/tsconfig.json +4: *ensureProjectForOpenFiles* +5: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation //// [/user/username/projects/myproject/b/tsconfig.json] deleted Timeout callback:: count: 3 -1: /user/username/projects/myproject/c/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* -3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* +3: /user/username/projects/myproject/c/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* +5: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* @@ -504,7 +505,7 @@ FsWatchesRecursive *deleted*:: {} Timeout callback:: count: 0 -3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* +5: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* @@ -543,9 +544,9 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projec Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json :: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 3 -4: /user/username/projects/myproject/c/tsconfig.json -5: *ensureProjectForOpenFiles* -6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation +6: /user/username/projects/myproject/c/tsconfig.json +7: *ensureProjectForOpenFiles* +8: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation //// [/user/username/projects/myproject/b/tsconfig.json] { "compilerOptions": { @@ -566,9 +567,9 @@ Before running Timeout callback:: count: 3 Timeout callback:: count: 3 -4: /user/username/projects/myproject/c/tsconfig.json *new* -5: *ensureProjectForOpenFiles* *new* -6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* +6: /user/username/projects/myproject/c/tsconfig.json *new* +7: *ensureProjectForOpenFiles* *new* +8: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* @@ -717,7 +718,7 @@ FsWatchesRecursive:: {} Timeout callback:: count: 0 -6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* +8: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js index c2d2da2ce26e1..fa6b575db7a02 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js @@ -354,21 +354,22 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/a/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/a/tsconfig.json :: WatchInfo: /user/username/projects/myproject/a 1 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/a/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/a/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/a/tsconfig.json :: WatchInfo: /user/username/projects/myproject/a 1 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/a/tsconfig.json :: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/a/tsconfig.json :: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 3 -1: /user/username/projects/myproject/c/tsconfig.json -2: *ensureProjectForOpenFiles* -3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation +3: /user/username/projects/myproject/c/tsconfig.json +4: *ensureProjectForOpenFiles* +5: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation //// [/user/username/projects/myproject/a/tsconfig.json] deleted Timeout callback:: count: 3 -1: /user/username/projects/myproject/c/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* -3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* +3: /user/username/projects/myproject/c/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* +5: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* @@ -449,7 +450,7 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Timeout callback:: count: 0 -3: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* +5: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* @@ -466,9 +467,9 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projec Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/a/tsconfig.json :: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 3 -4: /user/username/projects/myproject/c/tsconfig.json -5: *ensureProjectForOpenFiles* -6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation +6: /user/username/projects/myproject/c/tsconfig.json +7: *ensureProjectForOpenFiles* +8: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": { @@ -478,9 +479,9 @@ Before running Timeout callback:: count: 3 Timeout callback:: count: 3 -4: /user/username/projects/myproject/c/tsconfig.json *new* -5: *ensureProjectForOpenFiles* *new* -6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* +6: /user/username/projects/myproject/c/tsconfig.json *new* +7: *ensureProjectForOpenFiles* *new* +8: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* @@ -555,7 +556,7 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Timeout callback:: count: 0 -6: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* +8: /user/username/projects/myproject/c/tsconfig.jsonFailedLookupInvalidation *deleted* Projects:: /user/username/projects/myproject/c/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js index 0a024919f0cd6..1bcfc29e8a8d5 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js @@ -106,9 +106,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -219,6 +223,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -263,9 +271,13 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -296,7 +308,11 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -402,9 +418,19 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* /user/username/projects/myproject/tsconfig.json: {} +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} + FsWatchesRecursive:: /user/username/projects/myproject: {} @@ -457,7 +483,11 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -490,7 +520,11 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -602,9 +636,19 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* /user/username/projects/myproject/tsconfig.json: {} +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} + FsWatchesRecursive:: /user/username/projects/myproject: {} @@ -653,7 +697,11 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -689,6 +737,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -800,11 +850,19 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject: *new* - {} +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* /user/username/projects/myproject/tsconfig.json: {} +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} + FsWatchesRecursive:: /user/username/projects/myproject: {} diff --git a/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js b/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js index cf642ee2502fe..ce6d730c3eeec 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js +++ b/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js @@ -122,9 +122,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -230,6 +234,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/file1.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* @@ -297,6 +305,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/tsconfig.json: {} @@ -339,9 +351,13 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -372,7 +388,11 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -479,9 +499,19 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* /user/username/projects/myproject/tsconfig.json: {} +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} + FsWatchesRecursive:: /user/username/projects/myproject: {} @@ -532,7 +562,11 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -565,7 +599,11 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -678,9 +716,19 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* /user/username/projects/myproject/tsconfig.json: {} +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} + FsWatchesRecursive:: /user/username/projects/myproject: {} @@ -728,7 +776,11 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -764,6 +816,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -876,11 +930,19 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject: *new* - {} +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* /user/username/projects/myproject/tsconfig.json: {} +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} + FsWatchesRecursive:: /user/username/projects/myproject: {} diff --git a/tests/baselines/reference/tsserver/reloadProjects/external-project.js b/tests/baselines/reference/tsserver/reloadProjects/external-project.js index a95adc73cb58e..806149fdc148d 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/external-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/external-project.js @@ -81,9 +81,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/project.sln Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots @@ -165,6 +169,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/file1.ts: *new* {} @@ -225,6 +233,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} FsWatches *deleted*:: /user/username/projects/myproject/file1.ts: @@ -261,16 +273,24 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/project.sl Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/project.sln, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/project.sln Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution @@ -356,6 +376,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* + +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} FsWatchesRecursive:: /user/username/projects/myproject/node_modules: *new* @@ -405,7 +435,11 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/project.sl Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/project.sln, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution @@ -414,7 +448,11 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/project.sln +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution @@ -506,6 +544,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* + +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} FsWatchesRecursive:: /user/username/projects/myproject/node_modules: @@ -552,7 +600,11 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/project.sl Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/project.sln, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution @@ -565,6 +617,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution @@ -657,7 +711,15 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject: *new* +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* + +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js index 285366798f1e5..b9b26126966ca 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js @@ -94,9 +94,13 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -149,6 +153,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -187,9 +195,13 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1*, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject:: Result: undefined +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -204,7 +216,11 @@ Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -285,6 +301,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* + +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} FsWatchesRecursive:: /user/username/projects/myproject/node_modules: *new* @@ -336,7 +362,11 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1*, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject:: Result: undefined +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -353,7 +383,11 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -440,6 +474,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* + +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} FsWatchesRecursive:: /user/username/projects/myproject/node_modules: @@ -487,7 +531,11 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1*, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject:: Result: undefined +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -508,6 +556,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -595,7 +645,15 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} -/user/username/projects/myproject: *new* +/user/username/projects: + {} *new* +/user/username/projects/myproject: + {} *new* + +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js index 8c064c08f6085..420f5f8fe5ae4 100644 --- a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js +++ b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js @@ -401,10 +401,16 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/test/project2/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/temp/test/project2/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test 0 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test 0 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp 0 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp 0 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project2/node_modules 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project2/node_modules 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node_modules 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node_modules 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project2 0 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project2 0 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/test/project1/package.json 2000 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project2/node_modules/@types 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project2/node_modules/@types 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Type roots @@ -595,10 +601,16 @@ c:/temp/test/project2/node_modules/@types: *new* FsWatches:: C:/home/src/tslibs/TS/Lib/lib.d.ts: {} +c:/temp: *new* + {} +c:/temp/test: *new* + {} c:/temp/test/project1/package.json: {} c:/temp/test/project1/tsconfig.json: {} +c:/temp/test/project2: *new* + {} c:/temp/test/project2/index.ts: *new* {} c:/temp/test/project2/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js b/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js index 49c9edd5db18a..736fffa4c7041 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js +++ b/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js @@ -70,8 +70,15 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1.ts' does not exist. @@ -81,8 +88,15 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_module Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/src/node_modules/module1/index.ts', result '/user/username/projects/myproject/src/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module2.ts' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module2.tsx' does not exist. @@ -97,12 +111,12 @@ Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproj Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. @@ -117,6 +131,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/module1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -255,6 +273,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/tsconfig.json: *new* {} diff --git a/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js b/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js index ee370fcb9e0cf..86a04d63dff84 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js +++ b/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js @@ -69,16 +69,21 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] ======== Resolving module 'lib' from '/user/username/projects/project/app.js'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'lib' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/project/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] Loading module 'lib' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/project/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/user/username/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/user/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'lib' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/project/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/user/username/node_modules' does not exist, skipping all lookups in it. @@ -95,12 +100,16 @@ Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/ Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/package.json' does not exist. Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/Library/Caches/typescript/package.json'. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -152,6 +161,10 @@ FsWatches:: {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/project: *new* + {} FsWatchesRecursive:: /home/src/Library/Caches/typescript/node_modules: *new* @@ -325,6 +338,10 @@ FsWatches:: {} /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/project: + {} FsWatchesRecursive:: /home/src/Library/Caches/typescript/node_modules: diff --git a/tests/baselines/reference/tsserver/resolutionCache/disable-suggestion-diagnostics.js b/tests/baselines/reference/tsserver/resolutionCache/disable-suggestion-diagnostics.js index 95f81f350f145..e6094984cd745 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/disable-suggestion-diagnostics.js +++ b/tests/baselines/reference/tsserver/resolutionCache/disable-suggestion-diagnostics.js @@ -38,10 +38,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -78,6 +82,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/project: *new* + {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -257,6 +265,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/project: + {} Projects:: /dev/null/inferredProject1* (Inferred) *changed* diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js index 3261fb3c2583f..9b0c1c46dd185 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js @@ -85,8 +85,16 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist. @@ -97,8 +105,16 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_mo Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/product/node_modules/module1/index.ts', result '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module2.ts' does not exist. @@ -114,12 +130,12 @@ Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproj Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. @@ -132,43 +148,95 @@ Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlie Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/feature/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from location '/user/username/projects/myproject/product/src'. Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/feature/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product/src'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/test/file4.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from location '/user/username/projects/myproject/product'. Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/test/file4.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from location '/user/username/projects/myproject/product/test'. Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product/test'. @@ -176,6 +244,10 @@ Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolve Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules/module1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -329,6 +401,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/product/src/feature/file2.ts: *new* {} /user/username/projects/myproject/product/test/file4.ts: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js index ac00dbb3519ae..1318850fe2645 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js @@ -75,8 +75,15 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1.ts' does not exist. @@ -86,8 +93,15 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_module Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/src/node_modules/module1/index.ts', result '/user/username/projects/myproject/src/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module2.ts' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module2.tsx' does not exist. @@ -102,12 +116,12 @@ Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproj Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. @@ -128,6 +142,10 @@ Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolve Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/module1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -271,6 +289,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/src/file2.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js index 0f1c12543dafc..76cf232bd086d 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js @@ -76,23 +76,34 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] ======== Resolving module './feature/file2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/feature/file2', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/feature/file2', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/file2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name './feature/file2' was successfully resolved to '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../test/file4' from '/user/username/projects/myproject/product/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/test/file4', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/test/file4', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/file4.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../test/file4' was successfully resolved to '/user/username/projects/myproject/product/test/file4.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../test/src/file3' from '/user/username/projects/myproject/product/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/test/src/file3', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/test/src/file3', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/file3.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../test/src/file3' was successfully resolved to '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist. @@ -103,8 +114,16 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_mo Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/product/node_modules/module1/index.ts', result '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module2.ts' does not exist. @@ -120,27 +139,45 @@ Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproj Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/feature/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/feature/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from location '/user/username/projects/myproject/product/src'. Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/feature/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product/src'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. @@ -154,45 +191,89 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/file4.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/test/file4.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from location '/user/username/projects/myproject/product'. Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/test/file4.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from location '/user/username/projects/myproject/product/test'. Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'module2' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product/test'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/feature 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/feature 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules/module1/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -309,6 +390,14 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} +/user/username/projects/myproject/product: *new* + {} +/user/username/projects/myproject/product/src: *new* + {} /user/username/projects/myproject/product/src/feature/file2.ts: *new* {} /user/username/projects/myproject/product/test/file4.ts: *new* @@ -323,6 +412,8 @@ FsWatchesRecursive:: {} /user/username/projects/myproject/product/src/feature: *new* {} +/user/username/projects/myproject/product/test: *new* + {} Projects:: /dev/null/inferredProject1* (Inferred) *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js index 48d9a6f7a90c8..3c00fe75079ed 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js @@ -121,8 +121,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Config: /users/username/projects/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Config: /users/username/projects/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] ======== Resolving module 'moduleX' from '/users/username/projects/app/appA.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'moduleX' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/users/username/projects/app/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] Loading module 'moduleX' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/users/username/projects/app/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/package.json' does not exist. @@ -136,22 +142,29 @@ Info seq [hh:mm:ss:mss] Resolving real path for '/users/username/projects/node_ Info seq [hh:mm:ss:mss] ======== Module name 'moduleX' was successfully resolved to '/users/username/projects/node_modules/moduleX/index.d.ts'. ======== Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ======== Resolving module '../common/moduleB' from '/users/username/projects/app/appB.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/users/username/projects/common/moduleB', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/users/username/projects/common/moduleB', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/users/username/projects/common/moduleB.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../common/moduleB' was successfully resolved to '/users/username/projects/common/moduleB.ts'. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/common/moduleB.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'moduleX' from '/users/username/projects/common/moduleB.ts'. ======== Info seq [hh:mm:ss:mss] Using compiler options of project reference redirect '/users/username/projects/common/tsconfig.json'. -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'moduleX' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/users/username/projects/common/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'moduleX' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/users/username/projects/common/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/package.json' does not exist according to earlier cached lookups. @@ -164,10 +177,16 @@ Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/ind Info seq [hh:mm:ss:mss] Resolving real path for '/users/username/projects/node_modules/moduleX/index.d.ts', result '/users/username/projects/node_modules/moduleX/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'moduleX' was successfully resolved to '/users/username/projects/node_modules/moduleX/index.d.ts'. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app 0 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app 0 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/moduleX/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution @@ -297,6 +316,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/app: *new* + {} /users/username/projects/app/appA.ts: *new* {} /users/username/projects/app/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js index d4c8bac95ea29..5363309d6515c 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js +++ b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js @@ -40,10 +40,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/tsc Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -96,6 +100,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/a/b/projects: *new* + {} +/a/b/projects/temp: *new* + {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} @@ -221,6 +229,9 @@ After running Immedidate callback:: count: 0 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/temp/node_modules :: WatchInfo: /a/b/projects/temp/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1*FailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/temp/node_modules :: WatchInfo: /a/b/projects/temp/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/temp/node_modules :: WatchInfo: /a/b/projects/temp 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1*FailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/temp/node_modules :: WatchInfo: /a/b/projects/temp 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/temp/node_modules :: WatchInfo: /a/b/projects/temp/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1*FailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/temp/node_modules :: WatchInfo: /a/b/projects/temp/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -246,9 +257,9 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/temp/no Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1*FailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/temp/node_modules/@types/pad :: WatchInfo: /a/b/projects/temp/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Before running Timeout callback:: count: 3 -11: /dev/null/inferredProject1* -12: *ensureProjectForOpenFiles* -14: /dev/null/inferredProject1*FailedLookupInvalidation +12: /dev/null/inferredProject1* +13: *ensureProjectForOpenFiles* +15: /dev/null/inferredProject1*FailedLookupInvalidation //// [/a/b/projects/temp/node_modules/@types/pad/index.d.ts] export = pad;declare function pad(length: number, text: string, char ?: string): string; @@ -270,6 +281,10 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/a/b/projects: + {} +/a/b/projects/temp: + {} /home/src/tslibs/TS/Lib/lib.d.ts: {} @@ -280,9 +295,9 @@ FsWatchesRecursive:: {} Timeout callback:: count: 3 -11: /dev/null/inferredProject1* *new* -12: *ensureProjectForOpenFiles* *new* -14: /dev/null/inferredProject1*FailedLookupInvalidation *new* +12: /dev/null/inferredProject1* *new* +13: *ensureProjectForOpenFiles* *new* +15: /dev/null/inferredProject1*FailedLookupInvalidation *new* Projects:: /dev/null/inferredProject1* (Inferred) *changed* @@ -345,6 +360,10 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/a/b/projects: + {} +/a/b/projects/temp: + {} /home/src/tslibs/TS/Lib/lib.d.ts: {} @@ -355,9 +374,9 @@ FsWatchesRecursive:: {} Timeout callback:: count: 1 -12: *ensureProjectForOpenFiles* *deleted* -14: /dev/null/inferredProject1*FailedLookupInvalidation *deleted* -15: *ensureProjectForOpenFiles* *new* +13: *ensureProjectForOpenFiles* *deleted* +15: /dev/null/inferredProject1*FailedLookupInvalidation *deleted* +16: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) *changed* @@ -381,7 +400,7 @@ ScriptInfos:: /dev/null/inferredProject1* Before running Timeout callback:: count: 1 -15: *ensureProjectForOpenFiles* +16: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: diff --git a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js index 931c92434298b..3acc85599e7bf 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js @@ -89,33 +89,36 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module './module1' from '/user/username/projects/myproject/product/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name './module1' was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../module2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../module1' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../module1' was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../../module2' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../src/module1}' from '/user/username/projects/myproject/product/test/file4.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1}', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1}', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1}.ts' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1}.tsx' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1}.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/module1}' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1}', target file types: JavaScript. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1}.js' does not exist. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1}.jsx' does not exist. Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/module1}' does not exist, skipping all lookups in it. @@ -123,18 +126,21 @@ Info seq [hh:mm:ss:mss] ======== Module name '../src/module1}' was not resolved Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ======== Resolving module '../module2' from '/user/username/projects/myproject/product/test/file4.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../../src/module1' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/module1.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../../src/module1' was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../../module2' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js index 44481bf0170cf..a03d975c766de 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js @@ -79,13 +79,15 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/module1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module './module1' from '/user/username/projects/myproject/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/module1', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/module1', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/module1.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name './module1' was successfully resolved to '/user/username/projects/myproject/src/module1.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../module2' from '/user/username/projects/myproject/src/file1.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/module2', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/module2', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/module2.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module './module1' from '/user/username/projects/myproject/src/file2.ts'. ======== diff --git a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js index d4fe62e1c1381..4f0034511d550 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js @@ -119,8 +119,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Config: /users/username/projects/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Config: /users/username/projects/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] ======== Resolving module 'moduleX' from '/users/username/projects/app/appA.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'moduleX' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/users/username/projects/app/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] Loading module 'moduleX' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/users/username/projects/app/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/package.json' does not exist. @@ -134,33 +140,46 @@ Info seq [hh:mm:ss:mss] Resolving real path for '/users/username/projects/node_ Info seq [hh:mm:ss:mss] ======== Module name 'moduleX' was successfully resolved to '/users/username/projects/node_modules/moduleX/index.d.ts'. ======== Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ======== Resolving module '../common/moduleB' from '/users/username/projects/app/appB.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/users/username/projects/common/moduleB', target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/users/username/projects/common/moduleB', target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] File '/users/username/projects/common/moduleB.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../common/moduleB' was successfully resolved to '/users/username/projects/common/moduleB.ts'. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/common/moduleB.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'moduleX' from '/users/username/projects/common/moduleB.ts'. ======== Info seq [hh:mm:ss:mss] Using compiler options of project reference redirect '/users/username/projects/common/tsconfig.json'. -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'moduleX' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/users/username/projects/common/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'moduleX' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/users/username/projects/common/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'moduleX' was found in cache from location '/users/username/projects'. Info seq [hh:mm:ss:mss] ======== Module name 'moduleX' was successfully resolved to '/users/username/projects/node_modules/moduleX/index.d.ts'. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app 0 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app 0 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/moduleX/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution @@ -295,6 +314,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/app: *new* + {} /users/username/projects/app/appA.ts: *new* {} /users/username/projects/app/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js index ae5403f0c3af4..54cfe87e26eba 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js @@ -64,8 +64,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/somemodule/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -188,6 +192,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/tsconfig.json: *new* {} diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup-closed-script-infos.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup-closed-script-infos.js index 489e2acc528d9..0f18636e55638 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup-closed-script-infos.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup-closed-script-infos.js @@ -42,8 +42,12 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/somemodule/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -109,6 +113,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} FsWatchesRecursive:: /user/username/projects/myproject/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js index cf632444c85de..e81310e531bf3 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js @@ -75,6 +75,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -85,6 +93,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots @@ -214,6 +224,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/myproject: *new* + {} +/users/username/projects/myproject/javascript: *new* + {} +/users/username/projects/myproject/javascript/packages: *new* + {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: *new* + {} /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json: *new* {} @@ -343,6 +363,9 @@ After running Immedidate callback:: count: 0 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -353,7 +376,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/proje Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@microsoft/recognizers-text :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 -5: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation +6: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation //// [/users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@microsoft/recognizers-text] symlink(/users/username/projects/myproject/javascript/packages/recognizers-text) //// [/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts] @@ -387,6 +410,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/myproject: + {} +/users/username/projects/myproject/javascript: + {} +/users/username/projects/myproject/javascript/packages: + {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: + {} /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json: {} @@ -397,7 +430,7 @@ FsWatchesRecursive:: {} Timeout callback:: count: 1 -5: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation *new* +6: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation *new* Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -405,8 +438,8 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* After running Timeout callback:: count: 2 Timeout callback:: count: 2 -6: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* -7: *ensureProjectForOpenFiles* *new* +7: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* +8: *ensureProjectForOpenFiles* *new* Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* @@ -416,8 +449,8 @@ Projects:: autoImportProviderHost: false Before running Timeout callback:: count: 2 -6: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json -7: *ensureProjectForOpenFiles* +7: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +8: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -503,6 +536,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/myproject: + {} +/users/username/projects/myproject/javascript: + {} +/users/username/projects/myproject/javascript/packages: + {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: + {} /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json: {} /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts: *new* @@ -554,10 +597,10 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 1 -8: checkOne *new* +9: checkOne *new* Before running Timeout callback:: count: 1 -8: checkOne +9: checkOne Info seq [hh:mm:ss:mss] event: { @@ -632,8 +675,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projec Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 1:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -9: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json -10: *ensureProjectForOpenFiles* +10: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +11: *ensureProjectForOpenFiles* //// [/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json] { "include": [ @@ -646,8 +689,8 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -9: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* -10: *ensureProjectForOpenFiles* *new* +10: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* +11: *ensureProjectForOpenFiles* *new* Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js index 4a7745d525dd3..c8cac09de9b96 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js @@ -77,6 +77,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/pr Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@microsoft/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -89,6 +97,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots @@ -217,6 +227,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/myproject: *new* + {} +/users/username/projects/myproject/javascript: *new* + {} +/users/username/projects/myproject/javascript/packages: *new* + {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: *new* + {} /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json: *new* {} /users/username/projects/myproject/javascript/packages/recognizers-text/package.json: *new* @@ -472,6 +492,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/myproject: + {} +/users/username/projects/myproject/javascript: + {} +/users/username/projects/myproject/javascript/packages: + {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: + {} /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json: {} /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js index 3ea2fa0a2da89..5d62be4cf8372 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js @@ -81,8 +81,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots @@ -206,6 +216,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/myproject: *new* + {} +/users/username/projects/myproject/javascript: *new* + {} +/users/username/projects/myproject/javascript/packages: *new* + {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: *new* + {} /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json: *new* {} /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts: *new* @@ -443,6 +463,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/myproject: + {} +/users/username/projects/myproject/javascript: + {} +/users/username/projects/myproject/javascript/packages: + {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: + {} /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json: {} /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts: @@ -710,6 +740,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/myproject: + {} +/users/username/projects/myproject/javascript: + {} +/users/username/projects/myproject/javascript/packages: + {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: + {} /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json: {} /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts: diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js index 508885852d01c..b96b40338f005 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js @@ -96,6 +96,12 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -106,6 +112,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots @@ -240,8 +248,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/myproject: *new* + {} +/users/username/projects/myproject/javascript: *new* + {} /users/username/projects/myproject/javascript/packages: *new* {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: *new* + {} /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json: *new* {} /users/username/projects/myproject/javascript/packages/recognizers-text/package.json: *new* @@ -375,6 +391,9 @@ After running Immedidate callback:: count: 0 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -397,7 +416,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/proje Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts :: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 -9: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation +10: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation //// [/users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@microsoft/recognizers-text] symlink(/users/username/projects/myproject/javascript/packages/recognizers-text) //// [/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts] @@ -431,8 +450,16 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: + {} +/users/username/projects/myproject: + {} +/users/username/projects/myproject/javascript: + {} /users/username/projects/myproject/javascript/packages: {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: + {} /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json: {} /users/username/projects/myproject/javascript/packages/recognizers-text/package.json: @@ -447,7 +474,7 @@ FsWatchesRecursive:: {} Timeout callback:: count: 1 -9: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation *new* +10: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation *new* Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -455,8 +482,8 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* After running Timeout callback:: count: 2 Timeout callback:: count: 2 -10: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* -11: *ensureProjectForOpenFiles* *new* +11: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* +12: *ensureProjectForOpenFiles* *new* Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* @@ -466,8 +493,8 @@ Projects:: autoImportProviderHost: false Before running Timeout callback:: count: 2 -10: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json -11: *ensureProjectForOpenFiles* +11: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +12: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -476,6 +503,12 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -486,6 +519,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -567,6 +602,16 @@ FsWatches:: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json: {} +FsWatches *deleted*:: +/users/username/projects: + {} +/users/username/projects/myproject: + {} +/users/username/projects/myproject/javascript: + {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: + {} + FsWatchesRecursive:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src: {} @@ -615,10 +660,10 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 1 -12: checkOne *new* +13: checkOne *new* Before running Timeout callback:: count: 1 -12: checkOne +13: checkOne Info seq [hh:mm:ss:mss] event: { @@ -693,8 +738,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projec Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 1:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -13: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json -14: *ensureProjectForOpenFiles* +14: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json +15: *ensureProjectForOpenFiles* //// [/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json] { "compilerOptions": { @@ -714,8 +759,8 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -13: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* -14: *ensureProjectForOpenFiles* *new* +14: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json *new* +15: *ensureProjectForOpenFiles* *new* Projects:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js index 64f1bd926da16..3c9e91e83b262 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js @@ -98,6 +98,12 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@microsoft/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -110,6 +116,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots @@ -242,8 +250,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/users/username/projects: *new* + {} +/users/username/projects/myproject: *new* + {} +/users/username/projects/myproject/javascript: *new* + {} /users/username/projects/myproject/javascript/packages: *new* {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: *new* + {} /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json: *new* {} /users/username/projects/myproject/javascript/packages/recognizers-text/package.json: *new* @@ -432,6 +448,12 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@microsoft/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -444,6 +466,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -525,6 +549,16 @@ FsWatches:: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json: {} +FsWatches *deleted*:: +/users/username/projects: + {} +/users/username/projects/myproject: + {} +/users/username/projects/myproject/javascript: + {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: + {} + FsWatchesRecursive:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src: {} diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js index 340dab734c50a..5d166f6097b5a 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js @@ -389,6 +389,12 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@microsoft/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -401,6 +407,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -468,8 +476,16 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/users/username/projects: *new* + {} +/users/username/projects/myproject: *new* + {} +/users/username/projects/myproject/javascript: *new* + {} /users/username/projects/myproject/javascript/packages: {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: *new* + {} /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json: {} /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts: @@ -670,6 +686,12 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@microsoft/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -682,6 +704,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -763,6 +787,16 @@ FsWatches:: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json: {} +FsWatches *deleted*:: +/users/username/projects: + {} +/users/username/projects/myproject: + {} +/users/username/projects/myproject/javascript: + {} +/users/username/projects/myproject/javascript/packages/recognizers-date-time: + {} + FsWatchesRecursive:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src: {} diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux-canUseWatchEvents.js index 72590c26e69b7..d89febe05dc91 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux-canUseWatchEvents.js @@ -154,8 +154,11 @@ Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/projects/project/packa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -179,8 +182,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -189,7 +191,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -197,30 +199,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: @@ -320,7 +298,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -328,10 +306,22 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 10, + "path": "/home/src/projects/project/packages/package2/package.json" + } + } +Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/project/packages/package2/package.json"} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 11, "path": "/home/src/projects/project/packages/package1/package.json" } } -Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/project/packages/package1/package.json"} +Custom watchFile:: Added:: {"id":11,"path":"/home/src/projects/project/packages/package1/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -339,13 +329,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 11, + "id": 12, "path": "/home/src/projects/project/packages/package2/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -354,13 +344,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 13, "path": "/home/src/projects/project/packages/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -369,13 +359,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 13, + "id": 14, "path": "/home/src/projects/project/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -384,13 +374,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 14, + "id": 15, "path": "/home/src/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package2/tsconfig.json' (Configured) @@ -406,17 +396,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "createFileWatcher", - "body": { - "id": 15, - "path": "/home/src/projects/project/packages/package2/package.json" - } - } -Custom watchFile:: Added:: {"id":15,"path":"/home/src/projects/project/packages/package2/package.json"} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -513,9 +492,9 @@ After request PolledWatches:: /home/src/projects/project/packages/package1/package.json: *new* - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: *new* - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: *new* @@ -525,23 +504,23 @@ FsWatchesRecursive:: /home/src/projects/node_modules: *new* {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: *new* - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: *new* {"event":{"id":7,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: *new* - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: *new* {"event":{"id":8,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: *new* {"event":{"id":6,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: *new* - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: *new* {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: *new* {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: *new* - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: *new* {"event":{"id":4,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} @@ -792,8 +771,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -888,9 +870,9 @@ PolledWatches:: /home/src/projects/project/packages/package1/dist/index.d.ts: *new* {"event":{"id":16,"path":"/home/src/projects/project/packages/package1/dist/index.d.ts"}} /home/src/projects/project/packages/package1/package.json: - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: @@ -898,23 +880,23 @@ PolledWatches:: FsWatchesRecursive:: /home/src/projects/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: {"event":{"id":7,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: {"event":{"id":8,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: {"event":{"id":6,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: {"event":{"id":4,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} @@ -1146,8 +1128,11 @@ Before running Timeout callback:: count: 3 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -1171,8 +1156,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -1181,7 +1165,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -1189,30 +1173,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1276,9 +1236,9 @@ PolledWatches:: /home/src/projects/project/packages/package1/dist/index.d.ts: {"event":{"id":16,"path":"/home/src/projects/project/packages/package1/dist/index.d.ts"}} /home/src/projects/project/packages/package1/package.json: - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: @@ -1288,23 +1248,23 @@ FsWatchesRecursive:: /home/src/projects/node_modules: *new* {"event":{"id":17,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: {"event":{"id":7,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: {"event":{"id":8,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: {"event":{"id":6,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: {"event":{"id":4,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} @@ -1561,8 +1521,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -1645,9 +1608,9 @@ PolledWatches:: /home/src/projects/project/packages/package1/dist/index.d.ts: {"event":{"id":16,"path":"/home/src/projects/project/packages/package1/dist/index.d.ts"}} /home/src/projects/project/packages/package1/package.json: - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: @@ -1655,23 +1618,23 @@ PolledWatches:: FsWatchesRecursive:: /home/src/projects/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: {"event":{"id":7,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: {"event":{"id":8,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: {"event":{"id":6,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: {"event":{"id":4,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js index ec5ff417a28dc..f95028e2fbe10 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js @@ -130,8 +130,11 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -155,8 +158,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -165,7 +167,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -173,30 +175,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations @@ -211,6 +189,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots @@ -621,8 +600,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -963,8 +945,11 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -987,8 +972,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -997,7 +981,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -1005,30 +989,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations @@ -1160,8 +1120,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -1185,8 +1148,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -1195,7 +1157,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -1203,30 +1165,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package2/tsconfig.json' (Configured) @@ -1564,8 +1502,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-canUseWatchEvents.js index e9bca79deb7bc..46f3a0a0b2134 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-canUseWatchEvents.js @@ -154,8 +154,11 @@ Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/projects/project/packa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -179,8 +182,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -189,7 +191,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -197,30 +199,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: @@ -320,7 +298,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -328,10 +306,22 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 10, + "path": "/home/src/projects/project/packages/package2/package.json" + } + } +Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/project/packages/package2/package.json"} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 11, "path": "/home/src/projects/project/packages/package1/package.json" } } -Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/project/packages/package1/package.json"} +Custom watchFile:: Added:: {"id":11,"path":"/home/src/projects/project/packages/package1/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -339,13 +329,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 11, + "id": 12, "path": "/home/src/projects/project/packages/package2/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -354,13 +344,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 13, "path": "/home/src/projects/project/packages/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -369,13 +359,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 13, + "id": 14, "path": "/home/src/projects/project/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -384,13 +374,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 14, + "id": 15, "path": "/home/src/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package2/tsconfig.json' (Configured) @@ -406,17 +396,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "createFileWatcher", - "body": { - "id": 15, - "path": "/home/src/projects/project/packages/package2/package.json" - } - } -Custom watchFile:: Added:: {"id":15,"path":"/home/src/projects/project/packages/package2/package.json"} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -513,9 +492,9 @@ After request PolledWatches:: /home/src/projects/project/packages/package1/package.json: *new* - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: *new* - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: *new* @@ -525,23 +504,23 @@ FsWatchesRecursive:: /home/src/projects/node_modules: *new* {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: *new* - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: *new* {"event":{"id":7,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: *new* - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: *new* {"event":{"id":8,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: *new* {"event":{"id":6,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: *new* - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: *new* {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: *new* {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: *new* - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: *new* {"event":{"id":4,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} @@ -792,8 +771,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -888,9 +870,9 @@ PolledWatches:: /home/src/projects/project/packages/package1/dist/index.d.ts: *new* {"event":{"id":16,"path":"/home/src/projects/project/packages/package1/dist/index.d.ts"}} /home/src/projects/project/packages/package1/package.json: - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: @@ -898,23 +880,23 @@ PolledWatches:: FsWatchesRecursive:: /home/src/projects/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: {"event":{"id":7,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: {"event":{"id":8,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: {"event":{"id":6,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: {"event":{"id":4,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} @@ -1146,8 +1128,11 @@ Before running Timeout callback:: count: 3 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -1171,8 +1156,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -1181,7 +1165,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -1189,30 +1173,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1276,9 +1236,9 @@ PolledWatches:: /home/src/projects/project/packages/package1/dist/index.d.ts: {"event":{"id":16,"path":"/home/src/projects/project/packages/package1/dist/index.d.ts"}} /home/src/projects/project/packages/package1/package.json: - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: @@ -1288,23 +1248,23 @@ FsWatchesRecursive:: /home/src/projects/node_modules: *new* {"event":{"id":17,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: {"event":{"id":7,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: {"event":{"id":8,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: {"event":{"id":6,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: {"event":{"id":4,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} @@ -1561,8 +1521,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -1645,9 +1608,9 @@ PolledWatches:: /home/src/projects/project/packages/package1/dist/index.d.ts: {"event":{"id":16,"path":"/home/src/projects/project/packages/package1/dist/index.d.ts"}} /home/src/projects/project/packages/package1/package.json: - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: @@ -1655,23 +1618,23 @@ PolledWatches:: FsWatchesRecursive:: /home/src/projects/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: {"event":{"id":7,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: {"event":{"id":8,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: {"event":{"id":6,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: {"event":{"id":4,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux-canUseWatchEvents.js index ee4a03d65e85f..77499736c0c9e 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux-canUseWatchEvents.js @@ -178,8 +178,11 @@ Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/projects/project/packa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -295,7 +298,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -303,10 +306,22 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 10, + "path": "/home/src/projects/project/packages/package2/package.json" + } + } +Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/project/packages/package2/package.json"} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 11, "path": "/home/src/projects/project/packages/package1/package.json" } } -Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/project/packages/package1/package.json"} +Custom watchFile:: Added:: {"id":11,"path":"/home/src/projects/project/packages/package1/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -314,13 +329,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 11, + "id": 12, "path": "/home/src/projects/project/packages/package2/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -329,13 +344,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 13, "path": "/home/src/projects/project/packages/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -344,13 +359,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 13, + "id": 14, "path": "/home/src/projects/project/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -359,13 +374,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 14, + "id": 15, "path": "/home/src/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package2/tsconfig.json' (Configured) @@ -384,17 +399,6 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "createFileWatcher", - "body": { - "id": 15, - "path": "/home/src/projects/project/packages/package2/package.json" - } - } -Custom watchFile:: Added:: {"id":15,"path":"/home/src/projects/project/packages/package2/package.json"} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -491,9 +495,9 @@ PolledWatches:: /home/src/projects/project/packages/package1/dist/index.d.ts: *new* {"event":{"id":3,"path":"/home/src/projects/project/packages/package1/dist/index.d.ts"}} /home/src/projects/project/packages/package1/package.json: *new* - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: *new* - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: *new* @@ -501,23 +505,23 @@ PolledWatches:: FsWatchesRecursive:: /home/src/projects/node_modules/@types: *new* - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: *new* {"event":{"id":8,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: *new* - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: *new* {"event":{"id":9,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: *new* {"event":{"id":7,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: *new* - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: *new* {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: *new* {"event":{"id":6,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: *new* - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: *new* {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} @@ -741,8 +745,11 @@ Before running Timeout callback:: count: 3 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -766,8 +773,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -776,7 +782,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -784,30 +790,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -871,9 +853,9 @@ PolledWatches:: /home/src/projects/project/packages/package1/dist/index.d.ts: {"event":{"id":3,"path":"/home/src/projects/project/packages/package1/dist/index.d.ts"}} /home/src/projects/project/packages/package1/package.json: - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: @@ -883,23 +865,23 @@ FsWatchesRecursive:: /home/src/projects/node_modules: *new* {"event":{"id":16,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: {"event":{"id":8,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: {"event":{"id":9,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: {"event":{"id":7,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: {"event":{"id":6,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} @@ -1157,8 +1139,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -1241,9 +1226,9 @@ PolledWatches:: /home/src/projects/project/packages/package1/dist/index.d.ts: {"event":{"id":3,"path":"/home/src/projects/project/packages/package1/dist/index.d.ts"}} /home/src/projects/project/packages/package1/package.json: - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: @@ -1251,23 +1236,23 @@ PolledWatches:: FsWatchesRecursive:: /home/src/projects/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: {"event":{"id":8,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: {"event":{"id":9,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: {"event":{"id":7,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: {"event":{"id":6,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js index 067f574d3e644..a6e5aaface512 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js @@ -154,8 +154,11 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -187,6 +190,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots @@ -572,8 +576,11 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -596,8 +603,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -606,7 +612,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -614,30 +620,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations @@ -773,8 +755,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -798,8 +783,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -808,7 +792,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -816,30 +800,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package2/tsconfig.json' (Configured) @@ -1177,8 +1137,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-canUseWatchEvents.js index a53ecf64cec41..79cf4605a0d10 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-canUseWatchEvents.js @@ -178,8 +178,11 @@ Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/projects/project/packa Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -295,7 +298,7 @@ Info seq [hh:mm:ss:mss] event: } Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -303,10 +306,22 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 10, + "path": "/home/src/projects/project/packages/package2/package.json" + } + } +Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/project/packages/package2/package.json"} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 11, "path": "/home/src/projects/project/packages/package1/package.json" } } -Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/project/packages/package1/package.json"} +Custom watchFile:: Added:: {"id":11,"path":"/home/src/projects/project/packages/package1/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -314,13 +329,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 11, + "id": 12, "path": "/home/src/projects/project/packages/package2/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -329,13 +344,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 13, "path": "/home/src/projects/project/packages/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -344,13 +359,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 13, + "id": 14, "path": "/home/src/projects/project/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -359,13 +374,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 14, + "id": 15, "path": "/home/src/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package2/tsconfig.json' (Configured) @@ -384,17 +399,6 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "createFileWatcher", - "body": { - "id": 15, - "path": "/home/src/projects/project/packages/package2/package.json" - } - } -Custom watchFile:: Added:: {"id":15,"path":"/home/src/projects/project/packages/package2/package.json"} Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -491,9 +495,9 @@ PolledWatches:: /home/src/projects/project/packages/package1/dist/index.d.ts: *new* {"event":{"id":3,"path":"/home/src/projects/project/packages/package1/dist/index.d.ts"}} /home/src/projects/project/packages/package1/package.json: *new* - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: *new* - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: *new* @@ -501,23 +505,23 @@ PolledWatches:: FsWatchesRecursive:: /home/src/projects/node_modules/@types: *new* - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: *new* {"event":{"id":8,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: *new* - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: *new* {"event":{"id":9,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: *new* {"event":{"id":7,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: *new* - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: *new* {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: *new* {"event":{"id":6,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: *new* - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: *new* {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} @@ -741,8 +745,11 @@ Before running Timeout callback:: count: 3 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -766,8 +773,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -776,7 +782,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -784,30 +790,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -871,9 +853,9 @@ PolledWatches:: /home/src/projects/project/packages/package1/dist/index.d.ts: {"event":{"id":3,"path":"/home/src/projects/project/packages/package1/dist/index.d.ts"}} /home/src/projects/project/packages/package1/package.json: - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: @@ -883,23 +865,23 @@ FsWatchesRecursive:: /home/src/projects/node_modules: *new* {"event":{"id":16,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: {"event":{"id":8,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: {"event":{"id":9,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: {"event":{"id":7,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: {"event":{"id":6,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} @@ -1157,8 +1139,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -1241,9 +1226,9 @@ PolledWatches:: /home/src/projects/project/packages/package1/dist/index.d.ts: {"event":{"id":3,"path":"/home/src/projects/project/packages/package1/dist/index.d.ts"}} /home/src/projects/project/packages/package1/package.json: - {"event":{"id":10,"path":"/home/src/projects/project/packages/package1/package.json"}} + {"event":{"id":11,"path":"/home/src/projects/project/packages/package1/package.json"}} /home/src/projects/project/packages/package2/package.json: - {"event":{"id":15,"path":"/home/src/projects/project/packages/package2/package.json"}} + {"event":{"id":10,"path":"/home/src/projects/project/packages/package2/package.json"}} /home/src/projects/project/packages/package2/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/project/packages/package2/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: @@ -1251,23 +1236,23 @@ PolledWatches:: FsWatchesRecursive:: /home/src/projects/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules: {"event":{"id":8,"path":"/home/src/projects/project/node_modules","recursive":true}} /home/src/projects/project/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":14,"path":"/home/src/projects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/node_modules/package1: {"event":{"id":9,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/node_modules: {"event":{"id":7,"path":"/home/src/projects/project/packages/node_modules","recursive":true}} /home/src/projects/project/packages/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":13,"path":"/home/src/projects/project/packages/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2: {"event":{"id":2,"path":"/home/src/projects/project/packages/package2","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/node_modules: {"event":{"id":6,"path":"/home/src/projects/project/packages/package2/node_modules","recursive":true}} /home/src/projects/project/packages/package2/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/home/src/projects/project/packages/package2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/project/packages/package2/src: {"event":{"id":5,"path":"/home/src/projects/project/packages/package2/src","recursive":true,"ignoreUpdate":true}} diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js index d08e42ef20226..74d663c6f9961 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js @@ -154,8 +154,11 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -187,6 +190,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots @@ -531,8 +535,11 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -556,8 +563,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -566,7 +572,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -574,30 +580,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations @@ -900,8 +882,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js index 9da274af0f85c..b5acf2afaa162 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js @@ -130,8 +130,11 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -155,8 +158,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -165,7 +167,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -173,30 +175,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations @@ -211,6 +189,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots @@ -579,8 +558,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -884,8 +866,11 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. @@ -909,8 +894,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: JavaScript. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript. +Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. @@ -919,7 +903,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.jsx' does not exist. Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript. +Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: JavaScript, JSON. Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.jsx' does not exist. @@ -927,30 +911,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not ex Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1.d.ts' does not exist. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'typings' field. -Info seq [hh:mm:ss:mss] 'package.json' does not have a 'types' field. -Info seq [hh:mm:ss:mss] 'package.json' has 'main' field 'dist/index.js' that references '/home/src/projects/project/node_modules/package1/dist/index.js'. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/project/node_modules/package1/dist/index.js', target file types: TypeScript, Declaration. -Info seq [hh:mm:ss:mss] File name '/home/src/projects/project/node_modules/package1/dist/index.js' has a '.js' extension - stripping it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.tsx' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/index.d.ts' does not exist. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/node_modules/@types' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/projects/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations @@ -1252,8 +1212,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== -Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. -Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Bundler'. +Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'require', 'types'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package2/node_modules' does not exist, skipping all lookups in it. diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux-canUseWatchEvents.js index 349bd2d3dd866..429861fad20b8 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux-canUseWatchEvents.js @@ -164,7 +164,7 @@ Info seq [hh:mm:ss:mss] event: Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -172,11 +172,71 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 4, + "path": "/home/src/projects/b/2/b-impl", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 5, + "path": "/home/src/projects/b/2", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 6, + "path": "/home/src/projects/b", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 7, + "path": "/home/src/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 8, "path": "/home/src/projects/b/2/b-impl/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -185,13 +245,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 5, + "id": 9, "path": "/home/src/projects/b/2/b-impl/b/node_modules/a", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -200,12 +260,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 6, + "id": 10, "path": "/home/src/projects/b/2/b-impl/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -214,12 +274,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 7, + "id": 11, "path": "/home/src/projects/b/2/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -228,12 +288,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 8, + "id": 12, "path": "/home/src/projects/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -242,13 +302,28 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 9, + "id": 13, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 14, + "path": "/home/src/projects/b/2/b-impl/b", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -256,11 +331,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 10, + "id": 15, "path": "/home/src/projects/a/1/a-impl/a/package.json" } } -Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"} +Custom watchFile:: Added:: {"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -268,13 +343,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 11, + "id": 16, "path": "/home/src/projects/b/2/b-impl/b/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -283,13 +358,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 17, "path": "/home/src/projects/b/2/b-impl/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -298,13 +373,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 13, + "id": 18, "path": "/home/src/projects/b/2/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -313,13 +388,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 14, + "id": 19, "path": "/home/src/projects/b/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -328,13 +403,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 15, + "id": 20, "path": "/home/src/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -434,37 +509,49 @@ After request PolledWatches:: /home/src/projects/a/1/a-impl/a/package.json: *new* - {"event":{"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: *new* + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: *new* + {"event":{"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: *new* + {"event":{"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: *new* + {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: *new* + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: *new* - {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: *new* - {"event":{"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* - {"event":{"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: *new* {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: *new* - {"event":{"id":6,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/node_modules/@types: *new* - {"event":{"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules: *new* - {"event":{"id":7,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":11,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/2/node_modules/@types: *new* - {"event":{"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules: *new* - {"event":{"id":8,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":12,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/b/node_modules/@types: *new* - {"event":{"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":13,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: *new* - {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *new* @@ -861,26 +948,26 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Build dependencies -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 148 "use strict"; @@ -985,7 +1072,7 @@ Info seq [hh:mm:ss:mss] request: { "command": "watchChange", "arguments": { - "id": 5, + "id": 9, "created": [ "/home/src/projects/b/2/b-impl/b/node_modules/a/lib", "/home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js", @@ -1057,11 +1144,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 16, + "id": 21, "path": "/home/src/projects/a/1/a-impl/a/lib/index.d.ts" } } -Custom watchFile:: Added:: {"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"} +Custom watchFile:: Added:: {"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -1069,13 +1156,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 17, + "id": 22, "path": "/home/src/projects/a/1/a-impl/a/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: @@ -1084,11 +1171,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 18, + "id": 23, "path": "/home/src/projects/a/1/a-impl/a/lib/a.d.ts" } } -Custom watchFile:: Added:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"} +Custom watchFile:: Added:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { @@ -1096,11 +1183,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 19, + "id": 24, "path": "/home/src/projects/c/3/c-impl/c/lib/index.d.ts" } } -Custom watchFile:: Added:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"} +Custom watchFile:: Added:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -1108,13 +1195,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 20, + "id": 25, "path": "/home/src/projects/c/3/c-impl/c/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: @@ -1123,11 +1210,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 21, + "id": 26, "path": "/home/src/projects/c/3/c-impl/c/lib/c.d.ts" } } -Custom watchFile:: Added:: {"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"} +Custom watchFile:: Added:: {"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -1135,12 +1222,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 22, + "id": 27, "path": "/home/src/projects/a/1/a-impl/a/lib/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1149,12 +1236,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 23, + "id": 28, "path": "/home/src/projects/a/1/a-impl/a/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -1163,11 +1250,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 24, + "id": 29, "path": "/home/src/projects/c/3/c-impl/c/package.json" } } -Custom watchFile:: Added:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Added:: {"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -1175,10 +1262,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 5 + "id": 9 } } -Custom watchDirectory:: Close:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1187,10 +1274,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 6 + "id": 10 } } -Custom watchDirectory:: Close:: {"id":6,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":10,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1199,10 +1286,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 7 + "id": 11 } } -Custom watchDirectory:: Close:: {"id":7,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":11,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1211,10 +1298,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 8 + "id": 12 } } -Custom watchDirectory:: Close:: {"id":8,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":12,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1223,10 +1310,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 9 + "id": 13 } } -Custom watchDirectory:: Close:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":13,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -1286,59 +1373,69 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} + {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} + {"event":{"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"event":{"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} + {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} + {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* - {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: +/home/src/projects: + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} /home/src/projects/a/1/a-impl/a/lib: *new* - {"event":{"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: *new* - {"event":{"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* - {"event":{"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: *new* - {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/b/2/b-impl/b/node_modules/a: - {"event":{"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: - {"event":{"id":6,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/node_modules: - {"event":{"id":7,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":11,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/node_modules: - {"event":{"id":8,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":12,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/node_modules: - {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":13,"path":"/home/src/projects/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* @@ -1714,22 +1811,22 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Clean dependencies build -Custom watchFile:: Triggered:: {"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/c.js deleted -Custom watchFile:: Triggered:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/index.js deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/tsconfig.tsbuildinfo deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/tsconfig.tsbuildinfo.readable.baseline.txt deleted -Custom watchFile:: Triggered:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/a.js deleted -Custom watchFile:: Triggered:: {"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/index.js deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/tsconfig.tsbuildinfo deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt deleted +Custom watchFile:: Triggered:: {"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/c.js deleted +Custom watchFile:: Triggered:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/index.js deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/tsconfig.tsbuildinfo deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/tsconfig.tsbuildinfo.readable.baseline.txt deleted +Custom watchFile:: Triggered:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/a.js deleted +Custom watchFile:: Triggered:: {"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/index.js deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/tsconfig.tsbuildinfo deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt deleted Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] deleted //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] deleted @@ -1749,13 +1846,13 @@ Info seq [hh:mm:ss:mss] request: "command": "watchChange", "arguments": [ { - "id": 21, + "id": 26, "deleted": [ "/home/src/projects/c/3/c-impl/c/lib/c.d.ts" ] }, { - "id": 20, + "id": 25, "deleted": [ "/home/src/projects/c/3/c-impl/c/lib/c.d.ts", "/home/src/projects/c/3/c-impl/c/lib/c.js", @@ -1766,19 +1863,19 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 19, + "id": 24, "deleted": [ "/home/src/projects/c/3/c-impl/c/lib/index.d.ts" ] }, { - "id": 18, + "id": 23, "deleted": [ "/home/src/projects/a/1/a-impl/a/lib/a.d.ts" ] }, { - "id": 17, + "id": 22, "deleted": [ "/home/src/projects/a/1/a-impl/a/lib/a.d.ts", "/home/src/projects/a/1/a-impl/a/lib/a.js", @@ -1789,7 +1886,7 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 16, + "id": 21, "deleted": [ "/home/src/projects/a/1/a-impl/a/lib/index.d.ts" ] @@ -1912,13 +2009,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 25, + "id": 30, "path": "/home/src/projects/b/2/b-impl/b/node_modules/a", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1927,12 +2024,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 26, + "id": 31, "path": "/home/src/projects/b/2/b-impl/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":31,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1941,12 +2038,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 27, + "id": 32, "path": "/home/src/projects/b/2/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":32,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1955,12 +2052,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 28, + "id": 33, "path": "/home/src/projects/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":28,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":33,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1969,12 +2066,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 29, + "id": 34, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":29,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":34,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1983,10 +2080,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 17 + "id": 22 } } -Custom watchDirectory:: Close:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1995,10 +2092,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 20 + "id": 25 } } -Custom watchDirectory:: Close:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2007,10 +2104,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 22 + "id": 27 } } -Custom watchDirectory:: Close:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2019,10 +2116,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 23 + "id": 28 } } -Custom watchDirectory:: Close:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -2031,10 +2128,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 24 + "id": 29 } } -Custom watchFile:: Close:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Close:: {"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -2081,61 +2178,73 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} + {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} + {"event":{"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"event":{"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} + {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} + {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: - {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + +FsWatches:: +/home/src/projects: + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: - {"event":{"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: - {"event":{"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* - {"event":{"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: *new* - {"event":{"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":31,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules: *new* - {"event":{"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":32,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules: *new* - {"event":{"id":28,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":33,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":29,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":34,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/a/1/a-impl/a/lib/node_modules: - {"event":{"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: - {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* @@ -2270,30 +2379,30 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Build dependencies -Custom watchFile:: Triggered:: {"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts created -Custom watchFile:: Triggered:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchFile:: Triggered:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchFile:: Triggered:: {"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchFile:: Triggered:: {"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts created +Custom watchFile:: Triggered:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchFile:: Triggered:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchFile:: Triggered:: {"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 164 "use strict"; @@ -2399,19 +2508,19 @@ Info seq [hh:mm:ss:mss] request: "command": "watchChange", "arguments": [ { - "id": 21, + "id": 26, "created": [ "/home/src/projects/c/3/c-impl/c/lib/c.d.ts" ] }, { - "id": 19, + "id": 24, "created": [ "/home/src/projects/c/3/c-impl/c/lib/index.d.ts" ] }, { - "id": 25, + "id": 30, "created": [ "/home/src/projects/b/2/b-impl/b/node_modules/a/lib", "/home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js", @@ -2423,13 +2532,13 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 18, + "id": 23, "created": [ "/home/src/projects/a/1/a-impl/a/lib/a.d.ts" ] }, { - "id": 16, + "id": 21, "created": [ "/home/src/projects/a/1/a-impl/a/lib/index.d.ts" ] @@ -2533,13 +2642,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 30, + "id": 35, "path": "/home/src/projects/a/1/a-impl/a/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":30,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":35,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2548,13 +2657,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 31, + "id": 36, "path": "/home/src/projects/c/3/c-impl/c/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":31,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":36,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2563,12 +2672,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 32, + "id": 37, "path": "/home/src/projects/a/1/a-impl/a/lib/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":32,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":37,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2577,12 +2686,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 33, + "id": 38, "path": "/home/src/projects/a/1/a-impl/a/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":33,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":38,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -2591,11 +2700,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 34, + "id": 39, "path": "/home/src/projects/c/3/c-impl/c/package.json" } } -Custom watchFile:: Added:: {"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Added:: {"id":39,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -2603,10 +2712,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 25 + "id": 30 } } -Custom watchDirectory:: Close:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2615,10 +2724,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 26 + "id": 31 } } -Custom watchDirectory:: Close:: {"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":31,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2627,10 +2736,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 27 + "id": 32 } } -Custom watchDirectory:: Close:: {"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":32,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2639,10 +2748,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 28 + "id": 33 } } -Custom watchDirectory:: Close:: {"id":28,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":33,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2651,10 +2760,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 29 + "id": 34 } } -Custom watchDirectory:: Close:: {"id":29,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":34,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -2714,59 +2823,69 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} + {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} + {"event":{"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"event":{"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} + {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} + {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* - {"event":{"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":39,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: +/home/src/projects: + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} /home/src/projects/a/1/a-impl/a/lib: *new* - {"event":{"id":30,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":35,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: *new* - {"event":{"id":31,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":36,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* - {"event":{"id":32,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":37,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: *new* - {"event":{"id":33,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":38,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/b/2/b-impl/b/node_modules/a: - {"event":{"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: - {"event":{"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":31,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/node_modules: - {"event":{"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":32,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/node_modules: - {"event":{"id":28,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":33,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/node_modules: - {"event":{"id":29,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":34,"path":"/home/src/projects/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux.js index 75f8fc05f4032..0a3013310bd2b 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Linux.js @@ -129,6 +129,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -141,6 +149,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots @@ -269,6 +279,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {"inode":3} /home/src/projects/a/1/a-impl/a: *new* {"inode":19} /home/src/projects/a/1/a-impl/a/node_modules: *new* @@ -277,6 +289,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: *new* {"inode":20} +/home/src/projects/b: *new* + {"inode":30} +/home/src/projects/b/2: *new* + {"inode":31} +/home/src/projects/b/2/b-impl: *new* + {"inode":32} +/home/src/projects/b/2/b-impl/b: *new* + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: *new* {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* @@ -816,6 +836,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib: *new* @@ -826,6 +848,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: {"inode":20} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: @@ -969,6 +999,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib: {"inode":154} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* @@ -979,6 +1011,14 @@ FsWatches:: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/src: @@ -1476,10 +1516,20 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/src: @@ -1652,6 +1702,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a: *new* {"inode":19} /home/src/projects/a/1/a-impl/a/node_modules: @@ -1660,6 +1712,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: *new* {"inode":20} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* @@ -1959,6 +2019,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* @@ -1971,6 +2033,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: {"inode":20} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: @@ -2048,6 +2118,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib: *new* @@ -2062,6 +2134,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: {"inode":20} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: @@ -2204,6 +2284,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib: {"inode":170} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: @@ -2214,6 +2296,14 @@ FsWatches:: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/src: diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs-canUseWatchEvents.js index 0a28eb48d771b..c040dc38b5b68 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs-canUseWatchEvents.js @@ -164,7 +164,7 @@ Info seq [hh:mm:ss:mss] event: Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -172,11 +172,71 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 4, + "path": "/home/src/projects/b/2/b-impl", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 5, + "path": "/home/src/projects/b/2", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 6, + "path": "/home/src/projects/b", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 7, + "path": "/home/src/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 8, "path": "/home/src/projects/b/2/b-impl/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -185,13 +245,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 5, + "id": 9, "path": "/home/src/projects/b/2/b-impl/b/node_modules/a", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -200,12 +260,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 6, + "id": 10, "path": "/home/src/projects/b/2/b-impl/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -214,12 +274,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 7, + "id": 11, "path": "/home/src/projects/b/2/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -228,12 +288,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 8, + "id": 12, "path": "/home/src/projects/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -242,13 +302,28 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 9, + "id": 13, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 14, + "path": "/home/src/projects/b/2/b-impl/b", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -256,11 +331,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 10, + "id": 15, "path": "/home/src/projects/a/1/a-impl/a/package.json" } } -Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"} +Custom watchFile:: Added:: {"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -268,13 +343,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 11, + "id": 16, "path": "/home/src/projects/b/2/b-impl/b/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -283,13 +358,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 17, "path": "/home/src/projects/b/2/b-impl/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -298,13 +373,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 13, + "id": 18, "path": "/home/src/projects/b/2/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -313,13 +388,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 14, + "id": 19, "path": "/home/src/projects/b/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -328,13 +403,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 15, + "id": 20, "path": "/home/src/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -434,37 +509,49 @@ After request PolledWatches:: /home/src/projects/a/1/a-impl/a/package.json: *new* - {"event":{"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: *new* + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: *new* + {"event":{"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: *new* + {"event":{"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: *new* + {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: *new* + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: *new* - {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: *new* - {"event":{"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* - {"event":{"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: *new* {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: *new* - {"event":{"id":6,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/node_modules/@types: *new* - {"event":{"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules: *new* - {"event":{"id":7,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":11,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/2/node_modules/@types: *new* - {"event":{"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules: *new* - {"event":{"id":8,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":12,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/b/node_modules/@types: *new* - {"event":{"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":13,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: *new* - {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *new* @@ -861,13 +948,13 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Build dependencies -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 148 "use strict"; @@ -972,7 +1059,7 @@ Info seq [hh:mm:ss:mss] request: { "command": "watchChange", "arguments": { - "id": 5, + "id": 9, "created": [ "/home/src/projects/b/2/b-impl/b/node_modules/a/lib", "/home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js", @@ -1044,11 +1131,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 16, + "id": 21, "path": "/home/src/projects/a/1/a-impl/a/lib/index.d.ts" } } -Custom watchFile:: Added:: {"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"} +Custom watchFile:: Added:: {"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -1056,13 +1143,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 17, + "id": 22, "path": "/home/src/projects/a/1/a-impl/a/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: @@ -1071,11 +1158,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 18, + "id": 23, "path": "/home/src/projects/a/1/a-impl/a/lib/a.d.ts" } } -Custom watchFile:: Added:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"} +Custom watchFile:: Added:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { @@ -1083,11 +1170,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 19, + "id": 24, "path": "/home/src/projects/c/3/c-impl/c/lib/index.d.ts" } } -Custom watchFile:: Added:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"} +Custom watchFile:: Added:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -1095,13 +1182,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 20, + "id": 25, "path": "/home/src/projects/c/3/c-impl/c/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: @@ -1110,11 +1197,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 21, + "id": 26, "path": "/home/src/projects/c/3/c-impl/c/lib/c.d.ts" } } -Custom watchFile:: Added:: {"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"} +Custom watchFile:: Added:: {"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -1122,12 +1209,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 22, + "id": 27, "path": "/home/src/projects/a/1/a-impl/a/lib/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1136,12 +1223,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 23, + "id": 28, "path": "/home/src/projects/a/1/a-impl/a/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -1150,11 +1237,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 24, + "id": 29, "path": "/home/src/projects/c/3/c-impl/c/package.json" } } -Custom watchFile:: Added:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Added:: {"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -1162,10 +1249,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 5 + "id": 9 } } -Custom watchDirectory:: Close:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1174,10 +1261,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 6 + "id": 10 } } -Custom watchDirectory:: Close:: {"id":6,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":10,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1186,10 +1273,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 7 + "id": 11 } } -Custom watchDirectory:: Close:: {"id":7,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":11,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1198,10 +1285,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 8 + "id": 12 } } -Custom watchDirectory:: Close:: {"id":8,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":12,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1210,10 +1297,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 9 + "id": 13 } } -Custom watchDirectory:: Close:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":13,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -1273,59 +1360,69 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} + {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} + {"event":{"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"event":{"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} + {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} + {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* - {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: +/home/src/projects: + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} /home/src/projects/a/1/a-impl/a/lib: *new* - {"event":{"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: *new* - {"event":{"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* - {"event":{"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: *new* - {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/b/2/b-impl/b/node_modules/a: - {"event":{"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: - {"event":{"id":6,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/node_modules: - {"event":{"id":7,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":11,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/node_modules: - {"event":{"id":8,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":12,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/node_modules: - {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":13,"path":"/home/src/projects/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* @@ -1701,22 +1798,22 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Clean dependencies build -Custom watchFile:: Triggered:: {"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/c.js deleted -Custom watchFile:: Triggered:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/index.js deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/tsconfig.tsbuildinfo deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/tsconfig.tsbuildinfo.readable.baseline.txt deleted -Custom watchFile:: Triggered:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/a.js deleted -Custom watchFile:: Triggered:: {"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/index.js deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/tsconfig.tsbuildinfo deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt deleted +Custom watchFile:: Triggered:: {"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/c.js deleted +Custom watchFile:: Triggered:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/index.js deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/tsconfig.tsbuildinfo deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/tsconfig.tsbuildinfo.readable.baseline.txt deleted +Custom watchFile:: Triggered:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/a.js deleted +Custom watchFile:: Triggered:: {"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/index.js deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/tsconfig.tsbuildinfo deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt deleted Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] deleted //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] deleted @@ -1736,13 +1833,13 @@ Info seq [hh:mm:ss:mss] request: "command": "watchChange", "arguments": [ { - "id": 21, + "id": 26, "deleted": [ "/home/src/projects/c/3/c-impl/c/lib/c.d.ts" ] }, { - "id": 20, + "id": 25, "deleted": [ "/home/src/projects/c/3/c-impl/c/lib/c.d.ts", "/home/src/projects/c/3/c-impl/c/lib/c.js", @@ -1753,19 +1850,19 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 19, + "id": 24, "deleted": [ "/home/src/projects/c/3/c-impl/c/lib/index.d.ts" ] }, { - "id": 18, + "id": 23, "deleted": [ "/home/src/projects/a/1/a-impl/a/lib/a.d.ts" ] }, { - "id": 17, + "id": 22, "deleted": [ "/home/src/projects/a/1/a-impl/a/lib/a.d.ts", "/home/src/projects/a/1/a-impl/a/lib/a.js", @@ -1776,7 +1873,7 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 16, + "id": 21, "deleted": [ "/home/src/projects/a/1/a-impl/a/lib/index.d.ts" ] @@ -1899,13 +1996,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 25, + "id": 30, "path": "/home/src/projects/b/2/b-impl/b/node_modules/a", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1914,12 +2011,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 26, + "id": 31, "path": "/home/src/projects/b/2/b-impl/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":31,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1928,12 +2025,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 27, + "id": 32, "path": "/home/src/projects/b/2/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":32,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1942,12 +2039,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 28, + "id": 33, "path": "/home/src/projects/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":28,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":33,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1956,12 +2053,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 29, + "id": 34, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":29,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":34,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1970,10 +2067,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 17 + "id": 22 } } -Custom watchDirectory:: Close:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1982,10 +2079,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 20 + "id": 25 } } -Custom watchDirectory:: Close:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1994,10 +2091,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 22 + "id": 27 } } -Custom watchDirectory:: Close:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2006,10 +2103,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 23 + "id": 28 } } -Custom watchDirectory:: Close:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -2018,10 +2115,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 24 + "id": 29 } } -Custom watchFile:: Close:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Close:: {"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -2068,61 +2165,73 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} + {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} + {"event":{"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"event":{"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} + {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} + {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: - {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + +FsWatches:: +/home/src/projects: + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: - {"event":{"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: - {"event":{"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* - {"event":{"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: *new* - {"event":{"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":31,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules: *new* - {"event":{"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":32,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules: *new* - {"event":{"id":28,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":33,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":29,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":34,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/a/1/a-impl/a/lib/node_modules: - {"event":{"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: - {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* @@ -2257,17 +2366,17 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Build dependencies -Custom watchFile:: Triggered:: {"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts created -Custom watchFile:: Triggered:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created -Custom watchFile:: Triggered:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created -Custom watchFile:: Triggered:: {"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created +Custom watchFile:: Triggered:: {"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts created +Custom watchFile:: Triggered:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created +Custom watchFile:: Triggered:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created +Custom watchFile:: Triggered:: {"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 164 "use strict"; @@ -2373,19 +2482,19 @@ Info seq [hh:mm:ss:mss] request: "command": "watchChange", "arguments": [ { - "id": 21, + "id": 26, "created": [ "/home/src/projects/c/3/c-impl/c/lib/c.d.ts" ] }, { - "id": 19, + "id": 24, "created": [ "/home/src/projects/c/3/c-impl/c/lib/index.d.ts" ] }, { - "id": 25, + "id": 30, "created": [ "/home/src/projects/b/2/b-impl/b/node_modules/a/lib", "/home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js", @@ -2397,13 +2506,13 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 18, + "id": 23, "created": [ "/home/src/projects/a/1/a-impl/a/lib/a.d.ts" ] }, { - "id": 16, + "id": 21, "created": [ "/home/src/projects/a/1/a-impl/a/lib/index.d.ts" ] @@ -2507,13 +2616,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 30, + "id": 35, "path": "/home/src/projects/a/1/a-impl/a/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":30,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":35,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2522,13 +2631,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 31, + "id": 36, "path": "/home/src/projects/c/3/c-impl/c/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":31,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":36,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2537,12 +2646,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 32, + "id": 37, "path": "/home/src/projects/a/1/a-impl/a/lib/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":32,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":37,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2551,12 +2660,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 33, + "id": 38, "path": "/home/src/projects/a/1/a-impl/a/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":33,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":38,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -2565,11 +2674,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 34, + "id": 39, "path": "/home/src/projects/c/3/c-impl/c/package.json" } } -Custom watchFile:: Added:: {"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Added:: {"id":39,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -2577,10 +2686,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 25 + "id": 30 } } -Custom watchDirectory:: Close:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2589,10 +2698,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 26 + "id": 31 } } -Custom watchDirectory:: Close:: {"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":31,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2601,10 +2710,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 27 + "id": 32 } } -Custom watchDirectory:: Close:: {"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":32,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2613,10 +2722,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 28 + "id": 33 } } -Custom watchDirectory:: Close:: {"id":28,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":33,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2625,10 +2734,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 29 + "id": 34 } } -Custom watchDirectory:: Close:: {"id":29,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":34,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -2688,59 +2797,69 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} + {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} + {"event":{"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"event":{"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} + {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} + {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* - {"event":{"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":39,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: +/home/src/projects: + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} /home/src/projects/a/1/a-impl/a/lib: *new* - {"event":{"id":30,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":35,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: *new* - {"event":{"id":31,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":36,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* - {"event":{"id":32,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":37,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: *new* - {"event":{"id":33,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":38,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/b/2/b-impl/b/node_modules/a: - {"event":{"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: - {"event":{"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":31,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/node_modules: - {"event":{"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":32,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/node_modules: - {"event":{"id":28,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":33,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/node_modules: - {"event":{"id":29,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":34,"path":"/home/src/projects/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs.js index e56541f2f00c5..97d75b1d693ab 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-MacOs.js @@ -129,6 +129,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -141,6 +149,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots @@ -269,8 +279,18 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {"inode":3} /home/src/projects/a/1/a-impl/a/package.json: *new* {"inode":24} +/home/src/projects/b: *new* + {"inode":30} +/home/src/projects/b/2: *new* + {"inode":31} +/home/src/projects/b/2/b-impl: *new* + {"inode":32} +/home/src/projects/b/2/b-impl/b: *new* + {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} /home/src/tslibs/TS/Lib/lib.d.ts: *new* @@ -930,12 +950,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {"inode":156} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {"inode":158} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* @@ -1451,8 +1481,18 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: @@ -1625,8 +1665,18 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/tslibs/TS/Lib/lib.d.ts: @@ -1957,12 +2007,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {"inode":172} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {"inode":174} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* @@ -2134,12 +2194,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: {"inode":172} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: {"inode":174} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows-canUseWatchEvents.js index 1d34cc8c3710a..66b6c692983b9 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows-canUseWatchEvents.js @@ -164,7 +164,7 @@ Info seq [hh:mm:ss:mss] event: Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -172,11 +172,71 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 4, + "path": "/home/src/projects/b/2/b-impl", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 5, + "path": "/home/src/projects/b/2", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 6, + "path": "/home/src/projects/b", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 7, + "path": "/home/src/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 8, "path": "/home/src/projects/b/2/b-impl/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -185,13 +245,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 5, + "id": 9, "path": "/home/src/projects/b/2/b-impl/b/node_modules/a", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -200,12 +260,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 6, + "id": 10, "path": "/home/src/projects/b/2/b-impl/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -214,12 +274,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 7, + "id": 11, "path": "/home/src/projects/b/2/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -228,12 +288,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 8, + "id": 12, "path": "/home/src/projects/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -242,13 +302,28 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 9, + "id": 13, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 14, + "path": "/home/src/projects/b/2/b-impl/b", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -256,11 +331,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 10, + "id": 15, "path": "/home/src/projects/a/1/a-impl/a/package.json" } } -Custom watchFile:: Added:: {"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"} +Custom watchFile:: Added:: {"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -268,13 +343,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 11, + "id": 16, "path": "/home/src/projects/b/2/b-impl/b/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -283,13 +358,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 17, "path": "/home/src/projects/b/2/b-impl/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -298,13 +373,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 13, + "id": 18, "path": "/home/src/projects/b/2/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -313,13 +388,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 14, + "id": 19, "path": "/home/src/projects/b/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -328,13 +403,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 15, + "id": 20, "path": "/home/src/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -434,37 +509,49 @@ After request PolledWatches:: /home/src/projects/a/1/a-impl/a/package.json: *new* - {"event":{"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} +FsWatches:: +/home/src/projects: *new* + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: *new* + {"event":{"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: *new* + {"event":{"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: *new* + {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: *new* + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} + FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: *new* - {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: *new* - {"event":{"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* - {"event":{"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: *new* {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: *new* - {"event":{"id":6,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/node_modules/@types: *new* - {"event":{"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules: *new* - {"event":{"id":7,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":11,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/2/node_modules/@types: *new* - {"event":{"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules: *new* - {"event":{"id":8,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":12,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/b/node_modules/@types: *new* - {"event":{"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":13,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: *new* - {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *new* @@ -861,26 +948,26 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Build dependencies -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt updated -Custom watchDirectory:: Triggered Ignored:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt updated +Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] "use strict"; @@ -985,7 +1072,7 @@ Info seq [hh:mm:ss:mss] request: { "command": "watchChange", "arguments": { - "id": 5, + "id": 9, "created": [ "/home/src/projects/b/2/b-impl/b/node_modules/a/lib", "/home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js", @@ -1057,11 +1144,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 16, + "id": 21, "path": "/home/src/projects/a/1/a-impl/a/lib/index.d.ts" } } -Custom watchFile:: Added:: {"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"} +Custom watchFile:: Added:: {"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -1069,13 +1156,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 17, + "id": 22, "path": "/home/src/projects/a/1/a-impl/a/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: @@ -1084,11 +1171,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 18, + "id": 23, "path": "/home/src/projects/a/1/a-impl/a/lib/a.d.ts" } } -Custom watchFile:: Added:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"} +Custom watchFile:: Added:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { @@ -1096,11 +1183,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 19, + "id": 24, "path": "/home/src/projects/c/3/c-impl/c/lib/index.d.ts" } } -Custom watchFile:: Added:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"} +Custom watchFile:: Added:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -1108,13 +1195,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 20, + "id": 25, "path": "/home/src/projects/c/3/c-impl/c/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib/c.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: @@ -1123,11 +1210,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 21, + "id": 26, "path": "/home/src/projects/c/3/c-impl/c/lib/c.d.ts" } } -Custom watchFile:: Added:: {"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"} +Custom watchFile:: Added:: {"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -1135,12 +1222,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 22, + "id": 27, "path": "/home/src/projects/a/1/a-impl/a/lib/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1149,12 +1236,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 23, + "id": 28, "path": "/home/src/projects/a/1/a-impl/a/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -1163,11 +1250,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 24, + "id": 29, "path": "/home/src/projects/c/3/c-impl/c/package.json" } } -Custom watchFile:: Added:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Added:: {"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -1175,10 +1262,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 5 + "id": 9 } } -Custom watchDirectory:: Close:: {"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1187,10 +1274,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 6 + "id": 10 } } -Custom watchDirectory:: Close:: {"id":6,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":10,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1199,10 +1286,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 7 + "id": 11 } } -Custom watchDirectory:: Close:: {"id":7,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":11,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1211,10 +1298,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 8 + "id": 12 } } -Custom watchDirectory:: Close:: {"id":8,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":12,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1223,10 +1310,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 9 + "id": 13 } } -Custom watchDirectory:: Close:: {"id":9,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":13,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -1286,59 +1373,69 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} + {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} + {"event":{"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"event":{"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} + {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} + {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* - {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: +/home/src/projects: + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} /home/src/projects/a/1/a-impl/a/lib: *new* - {"event":{"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: *new* - {"event":{"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* - {"event":{"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: *new* - {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/b/2/b-impl/b/node_modules/a: - {"event":{"id":5,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":9,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: - {"event":{"id":6,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/node_modules: - {"event":{"id":7,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":11,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/node_modules: - {"event":{"id":8,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":12,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/node_modules: - {"event":{"id":9,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":13,"path":"/home/src/projects/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* @@ -1714,22 +1811,22 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Clean dependencies build -Custom watchFile:: Triggered:: {"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/c.js deleted -Custom watchFile:: Triggered:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/index.js deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/tsconfig.tsbuildinfo deleted -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/tsconfig.tsbuildinfo.readable.baseline.txt deleted -Custom watchFile:: Triggered:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/a.js deleted -Custom watchFile:: Triggered:: {"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/index.js deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/tsconfig.tsbuildinfo deleted -Custom watchDirectory:: Triggered Ignored:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt deleted +Custom watchFile:: Triggered:: {"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/c.js deleted +Custom watchFile:: Triggered:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/index.js deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/tsconfig.tsbuildinfo deleted +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/c/3/c-impl/c/lib/tsconfig.tsbuildinfo.readable.baseline.txt deleted +Custom watchFile:: Triggered:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/a.js deleted +Custom watchFile:: Triggered:: {"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/index.js deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/tsconfig.tsbuildinfo deleted +Custom watchDirectory:: Triggered Ignored:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}:: /home/src/projects/a/1/a-impl/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt deleted Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] deleted //// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] deleted @@ -1749,13 +1846,13 @@ Info seq [hh:mm:ss:mss] request: "command": "watchChange", "arguments": [ { - "id": 21, + "id": 26, "deleted": [ "/home/src/projects/c/3/c-impl/c/lib/c.d.ts" ] }, { - "id": 20, + "id": 25, "deleted": [ "/home/src/projects/c/3/c-impl/c/lib/c.d.ts", "/home/src/projects/c/3/c-impl/c/lib/c.js", @@ -1766,19 +1863,19 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 19, + "id": 24, "deleted": [ "/home/src/projects/c/3/c-impl/c/lib/index.d.ts" ] }, { - "id": 18, + "id": 23, "deleted": [ "/home/src/projects/a/1/a-impl/a/lib/a.d.ts" ] }, { - "id": 17, + "id": 22, "deleted": [ "/home/src/projects/a/1/a-impl/a/lib/a.d.ts", "/home/src/projects/a/1/a-impl/a/lib/a.js", @@ -1789,7 +1886,7 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 16, + "id": 21, "deleted": [ "/home/src/projects/a/1/a-impl/a/lib/index.d.ts" ] @@ -1912,13 +2009,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 25, + "id": 30, "path": "/home/src/projects/b/2/b-impl/b/node_modules/a", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1927,12 +2024,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 26, + "id": 31, "path": "/home/src/projects/b/2/b-impl/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":31,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1941,12 +2038,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 27, + "id": 32, "path": "/home/src/projects/b/2/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":32,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1955,12 +2052,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 28, + "id": 33, "path": "/home/src/projects/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":28,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":33,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1969,12 +2066,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 29, + "id": 34, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":29,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":34,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1983,10 +2080,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 17 + "id": 22 } } -Custom watchDirectory:: Close:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1995,10 +2092,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 20 + "id": 25 } } -Custom watchDirectory:: Close:: {"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2007,10 +2104,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 22 + "id": 27 } } -Custom watchDirectory:: Close:: {"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2019,10 +2116,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 23 + "id": 28 } } -Custom watchDirectory:: Close:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -2031,10 +2128,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 24 + "id": 29 } } -Custom watchFile:: Close:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Close:: {"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -2081,61 +2178,73 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} + {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} + {"event":{"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"event":{"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} + {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} + {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: - {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + +FsWatches:: +/home/src/projects: + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: - {"event":{"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: - {"event":{"id":20,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":25,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* - {"event":{"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: *new* - {"event":{"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":31,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules: *new* - {"event":{"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":32,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules: *new* - {"event":{"id":28,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":33,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":29,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":34,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/a/1/a-impl/a/lib/node_modules: - {"event":{"id":22,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: - {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* @@ -2270,30 +2379,30 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Build dependencies -Custom watchFile:: Triggered:: {"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts created -Custom watchFile:: Triggered:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchFile:: Triggered:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchFile:: Triggered:: {"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt updated -Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchFile:: Triggered:: {"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts created +Custom watchFile:: Triggered:: {"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchFile:: Triggered:: {"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchFile:: Triggered:: {"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt updated +Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] "use strict"; @@ -2399,19 +2508,19 @@ Info seq [hh:mm:ss:mss] request: "command": "watchChange", "arguments": [ { - "id": 21, + "id": 26, "created": [ "/home/src/projects/c/3/c-impl/c/lib/c.d.ts" ] }, { - "id": 19, + "id": 24, "created": [ "/home/src/projects/c/3/c-impl/c/lib/index.d.ts" ] }, { - "id": 25, + "id": 30, "created": [ "/home/src/projects/b/2/b-impl/b/node_modules/a/lib", "/home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js", @@ -2423,13 +2532,13 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 18, + "id": 23, "created": [ "/home/src/projects/a/1/a-impl/a/lib/a.d.ts" ] }, { - "id": 16, + "id": 21, "created": [ "/home/src/projects/a/1/a-impl/a/lib/index.d.ts" ] @@ -2533,13 +2642,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 30, + "id": 35, "path": "/home/src/projects/a/1/a-impl/a/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":30,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":35,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2548,13 +2657,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 31, + "id": 36, "path": "/home/src/projects/c/3/c-impl/c/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":31,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":36,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2563,12 +2672,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 32, + "id": 37, "path": "/home/src/projects/a/1/a-impl/a/lib/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":32,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":37,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2577,12 +2686,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 33, + "id": 38, "path": "/home/src/projects/a/1/a-impl/a/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":33,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":38,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -2591,11 +2700,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 34, + "id": 39, "path": "/home/src/projects/c/3/c-impl/c/package.json" } } -Custom watchFile:: Added:: {"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Added:: {"id":39,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -2603,10 +2712,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 25 + "id": 30 } } -Custom watchDirectory:: Close:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2615,10 +2724,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 26 + "id": 31 } } -Custom watchDirectory:: Close:: {"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":31,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2627,10 +2736,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 27 + "id": 32 } } -Custom watchDirectory:: Close:: {"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":32,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2639,10 +2748,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 28 + "id": 33 } } -Custom watchDirectory:: Close:: {"id":28,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":33,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2651,10 +2760,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 29 + "id": 34 } } -Custom watchDirectory:: Close:: {"id":29,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":34,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -2714,59 +2823,69 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} + {"event":{"id":23,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} + {"event":{"id":21,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":10,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":15,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"event":{"id":21,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} + {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} + {"event":{"id":24,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* - {"event":{"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":39,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: +/home/src/projects: + {"event":{"id":7,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} /home/src/projects/a/1/a-impl/a/lib: *new* - {"event":{"id":30,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":35,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":6,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":5,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: *new* - {"event":{"id":31,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":36,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* - {"event":{"id":32,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":37,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: *new* - {"event":{"id":33,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":38,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":4,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":8,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":11,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":12,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":17,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":13,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":18,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":14,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":19,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/b/2/b-impl/b/node_modules/a: - {"event":{"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":30,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: - {"event":{"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":31,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/node_modules: - {"event":{"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":32,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/node_modules: - {"event":{"id":28,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":33,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/node_modules: - {"event":{"id":29,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":34,"path":"/home/src/projects/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows.js index 3914e813c5074..05270e98dfe92 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-Windows.js @@ -129,6 +129,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -141,6 +149,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots @@ -269,8 +279,18 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} /home/src/projects/a/1/a-impl/a/package.json: *new* {} +/home/src/projects/b: *new* + {} +/home/src/projects/b/2: *new* + {} +/home/src/projects/b/2/b-impl: *new* + {} +/home/src/projects/b/2/b-impl/b: *new* + {} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* @@ -930,12 +950,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {} /home/src/projects/a/1/a-impl/a/package.json: {} +/home/src/projects/b: + {} +/home/src/projects/b/2: + {} +/home/src/projects/b/2/b-impl: + {} +/home/src/projects/b/2/b-impl/b: + {} /home/src/projects/b/2/b-impl/b/tsconfig.json: {} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* @@ -1563,12 +1593,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: {} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: {} /home/src/projects/a/1/a-impl/a/package.json: {} +/home/src/projects/b: + {} +/home/src/projects/b/2: + {} +/home/src/projects/b/2/b-impl: + {} +/home/src/projects/b/2/b-impl/b: + {} /home/src/projects/b/2/b-impl/b/tsconfig.json: {} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: @@ -2018,12 +2058,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: {} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: {} /home/src/projects/a/1/a-impl/a/package.json: {} +/home/src/projects/b: + {} +/home/src/projects/b/2: + {} +/home/src/projects/b/2/b-impl: + {} +/home/src/projects/b/2/b-impl/b: + {} /home/src/projects/b/2/b-impl/b/tsconfig.json: {} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux-canUseWatchEvents.js index 3892cb54c8fac..226a91780f8e2 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux-canUseWatchEvents.js @@ -340,7 +340,7 @@ Info seq [hh:mm:ss:mss] event: Custom watchFile:: Added:: {"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -348,12 +348,87 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 10, + "path": "/home/src/projects/b/2/b-impl", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 11, + "path": "/home/src/projects/b/2", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 12, + "path": "/home/src/projects/b", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 13, + "path": "/home/src/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 14, "path": "/home/src/projects/b/2/b-impl/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 15, + "path": "/home/src/projects/b/2/b-impl/b", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -361,11 +436,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 11, + "id": 16, "path": "/home/src/projects/a/1/a-impl/a/package.json" } } -Custom watchFile:: Added:: {"id":11,"path":"/home/src/projects/a/1/a-impl/a/package.json"} +Custom watchFile:: Added:: {"id":16,"path":"/home/src/projects/a/1/a-impl/a/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -373,12 +448,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 17, "path": "/home/src/projects/a/1/a-impl/a/lib/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -387,12 +462,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 13, + "id": 18, "path": "/home/src/projects/a/1/a-impl/a/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -401,11 +476,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 14, + "id": 19, "path": "/home/src/projects/c/3/c-impl/c/package.json" } } -Custom watchFile:: Added:: {"id":14,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Added:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -413,13 +488,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 15, + "id": 20, "path": "/home/src/projects/b/2/b-impl/b/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -428,13 +503,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 16, + "id": 21, "path": "/home/src/projects/b/2/b-impl/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":16,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -443,13 +518,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 17, + "id": 22, "path": "/home/src/projects/b/2/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":17,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":22,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -458,13 +533,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 18, + "id": 23, "path": "/home/src/projects/b/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":18,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":23,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -473,13 +548,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 19, + "id": 24, "path": "/home/src/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":19,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":24,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -595,7 +670,7 @@ PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {"event":{"id":3,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: *new* - {"event":{"id":11,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* @@ -603,35 +678,45 @@ PolledWatches:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* - {"event":{"id":14,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: +/home/src/projects: *new* + {"event":{"id":13,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} /home/src/projects/a/1/a-impl/a/lib: *new* {"event":{"id":4,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: *new* + {"event":{"id":12,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: *new* + {"event":{"id":11,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: *new* + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: *new* + {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: *new* {"event":{"id":7,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* - {"event":{"id":12,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: *new* - {"event":{"id":13,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules: *new* - {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: *new* - {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: *new* {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules/@types: *new* - {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules/@types: *new* - {"event":{"id":17,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules/@types: *new* - {"event":{"id":18,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":23,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules/@types: *new* - {"event":{"id":19,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":24,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *new* @@ -1433,13 +1518,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 20, + "id": 25, "path": "/home/src/projects/b/2/b-impl/b/node_modules/a", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1448,12 +1533,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 21, + "id": 26, "path": "/home/src/projects/b/2/b-impl/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1462,12 +1547,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 22, + "id": 27, "path": "/home/src/projects/b/2/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":22,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1476,12 +1561,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 23, + "id": 28, "path": "/home/src/projects/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":23,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":28,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1490,12 +1575,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 24, + "id": 29, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":24,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":29,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1528,10 +1613,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 12 + "id": 17 } } -Custom watchDirectory:: Close:: {"id":12,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1540,10 +1625,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 13 + "id": 18 } } -Custom watchDirectory:: Close:: {"id":13,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -1552,10 +1637,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 14 + "id": 19 } } -Custom watchFile:: Close:: {"id":14,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Close:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1606,7 +1691,7 @@ PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts: {"event":{"id":3,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":11,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: @@ -1618,7 +1703,19 @@ PolledWatches:: PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: - {"event":{"id":14,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + +FsWatches:: +/home/src/projects: + {"event":{"id":13,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":12,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":11,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: @@ -1628,35 +1725,35 @@ FsWatches *deleted*:: FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* - {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: *new* - {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules: *new* - {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":17,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules: *new* - {"event":{"id":23,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":28,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":18,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":23,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":24,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":29,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: - {"event":{"id":19,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":24,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/a/1/a-impl/a/lib/node_modules: - {"event":{"id":12,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: - {"event":{"id":13,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* @@ -1794,28 +1891,28 @@ After running Immedidate callback:: count: 0 Build dependencies Custom watchFile:: Triggered:: {"id":8,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts created Custom watchFile:: Triggered:: {"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated Custom watchFile:: Triggered:: {"id":5,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated Custom watchFile:: Triggered:: {"id":3,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 164 "use strict"; @@ -1933,7 +2030,7 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 20, + "id": 25, "created": [ "/home/src/projects/b/2/b-impl/b/node_modules/a/lib", "/home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js", @@ -2055,13 +2152,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 25, + "id": 30, "path": "/home/src/projects/a/1/a-impl/a/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":25,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":30,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2070,13 +2167,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 26, + "id": 31, "path": "/home/src/projects/c/3/c-impl/c/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":31,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2085,12 +2182,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 27, + "id": 32, "path": "/home/src/projects/a/1/a-impl/a/lib/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":32,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2099,12 +2196,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 28, + "id": 33, "path": "/home/src/projects/a/1/a-impl/a/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":33,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -2113,11 +2210,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 29, + "id": 34, "path": "/home/src/projects/c/3/c-impl/c/package.json" } } -Custom watchFile:: Added:: {"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Added:: {"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -2125,10 +2222,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 20 + "id": 25 } } -Custom watchDirectory:: Close:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2137,10 +2234,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 21 + "id": 26 } } -Custom watchDirectory:: Close:: {"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2149,10 +2246,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 22 + "id": 27 } } -Custom watchDirectory:: Close:: {"id":22,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2161,10 +2258,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 23 + "id": 28 } } -Custom watchDirectory:: Close:: {"id":23,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":28,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2173,10 +2270,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 24 + "id": 29 } } -Custom watchDirectory:: Close:: {"id":24,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":29,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -2240,7 +2337,7 @@ PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts: {"event":{"id":3,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":11,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: @@ -2248,47 +2345,57 @@ PolledWatches:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* - {"event":{"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: +/home/src/projects: + {"event":{"id":13,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} /home/src/projects/a/1/a-impl/a/lib: *new* - {"event":{"id":25,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":30,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":12,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":11,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: *new* - {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":31,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* - {"event":{"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":32,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: *new* - {"event":{"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":33,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":17,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":18,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":23,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules/@types: - {"event":{"id":19,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":24,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/b/2/b-impl/b/node_modules/a: - {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: - {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/node_modules: - {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/node_modules: - {"event":{"id":23,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":28,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/node_modules: - {"event":{"id":24,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":29,"path":"/home/src/projects/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux.js index ac3a7f04b803b..cca6416659ff2 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Linux.js @@ -235,8 +235,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -376,6 +386,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {"inode":3} /home/src/projects/a/1/a-impl/a/lib: *new* {"inode":152} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* @@ -386,6 +398,14 @@ FsWatches:: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: *new* {"inode":24} +/home/src/projects/b: *new* + {"inode":30} +/home/src/projects/b/2: *new* + {"inode":31} +/home/src/projects/b/2/b-impl: *new* + {"inode":32} +/home/src/projects/b/2/b-impl/b: *new* + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: *new* {"inode":37} /home/src/projects/b/2/b-impl/b/src: *new* @@ -1106,10 +1126,20 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/src: @@ -1283,6 +1313,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a: *new* {"inode":19} /home/src/projects/a/1/a-impl/a/node_modules: @@ -1291,6 +1323,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: *new* {"inode":20} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* @@ -1591,6 +1631,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* @@ -1603,6 +1645,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: {"inode":20} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: @@ -1680,6 +1730,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib: *new* @@ -1694,6 +1746,14 @@ FsWatches:: {"inode":24} /home/src/projects/a/1/a-impl/a/src: {"inode":20} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/node_modules/a: @@ -1836,6 +1896,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib: {"inode":170} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: @@ -1846,6 +1908,14 @@ FsWatches:: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/node_modules: {"inode":37} /home/src/projects/b/2/b-impl/b/src: diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs-canUseWatchEvents.js index 9d64da811acdc..8c7dc6d7df260 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs-canUseWatchEvents.js @@ -340,7 +340,7 @@ Info seq [hh:mm:ss:mss] event: Custom watchFile:: Added:: {"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -348,12 +348,87 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 10, + "path": "/home/src/projects/b/2/b-impl", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 11, + "path": "/home/src/projects/b/2", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 12, + "path": "/home/src/projects/b", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 13, + "path": "/home/src/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 14, "path": "/home/src/projects/b/2/b-impl/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 15, + "path": "/home/src/projects/b/2/b-impl/b", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -361,11 +436,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 11, + "id": 16, "path": "/home/src/projects/a/1/a-impl/a/package.json" } } -Custom watchFile:: Added:: {"id":11,"path":"/home/src/projects/a/1/a-impl/a/package.json"} +Custom watchFile:: Added:: {"id":16,"path":"/home/src/projects/a/1/a-impl/a/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -373,12 +448,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 17, "path": "/home/src/projects/a/1/a-impl/a/lib/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -387,12 +462,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 13, + "id": 18, "path": "/home/src/projects/a/1/a-impl/a/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -401,11 +476,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 14, + "id": 19, "path": "/home/src/projects/c/3/c-impl/c/package.json" } } -Custom watchFile:: Added:: {"id":14,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Added:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -413,13 +488,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 15, + "id": 20, "path": "/home/src/projects/b/2/b-impl/b/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -428,13 +503,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 16, + "id": 21, "path": "/home/src/projects/b/2/b-impl/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":16,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -443,13 +518,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 17, + "id": 22, "path": "/home/src/projects/b/2/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":17,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":22,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -458,13 +533,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 18, + "id": 23, "path": "/home/src/projects/b/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":18,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":23,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -473,13 +548,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 19, + "id": 24, "path": "/home/src/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":19,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":24,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -595,7 +670,7 @@ PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {"event":{"id":3,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: *new* - {"event":{"id":11,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* @@ -603,35 +678,45 @@ PolledWatches:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* - {"event":{"id":14,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: +/home/src/projects: *new* + {"event":{"id":13,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} /home/src/projects/a/1/a-impl/a/lib: *new* {"event":{"id":4,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: *new* + {"event":{"id":12,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: *new* + {"event":{"id":11,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: *new* + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: *new* + {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: *new* {"event":{"id":7,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* - {"event":{"id":12,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: *new* - {"event":{"id":13,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules: *new* - {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: *new* - {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: *new* {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules/@types: *new* - {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules/@types: *new* - {"event":{"id":17,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules/@types: *new* - {"event":{"id":18,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":23,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules/@types: *new* - {"event":{"id":19,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":24,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *new* @@ -1433,13 +1518,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 20, + "id": 25, "path": "/home/src/projects/b/2/b-impl/b/node_modules/a", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1448,12 +1533,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 21, + "id": 26, "path": "/home/src/projects/b/2/b-impl/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1462,12 +1547,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 22, + "id": 27, "path": "/home/src/projects/b/2/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":22,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1476,12 +1561,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 23, + "id": 28, "path": "/home/src/projects/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":23,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":28,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1490,12 +1575,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 24, + "id": 29, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":24,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":29,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1528,10 +1613,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 12 + "id": 17 } } -Custom watchDirectory:: Close:: {"id":12,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1540,10 +1625,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 13 + "id": 18 } } -Custom watchDirectory:: Close:: {"id":13,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -1552,10 +1637,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 14 + "id": 19 } } -Custom watchFile:: Close:: {"id":14,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Close:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1606,7 +1691,7 @@ PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts: {"event":{"id":3,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":11,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: @@ -1618,7 +1703,19 @@ PolledWatches:: PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: - {"event":{"id":14,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + +FsWatches:: +/home/src/projects: + {"event":{"id":13,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":12,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":11,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: @@ -1628,35 +1725,35 @@ FsWatches *deleted*:: FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* - {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: *new* - {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules: *new* - {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":17,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules: *new* - {"event":{"id":23,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":28,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":18,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":23,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":24,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":29,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: - {"event":{"id":19,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":24,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/a/1/a-impl/a/lib/node_modules: - {"event":{"id":12,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: - {"event":{"id":13,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* @@ -1794,15 +1891,15 @@ After running Immedidate callback:: count: 0 Build dependencies Custom watchFile:: Triggered:: {"id":8,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts created Custom watchFile:: Triggered:: {"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created Custom watchFile:: Triggered:: {"id":5,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created Custom watchFile:: Triggered:: {"id":3,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 164 "use strict"; @@ -1920,7 +2017,7 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 20, + "id": 25, "created": [ "/home/src/projects/b/2/b-impl/b/node_modules/a/lib", "/home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js", @@ -2042,13 +2139,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 25, + "id": 30, "path": "/home/src/projects/a/1/a-impl/a/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":25,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":30,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2057,13 +2154,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 26, + "id": 31, "path": "/home/src/projects/c/3/c-impl/c/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":31,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2072,12 +2169,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 27, + "id": 32, "path": "/home/src/projects/a/1/a-impl/a/lib/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":32,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2086,12 +2183,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 28, + "id": 33, "path": "/home/src/projects/a/1/a-impl/a/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":33,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -2100,11 +2197,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 29, + "id": 34, "path": "/home/src/projects/c/3/c-impl/c/package.json" } } -Custom watchFile:: Added:: {"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Added:: {"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -2112,10 +2209,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 20 + "id": 25 } } -Custom watchDirectory:: Close:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2124,10 +2221,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 21 + "id": 26 } } -Custom watchDirectory:: Close:: {"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2136,10 +2233,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 22 + "id": 27 } } -Custom watchDirectory:: Close:: {"id":22,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2148,10 +2245,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 23 + "id": 28 } } -Custom watchDirectory:: Close:: {"id":23,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":28,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2160,10 +2257,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 24 + "id": 29 } } -Custom watchDirectory:: Close:: {"id":24,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":29,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -2227,7 +2324,7 @@ PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts: {"event":{"id":3,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":11,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: @@ -2235,47 +2332,57 @@ PolledWatches:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* - {"event":{"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: +/home/src/projects: + {"event":{"id":13,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} /home/src/projects/a/1/a-impl/a/lib: *new* - {"event":{"id":25,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":30,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":12,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":11,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: *new* - {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":31,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* - {"event":{"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":32,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: *new* - {"event":{"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":33,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":17,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":18,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":23,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules/@types: - {"event":{"id":19,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":24,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/b/2/b-impl/b/node_modules/a: - {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: - {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/node_modules: - {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/node_modules: - {"event":{"id":23,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":28,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/node_modules: - {"event":{"id":24,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":29,"path":"/home/src/projects/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs.js index e9a00c3758120..7744c5f80b65f 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-MacOs.js @@ -235,8 +235,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -376,12 +386,22 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {"inode":154} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {"inode":156} /home/src/projects/a/1/a-impl/a/package.json: *new* {"inode":24} +/home/src/projects/b: *new* + {"inode":30} +/home/src/projects/b/2: *new* + {"inode":31} +/home/src/projects/b/2/b-impl: *new* + {"inode":32} +/home/src/projects/b/2/b-impl/b: *new* + {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* @@ -1136,8 +1156,18 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: @@ -1311,8 +1341,18 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/tslibs/TS/Lib/lib.d.ts: @@ -1644,12 +1684,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {"inode":172} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {"inode":174} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* @@ -1821,12 +1871,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: {"inode":172} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: {"inode":174} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} +/home/src/projects/b: + {"inode":30} +/home/src/projects/b/2: + {"inode":31} +/home/src/projects/b/2/b-impl: + {"inode":32} +/home/src/projects/b/2/b-impl/b: + {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows-canUseWatchEvents.js index 5abbe06efa05f..8f463ab8b1427 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows-canUseWatchEvents.js @@ -340,7 +340,7 @@ Info seq [hh:mm:ss:mss] event: Custom watchFile:: Added:: {"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -348,12 +348,87 @@ Info seq [hh:mm:ss:mss] event: "event": "createDirectoryWatcher", "body": { "id": 10, + "path": "/home/src/projects/b/2/b-impl", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 11, + "path": "/home/src/projects/b/2", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 12, + "path": "/home/src/projects/b", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 13, + "path": "/home/src/projects", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 14, "path": "/home/src/projects/b/2/b-impl/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":14,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 15, + "path": "/home/src/projects/b/2/b-impl/b", + "recursive": false, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: { @@ -361,11 +436,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 11, + "id": 16, "path": "/home/src/projects/a/1/a-impl/a/package.json" } } -Custom watchFile:: Added:: {"id":11,"path":"/home/src/projects/a/1/a-impl/a/package.json"} +Custom watchFile:: Added:: {"id":16,"path":"/home/src/projects/a/1/a-impl/a/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -373,12 +448,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 12, + "id": 17, "path": "/home/src/projects/a/1/a-impl/a/lib/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -387,12 +462,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 13, + "id": 18, "path": "/home/src/projects/a/1/a-impl/a/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":13,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -401,11 +476,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 14, + "id": 19, "path": "/home/src/projects/c/3/c-impl/c/package.json" } } -Custom watchFile:: Added:: {"id":14,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Added:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -413,13 +488,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 15, + "id": 20, "path": "/home/src/projects/b/2/b-impl/b/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":15,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -428,13 +503,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 16, + "id": 21, "path": "/home/src/projects/b/2/b-impl/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":16,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -443,13 +518,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 17, + "id": 22, "path": "/home/src/projects/b/2/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":17,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":22,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -458,13 +533,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 18, + "id": 23, "path": "/home/src/projects/b/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":18,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":23,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -473,13 +548,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 19, + "id": 24, "path": "/home/src/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":19,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":24,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -595,7 +670,7 @@ PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {"event":{"id":3,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: *new* - {"event":{"id":11,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* @@ -603,35 +678,45 @@ PolledWatches:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* - {"event":{"id":14,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: +/home/src/projects: *new* + {"event":{"id":13,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} /home/src/projects/a/1/a-impl/a/lib: *new* {"event":{"id":4,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: *new* + {"event":{"id":12,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: *new* + {"event":{"id":11,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: *new* + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: *new* + {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: *new* {"event":{"id":7,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* - {"event":{"id":12,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: *new* - {"event":{"id":13,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules: *new* - {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: *new* - {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: *new* {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules/@types: *new* - {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules/@types: *new* - {"event":{"id":17,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules/@types: *new* - {"event":{"id":18,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":23,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules/@types: *new* - {"event":{"id":19,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":24,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *new* @@ -1433,13 +1518,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 20, + "id": 25, "path": "/home/src/projects/b/2/b-impl/b/node_modules/a", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1448,12 +1533,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 21, + "id": 26, "path": "/home/src/projects/b/2/b-impl/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1462,12 +1547,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 22, + "id": 27, "path": "/home/src/projects/b/2/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":22,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1476,12 +1561,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 23, + "id": 28, "path": "/home/src/projects/b/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":23,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":28,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1490,12 +1575,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 24, + "id": 29, "path": "/home/src/projects/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":24,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":29,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1528,10 +1613,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 12 + "id": 17 } } -Custom watchDirectory:: Close:: {"id":12,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -1540,10 +1625,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 13 + "id": 18 } } -Custom watchDirectory:: Close:: {"id":13,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":18,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -1552,10 +1637,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 14 + "id": 19 } } -Custom watchFile:: Close:: {"id":14,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Close:: {"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1606,7 +1691,7 @@ PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts: {"event":{"id":3,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":11,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: @@ -1618,7 +1703,19 @@ PolledWatches:: PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: - {"event":{"id":14,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":19,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + +FsWatches:: +/home/src/projects: + {"event":{"id":13,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":12,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":11,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: @@ -1628,35 +1725,35 @@ FsWatches *deleted*:: FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/node_modules/a: *new* - {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: *new* - {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules: *new* - {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":17,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules: *new* - {"event":{"id":23,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":28,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":18,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":23,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules: *new* - {"event":{"id":24,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":29,"path":"/home/src/projects/node_modules","recursive":true}} /home/src/projects/node_modules/@types: - {"event":{"id":19,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":24,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/a/1/a-impl/a/lib/node_modules: - {"event":{"id":12,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":17,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: - {"event":{"id":13,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":18,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* @@ -1794,28 +1891,28 @@ After running Immedidate callback:: count: 0 Build dependencies Custom watchFile:: Triggered:: {"id":8,"path":"/home/src/projects/c/3/c-impl/c/lib/c.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/c.d.ts created Custom watchFile:: Triggered:: {"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated Custom watchFile:: Triggered:: {"id":5,"path":"/home/src/projects/a/1/a-impl/a/lib/a.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.js updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated Custom watchFile:: Triggered:: {"id":3,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt updated -Custom watchDirectory:: Triggered Ignored:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt created +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib/tsconfig.tsbuildinfo.readable.baseline.txt updated +Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}:: /home/src/projects/b/2/b-impl/b/node_modules/a/lib updated Before request //// [/home/src/projects/c/3/c-impl/c/lib/c.js] "use strict"; @@ -1933,7 +2030,7 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 20, + "id": 25, "created": [ "/home/src/projects/b/2/b-impl/b/node_modules/a/lib", "/home/src/projects/b/2/b-impl/b/node_modules/a/lib/a.js", @@ -2055,13 +2152,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 25, + "id": 30, "path": "/home/src/projects/a/1/a-impl/a/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":25,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":30,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2070,13 +2167,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 26, + "id": 31, "path": "/home/src/projects/c/3/c-impl/c/lib", "recursive": false, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":31,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/lib 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2085,12 +2182,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 27, + "id": 32, "path": "/home/src/projects/a/1/a-impl/a/lib/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":32,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2099,12 +2196,12 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 28, + "id": 33, "path": "/home/src/projects/a/1/a-impl/a/node_modules", "recursive": true } } -Custom watchDirectory:: Added:: {"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} +Custom watchDirectory:: Added:: {"id":33,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] event: @@ -2113,11 +2210,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 29, + "id": 34, "path": "/home/src/projects/c/3/c-impl/c/package.json" } } -Custom watchFile:: Added:: {"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"} +Custom watchFile:: Added:: {"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: { @@ -2125,10 +2222,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 20 + "id": 25 } } -Custom watchDirectory:: Close:: {"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Close:: {"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2137,10 +2234,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 21 + "id": 26 } } -Custom watchDirectory:: Close:: {"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/b-impl/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2149,10 +2246,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 22 + "id": 27 } } -Custom watchDirectory:: Close:: {"id":22,"path":"/home/src/projects/b/2/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/2/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2161,10 +2258,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 23 + "id": 28 } } -Custom watchDirectory:: Close:: {"id":23,"path":"/home/src/projects/b/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":28,"path":"/home/src/projects/b/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] event: @@ -2173,10 +2270,10 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "closeFileWatcher", "body": { - "id": 24 + "id": 29 } } -Custom watchDirectory:: Close:: {"id":24,"path":"/home/src/projects/node_modules","recursive":true} +Custom watchDirectory:: Close:: {"id":29,"path":"/home/src/projects/node_modules","recursive":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/b/2/b-impl/b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/b/2/b-impl/b/tsconfig.json' (Configured) @@ -2240,7 +2337,7 @@ PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/index.d.ts: {"event":{"id":3,"path":"/home/src/projects/a/1/a-impl/a/lib/index.d.ts"}} /home/src/projects/a/1/a-impl/a/package.json: - {"event":{"id":11,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} + {"event":{"id":16,"path":"/home/src/projects/a/1/a-impl/a/package.json"}} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"event":{"id":1,"path":"/home/src/projects/b/2/b-impl/b/tsconfig.json"}} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: @@ -2248,47 +2345,57 @@ PolledWatches:: /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {"event":{"id":6,"path":"/home/src/projects/c/3/c-impl/c/lib/index.d.ts"}} /home/src/projects/c/3/c-impl/c/package.json: *new* - {"event":{"id":29,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} + {"event":{"id":34,"path":"/home/src/projects/c/3/c-impl/c/package.json"}} /home/src/tslibs/TS/Lib/lib.d.ts: {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: +/home/src/projects: + {"event":{"id":13,"path":"/home/src/projects","recursive":false,"ignoreUpdate":true}} /home/src/projects/a/1/a-impl/a/lib: *new* - {"event":{"id":25,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":30,"path":"/home/src/projects/a/1/a-impl/a/lib","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b: + {"event":{"id":12,"path":"/home/src/projects/b","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2: + {"event":{"id":11,"path":"/home/src/projects/b/2","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl: + {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl","recursive":false,"ignoreUpdate":true}} +/home/src/projects/b/2/b-impl/b: + {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b","recursive":false,"ignoreUpdate":true}} /home/src/projects/c/3/c-impl/c/lib: *new* - {"event":{"id":26,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} + {"event":{"id":31,"path":"/home/src/projects/c/3/c-impl/c/lib","recursive":false,"ignoreUpdate":true}} FsWatchesRecursive:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* - {"event":{"id":27,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} + {"event":{"id":32,"path":"/home/src/projects/a/1/a-impl/a/lib/node_modules","recursive":true}} /home/src/projects/a/1/a-impl/a/node_modules: *new* - {"event":{"id":28,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} + {"event":{"id":33,"path":"/home/src/projects/a/1/a-impl/a/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules: - {"event":{"id":10,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} + {"event":{"id":14,"path":"/home/src/projects/b/2/b-impl/b/node_modules","recursive":true}} /home/src/projects/b/2/b-impl/b/node_modules/@types: - {"event":{"id":15,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/b/src: {"event":{"id":2,"path":"/home/src/projects/b/2/b-impl/b/src","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules/@types: - {"event":{"id":16,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/node_modules/@types: - {"event":{"id":17,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/node_modules/@types: - {"event":{"id":18,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":23,"path":"/home/src/projects/b/node_modules/@types","recursive":true,"ignoreUpdate":true}} /home/src/projects/node_modules/@types: - {"event":{"id":19,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":24,"path":"/home/src/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} FsWatchesRecursive *deleted*:: /home/src/projects/b/2/b-impl/b/node_modules/a: - {"event":{"id":20,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} + {"event":{"id":25,"path":"/home/src/projects/b/2/b-impl/b/node_modules/a","recursive":true,"ignoreUpdate":true}} /home/src/projects/b/2/b-impl/node_modules: - {"event":{"id":21,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} + {"event":{"id":26,"path":"/home/src/projects/b/2/b-impl/node_modules","recursive":true}} /home/src/projects/b/2/node_modules: - {"event":{"id":22,"path":"/home/src/projects/b/2/node_modules","recursive":true}} + {"event":{"id":27,"path":"/home/src/projects/b/2/node_modules","recursive":true}} /home/src/projects/b/node_modules: - {"event":{"id":23,"path":"/home/src/projects/b/node_modules","recursive":true}} + {"event":{"id":28,"path":"/home/src/projects/b/node_modules","recursive":true}} /home/src/projects/node_modules: - {"event":{"id":24,"path":"/home/src/projects/node_modules","recursive":true}} + {"event":{"id":29,"path":"/home/src/projects/node_modules","recursive":true}} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows.js b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows.js index 816ef7bdb079c..b4aee9a51f9da 100644 --- a/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows.js +++ b/tests/baselines/reference/tsserver/symLinks/packages-outside-project-folder-built-Windows.js @@ -235,8 +235,18 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/c/3 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/src 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/b/2/b-impl/b 0 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/package.json 2000 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/node_modules 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations @@ -376,12 +386,22 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* {} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* {} /home/src/projects/a/1/a-impl/a/package.json: *new* {} +/home/src/projects/b: *new* + {} +/home/src/projects/b/2: *new* + {} +/home/src/projects/b/2/b-impl: *new* + {} +/home/src/projects/b/2/b-impl/b: *new* + {} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* @@ -1249,12 +1269,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: {} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: {} /home/src/projects/a/1/a-impl/a/package.json: {} +/home/src/projects/b: + {} +/home/src/projects/b/2: + {} +/home/src/projects/b/2/b-impl: + {} +/home/src/projects/b/2/b-impl/b: + {} /home/src/projects/b/2/b-impl/b/tsconfig.json: {} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: @@ -1705,12 +1735,22 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: +/home/src/projects: + {} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: {} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: {} /home/src/projects/a/1/a-impl/a/package.json: {} +/home/src/projects/b: + {} +/home/src/projects/b/2: + {} +/home/src/projects/b/2/b-impl: + {} +/home/src/projects/b/2/b-impl/b: + {} /home/src/projects/b/2/b-impl/b/tsconfig.json: {} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: diff --git a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js index 1327c095a715b..efa6263dcad70 100644 --- a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js +++ b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js @@ -280,13 +280,11 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: c:/temp/replay/axios-src/lib/core/dispatchRequest.js ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: c:/temp/replay/axios-src/lib/core Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/AxiosHeaders.js 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/AxiosHeaders.js 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/settle.js 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/settle.js 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/settle.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations @@ -297,6 +295,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/no Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -388,16 +387,12 @@ c:/temp/node_modules/@types: {"pollingInterval":500} c:/temp/replay/axios-src/jsconfig.json: {"pollingInterval":2000} -c:/temp/replay/axios-src/lib/core/AxiosHeaders.js: *new* - {"pollingInterval":500} c:/temp/replay/axios-src/lib/core/jsconfig.json: {"pollingInterval":2000} c:/temp/replay/axios-src/lib/core/node_modules: *new* {"pollingInterval":500} c:/temp/replay/axios-src/lib/core/node_modules/@types: {"pollingInterval":500} -c:/temp/replay/axios-src/lib/core/settle.js: *new* - {"pollingInterval":500} c:/temp/replay/axios-src/lib/core/tsconfig.json: {"pollingInterval":2000} c:/temp/replay/axios-src/lib/jsconfig.json: @@ -426,6 +421,8 @@ C:/home/src/tslibs/TS/Lib/lib.d.ts: {} C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: {} +c:/temp/replay/axios-src/lib: *new* + {} c:/temp/replay/axios-src/lib/core: *new* {} c:/temp/replay/axios-src/lib/core/settle.js: *new* @@ -493,8 +490,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: c:/temp/replay/axios-src/lib/core/mergeConfig.js ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject3*, currentDirectory: c:/temp/replay/axios-src/lib/core Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/AxiosHeaders.js 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/AxiosHeaders.js 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots @@ -658,16 +653,12 @@ c:/temp/node_modules/@types: {"pollingInterval":500} c:/temp/replay/axios-src/jsconfig.json: {"pollingInterval":2000} -c:/temp/replay/axios-src/lib/core/AxiosHeaders.js: - {"pollingInterval":500} c:/temp/replay/axios-src/lib/core/jsconfig.json: {"pollingInterval":2000} c:/temp/replay/axios-src/lib/core/node_modules: {"pollingInterval":500} c:/temp/replay/axios-src/lib/core/node_modules/@types: {"pollingInterval":500} -c:/temp/replay/axios-src/lib/core/settle.js: - {"pollingInterval":500} c:/temp/replay/axios-src/lib/core/tsconfig.json: {"pollingInterval":2000} c:/temp/replay/axios-src/lib/jsconfig.json: @@ -696,6 +687,8 @@ C:/home/src/tslibs/TS/Lib/lib.d.ts: {} C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: {} +c:/temp/replay/axios-src/lib: + {} c:/temp/replay/axios-src/lib/core: {} c:/temp/replay/axios-src/lib/core/AxiosHeaders.js: *new* @@ -818,16 +811,12 @@ c:/temp/node_modules/@types: {"pollingInterval":500} c:/temp/replay/axios-src/jsconfig.json: {"pollingInterval":2000} -c:/temp/replay/axios-src/lib/core/AxiosHeaders.js: - {"pollingInterval":500} c:/temp/replay/axios-src/lib/core/jsconfig.json: {"pollingInterval":2000} c:/temp/replay/axios-src/lib/core/node_modules: {"pollingInterval":500} c:/temp/replay/axios-src/lib/core/node_modules/@types: {"pollingInterval":500} -c:/temp/replay/axios-src/lib/core/settle.js: - {"pollingInterval":500} c:/temp/replay/axios-src/lib/core/tsconfig.json: {"pollingInterval":2000} c:/temp/replay/axios-src/lib/jsconfig.json: @@ -856,6 +845,8 @@ C:/home/src/tslibs/TS/Lib/lib.d.ts: {} C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: {} +c:/temp/replay/axios-src/lib: + {} c:/temp/replay/axios-src/lib/core: {} c:/temp/replay/axios-src/lib/core/AxiosHeaders.js: diff --git a/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js b/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js index 498e0aaf299f6..0a3aec54b72c2 100644 --- a/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js +++ b/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js @@ -115,6 +115,12 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/dep 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/src 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/src 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages 0 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages 0 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules/dep 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules/dep 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations @@ -125,6 +131,8 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app 0 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app 0 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/dep/package.json 2000 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/app/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/app/tsconfig.json WatchType: Type roots @@ -281,6 +289,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} +/home/src/projects/project/packages: *new* + {} +/home/src/projects/project/packages/app: *new* + {} /home/src/projects/project/packages/app/tsconfig.json: *new* {} /home/src/projects/project/packages/dep/package.json: *new* diff --git a/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js b/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js index dd366d846f698..0bc5e8627246b 100644 --- a/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js +++ b/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js @@ -226,10 +226,14 @@ Projects:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/unitTest1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -290,6 +294,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/tsconfig.json: {} /user/username/projects/myproject/unitTest1.ts: *new* @@ -366,6 +374,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/tsconfig.json: {} @@ -503,6 +515,8 @@ Info seq [hh:mm:ss:mss] response: } After request +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/unitTest1.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/unitTest1.ts :: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/unitTest1.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/unitTest1.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 0 @@ -571,10 +585,14 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -637,6 +655,12 @@ FsWatches:: /user/username/projects/myproject/tsconfig.json: {} +FsWatches *deleted*:: +/user/username/projects: + {} +/user/username/projects/myproject: + {} + FsWatchesRecursive:: /user/username/projects/myproject: {} @@ -680,10 +704,14 @@ Projects:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/unitTest1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -744,6 +772,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/tsconfig.json: {} /user/username/projects/myproject/unitTest1.ts: *new* @@ -819,6 +851,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} /user/username/projects/myproject/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js b/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js index 48c118e081288..feb5189e05142 100644 --- a/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js +++ b/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js @@ -85,12 +85,16 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/bar/package.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/package.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/package.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: File location affecting resolution @@ -136,6 +140,10 @@ FsWatches:: {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/project: *new* + {} /user/username/projects/project/jsconfig.json: *new* {} @@ -384,6 +392,10 @@ FsWatches:: {} /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/project: + {} /user/username/projects/project/jsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js b/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js index a2d2a1e488ec9..0ccd4840488ed 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/cached-unresolved-typings-are-not-recomputed-if-program-structure-did-not-change.js @@ -35,10 +35,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -59,10 +63,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer PolledWatches:: +/home/src/projects: *new* + {"pollingInterval":500} /home/src/projects/node_modules: *new* {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project: *new* + {"pollingInterval":500} /home/src/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/node_modules: *new* @@ -241,10 +249,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects: + {"pollingInterval":500} /home/src/projects/node_modules: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project: + {"pollingInterval":500} /home/src/projects/project/bower_components: *new* {"pollingInterval":500} /home/src/projects/project/jsconfig.json: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js index 3b291952b6b9a..bdf8ab26c5b70 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js @@ -103,6 +103,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/package.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/jquery/package.json 2000 undefined Project: /user/username/projects/project/jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/jsconfig.json' (Configured) @@ -133,6 +134,8 @@ FsWatches:: {} /user/username/projects/project/node_modules/jquery/package.json: *new* {} +/user/username/projects/project/package.json: *new* + {} FsWatchesRecursive:: /user/username/projects/project: *new* @@ -363,26 +366,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/node_modules: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/project/jsconfig.json: - {} -/user/username/projects/project/node_modules/jquery/package.json: - {} -/user/username/projects/project/package.json: *new* - {} - -FsWatchesRecursive:: -/user/username/projects/project: - {} -/user/username/projects/project/node_modules: - {} - PendingInstalls callback:: count: 1 1: #1 with arguments:: [ "@types/jquery@tsFakeMajor.Minor" diff --git a/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js b/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js index 308e629ca3cd8..04fef90bd567a 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js @@ -40,10 +40,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -78,6 +82,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} @@ -255,6 +263,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/tslibs/TS/Lib/lib.d.ts: {} @@ -551,6 +563,10 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/tslibs/TS/Lib/lib.d.ts: {} diff --git a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js index b309d1a093781..20d1559a73c58 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js @@ -46,10 +46,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/fooo/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -97,6 +101,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} @@ -273,6 +281,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/tslibs/TS/Lib/lib.d.ts: {} @@ -576,6 +588,10 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/tslibs/TS/Lib/lib.d.ts: {} diff --git a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js index 0292d083e02aa..5afb3fdf0454d 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js @@ -42,10 +42,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/fooo/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -93,6 +97,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} @@ -269,6 +277,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/tslibs/TS/Lib/lib.d.ts: {} @@ -552,6 +564,10 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/tslibs/TS/Lib/lib.d.ts: {} diff --git a/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js b/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js index d29dd1f743bdf..df73024d3883b 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js @@ -98,8 +98,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 1 undefined Config: /user/username/projects/project/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/config.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/jsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/config 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/config 1 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project 0 undefined Project: /user/username/projects/project/jsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info @@ -129,8 +127,6 @@ TI:: Creating typing installer PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/project/config: *new* - {"pollingInterval":500} /user/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -383,8 +379,6 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/project/bower_components: *new* {"pollingInterval":500} -/user/username/projects/project/config: - {"pollingInterval":500} /user/username/projects/project/node_modules: *new* {"pollingInterval":500} /user/username/projects/project/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/pick-typing-names-from-nonrelative-unresolved-imports.js b/tests/baselines/reference/tsserver/typingsInstaller/pick-typing-names-from-nonrelative-unresolved-imports.js index 74b838aeefb65..2b0c254d92782 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/pick-typing-names-from-nonrelative-unresolved-imports.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/pick-typing-names-from-nonrelative-unresolved-imports.js @@ -49,6 +49,8 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -89,6 +91,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: *new* + {} /home/src/projects/project: *new* {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* @@ -259,6 +263,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: + {} /home/src/projects/project: {} /home/src/tslibs/TS/Lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js index 91089cdc4b6ee..cf28d769271a0 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js @@ -45,12 +45,18 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/b/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/b/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/b 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/b 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -107,6 +113,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/a: *new* + {} +/user/username/projects/a/b: *new* + {} FsWatchesRecursive:: /user/username/projects/node_modules: *new* @@ -287,6 +299,12 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/a: + {} +/user/username/projects/a/b: + {} FsWatchesRecursive:: /user/username/projects/node_modules: @@ -573,6 +591,12 @@ FsWatches:: {} /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/a: + {} +/user/username/projects/a/b: + {} FsWatchesRecursive:: /home/src/Library/Caches/typescript/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js b/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js index e9e7832d72f73..a511176f930fa 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js @@ -40,10 +40,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -78,6 +82,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: *new* + {} +/home/src/projects/project: *new* + {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} @@ -239,6 +247,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/tslibs/TS/Lib/lib.d.ts: {} @@ -510,6 +522,10 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} +/home/src/projects: + {} +/home/src/projects/project: + {} /home/src/tslibs/TS/Lib/lib.d.ts: {} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js index 6c5ab852c57b4..791754370a600 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js @@ -63,6 +63,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution @@ -161,6 +165,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/src/main.ts: *new* {} @@ -239,6 +247,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} FsWatches *deleted*:: /user/username/projects/myproject/src/main.ts: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js index b167687eece24..926c2b4c54669 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js @@ -88,6 +88,10 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution @@ -183,6 +187,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/src/main.ts: *new* {} @@ -259,6 +267,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} FsWatches *deleted*:: /user/username/projects/myproject/src/main.ts: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js index a39ad8f2e962a..02036ca0a6365 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js @@ -62,6 +62,10 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution @@ -157,6 +161,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/src/main.ts: *new* {} @@ -233,6 +241,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {} +/user/username/projects: + {} +/user/username/projects/myproject: + {} FsWatches *deleted*:: /user/username/projects/myproject/src/main.ts: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js index 5e0292eb65eee..3d8a4a893a13a 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js @@ -75,6 +75,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -147,6 +151,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} FsWatchesRecursive:: /user/username/projects/myproject/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js index f2cee354b7256..92e7995439d3a 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js @@ -100,6 +100,10 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -169,6 +173,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} FsWatchesRecursive:: /user/username/projects/myproject/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js index f5f97f89fad3e..2d2b5004bee2a 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js @@ -74,6 +74,10 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -143,6 +147,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} FsWatchesRecursive:: /user/username/projects/myproject/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js index fc78a5d3d5407..af20679fafefc 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js @@ -38,10 +38,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/i/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/i/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/i/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/i 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/i 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/i/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/i/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -94,6 +98,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/User/userName/Projects: *new* + {} +/User/userName/Projects/i: *new* + {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js index 4887cfe71425d..bc6d6113536b4 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js @@ -38,10 +38,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/I/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/I/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/I/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/I 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/I 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/I/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/I/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -94,6 +98,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/User/userName/Projects: *new* + {} +/User/userName/Projects/I: *new* + {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js index 82992c69f22f4..848532c1a6557 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js @@ -38,10 +38,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/İ 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/İ 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -94,6 +98,10 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: +/User/userName/Projects: *new* + {} +/User/userName/Projects/İ: *new* + {} /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js b/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js index f4eb09e6beba3..5fd7641f63b7e 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js @@ -69,10 +69,14 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/worksp Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/src 1 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/src 1 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/node_modules 1 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/node_modules 1 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/node_modules 1 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/node_modules 1 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/node_modules/@types 1 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/project/node_modules/@types 1 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/workspace/node_modules/@types 1 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Type roots @@ -183,6 +187,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/a/username/workspace: *new* + {"inode":3} /a/username/workspace/project: *new* {"inode":4} /a/username/workspace/project/node_modules: *new* @@ -226,11 +232,15 @@ After writing ignored file or folder +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/username/workspace/project/.git :: WatchInfo: /a/username/workspace/project 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/username/workspace/project/.git :: WatchInfo: /a/username/workspace/project 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations After writing ignored file or folder //// [/a/username/workspace/project/.git/someFile.d.ts] Inode:: 123 +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/username/workspace/project/.gitCache.d.ts :: WatchInfo: /a/username/workspace/project 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/username/workspace/project/.gitCache.d.ts :: WatchInfo: /a/username/workspace/project 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations After writing ignored file or folder //// [/a/username/workspace/project/.gitCache.d.ts] Inode:: 124 diff --git a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js index 8fa1c9d76d5c6..deaa8fb92379b 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js @@ -69,6 +69,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /wo Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/src 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/src 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/random-seed/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution @@ -192,6 +196,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {"inode":18} +/workspaces/somerepo: *new* + {"inode":2} /workspaces/somerepo/node_modules: *new* {"inode":6} /workspaces/somerepo/node_modules/@types: *new* @@ -341,6 +347,9 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /worksp Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /workspaces/somerepo/node_modules :: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /workspaces/somerepo/node_modules :: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /workspaces/somerepo/node_modules :: WatchInfo: /workspaces/somerepo 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /workspaces/somerepo/node_modules :: WatchInfo: /workspaces/somerepo 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Before request //// [/workspaces/somerepo/node_modules/@types/random-seed/index.d.ts] deleted @@ -365,6 +374,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"inode":18} +/workspaces/somerepo: + {"inode":2} /workspaces/somerepo/src: {"inode":3} /workspaces/somerepo/src/tsconfig.json: @@ -382,7 +393,7 @@ Timeout callback:: count: 4 13: /workspaces/somerepo/src/tsconfig.json *new* 14: *ensureProjectForOpenFiles* *new* 16: timerToUpdateChildWatches *new* -17: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* +18: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /workspaces/somerepo/src/tsconfig.json (Configured) *changed* @@ -425,17 +436,17 @@ Timeout callback:: count: 5 13: /workspaces/somerepo/src/tsconfig.json 14: *ensureProjectForOpenFiles* 16: timerToUpdateChildWatches -17: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation -18: checkOne *new* +18: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation +19: checkOne *new* Before running Timeout callback:: count: 5 13: /workspaces/somerepo/src/tsconfig.json 14: *ensureProjectForOpenFiles* 16: timerToUpdateChildWatches -17: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation -18: checkOne +18: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation +19: checkOne -Invoking Timeout callback:: timeoutId:: 18:: checkOne +Invoking Timeout callback:: timeoutId:: 19:: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /workspaces/somerepo/node_modules/@types/random-seed/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /workspaces/somerepo/node_modules/@types/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution @@ -489,13 +500,15 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"inode":18} +/workspaces/somerepo: + {"inode":2} /workspaces/somerepo/src: {"inode":3} /workspaces/somerepo/src/tsconfig.json: {"inode":4} Timeout callback:: count: 3 -17: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* +18: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* 13: /workspaces/somerepo/src/tsconfig.json 14: *ensureProjectForOpenFiles* 16: timerToUpdateChildWatches @@ -643,9 +656,9 @@ Info seq [hh:mm:ss:mss] sysLog:: Elapsed:: *ms:: onTimerToUpdateChildWatches:: After running Timeout callback:: count: 3 Timeout callback:: count: 3 -25: /workspaces/somerepo/src/tsconfig.json *new* -26: *ensureProjectForOpenFiles* *new* -27: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* +26: /workspaces/somerepo/src/tsconfig.json *new* +27: *ensureProjectForOpenFiles* *new* +28: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /workspaces/somerepo/src/tsconfig.json (Configured) *changed* @@ -653,6 +666,9 @@ Projects:: projectProgramVersion: 2 dirty: true *changed* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /workspaces/somerepo/node_modules :: WatchInfo: /workspaces/somerepo 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Scheduled: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /workspaces/somerepo/node_modules :: WatchInfo: /workspaces/somerepo 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Before request //// [/workspaces/somerepo/node_modules/@types/random-seed/index.d.ts] Inode:: 121 export function randomSeed(): string; @@ -673,6 +689,8 @@ PolledWatches *deleted*:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"inode":18} +/workspaces/somerepo: + {"inode":2} /workspaces/somerepo/node_modules: *new* {"inode":118} /workspaces/somerepo/node_modules/@types: *new* @@ -683,10 +701,11 @@ FsWatches:: {"inode":4} Timeout callback:: count: 4 -25: /workspaces/somerepo/src/tsconfig.json -26: *ensureProjectForOpenFiles* -27: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation -33: timerToUpdateChildWatches *new* +28: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* +26: /workspaces/somerepo/src/tsconfig.json +27: *ensureProjectForOpenFiles* +31: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* +35: timerToUpdateChildWatches *new* Info seq [hh:mm:ss:mss] request: { @@ -703,20 +722,20 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 5 -25: /workspaces/somerepo/src/tsconfig.json -26: *ensureProjectForOpenFiles* -27: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation -33: timerToUpdateChildWatches -34: checkOne *new* +26: /workspaces/somerepo/src/tsconfig.json +27: *ensureProjectForOpenFiles* +31: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation +35: timerToUpdateChildWatches +36: checkOne *new* Before running Timeout callback:: count: 5 -25: /workspaces/somerepo/src/tsconfig.json -26: *ensureProjectForOpenFiles* -27: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation -33: timerToUpdateChildWatches -34: checkOne +26: /workspaces/somerepo/src/tsconfig.json +27: *ensureProjectForOpenFiles* +31: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation +35: timerToUpdateChildWatches +36: checkOne -Invoking Timeout callback:: timeoutId:: 34:: checkOne +Invoking Timeout callback:: timeoutId:: 36:: checkOne Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/random-seed/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution @@ -769,6 +788,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"inode":18} +/workspaces/somerepo: + {"inode":2} /workspaces/somerepo/node_modules: {"inode":118} /workspaces/somerepo/node_modules/@types: @@ -779,11 +800,11 @@ FsWatches:: {"inode":4} Timeout callback:: count: 3 -26: *ensureProjectForOpenFiles* *deleted* -27: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* -25: /workspaces/somerepo/src/tsconfig.json -33: timerToUpdateChildWatches -35: *ensureProjectForOpenFiles* *new* +27: *ensureProjectForOpenFiles* *deleted* +31: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* +26: /workspaces/somerepo/src/tsconfig.json +35: timerToUpdateChildWatches +37: *ensureProjectForOpenFiles* *new* Immedidate callback:: count: 1 5: semanticCheck *new* @@ -864,9 +885,9 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Before running Timeout callback:: count: 3 -25: /workspaces/somerepo/src/tsconfig.json -33: timerToUpdateChildWatches -35: *ensureProjectForOpenFiles* +26: /workspaces/somerepo/src/tsconfig.json +35: timerToUpdateChildWatches +37: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /workspaces/somerepo/src/tsconfig.json Info seq [hh:mm:ss:mss] sysLog:: onTimerToUpdateChildWatches:: 2 @@ -901,6 +922,8 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: {"inode":18} +/workspaces/somerepo: + {"inode":2} /workspaces/somerepo/node_modules: {"inode":118} /workspaces/somerepo/node_modules/@types: @@ -913,10 +936,10 @@ FsWatches:: {"inode":4} Timeout callback:: count: 3 -35: *ensureProjectForOpenFiles* *deleted* -37: /workspaces/somerepo/src/tsconfig.json *new* -38: *ensureProjectForOpenFiles* *new* -39: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* +37: *ensureProjectForOpenFiles* *deleted* +39: /workspaces/somerepo/src/tsconfig.json *new* +40: *ensureProjectForOpenFiles* *new* +41: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /workspaces/somerepo/src/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js index 6337a9c08a0f0..2ae326d9bffc5 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js @@ -65,8 +65,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 500 undefined WatchType: Closed Script info @@ -179,8 +177,6 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/tsconfig.json: *new* - {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js index 3fd3250b78894..048740d88a1c7 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js @@ -86,6 +86,10 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -208,6 +212,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/tsconfig.json: *new* {} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js index 6a493fe1594f4..fc1bca29e490c 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js @@ -112,6 +112,10 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution @@ -234,6 +238,10 @@ PolledWatches:: FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} +/user/username/projects: *new* + {} +/user/username/projects/myproject: *new* + {} /user/username/projects/myproject/tsconfig.json: *new* {} diff --git a/tests/baselines/reference/typeReferenceDirectives10.trace.json b/tests/baselines/reference/typeReferenceDirectives10.trace.json index 207c83eb07ac2..595bb3b7f4068 100644 --- a/tests/baselines/reference/typeReferenceDirectives10.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives10.trace.json @@ -7,8 +7,9 @@ "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", "======== Resolving module './ref' from '/app.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/ref', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/ref', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/ref.ts' does not exist.", "File '/ref.tsx' does not exist.", "File '/ref.d.ts' exists - use it as a name resolution result.", diff --git a/tests/baselines/reference/typeReferenceDirectives11.trace.json b/tests/baselines/reference/typeReferenceDirectives11.trace.json index 8808f1f82d363..15cf209d6560c 100644 --- a/tests/baselines/reference/typeReferenceDirectives11.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives11.trace.json @@ -1,7 +1,8 @@ [ "======== Resolving module './mod1' from '/mod2.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/mod1', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/mod1', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/mod1.ts' exists - use it as a name resolution result.", "======== Module name './mod1' was successfully resolved to '/mod1.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts', root directory '/types'. ========", diff --git a/tests/baselines/reference/typeReferenceDirectives12.trace.json b/tests/baselines/reference/typeReferenceDirectives12.trace.json index e5d424d1a27ea..a4ae8a424f773 100644 --- a/tests/baselines/reference/typeReferenceDirectives12.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives12.trace.json @@ -1,12 +1,14 @@ [ "======== Resolving module './main' from '/mod2.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/main', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/main', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/main.ts' exists - use it as a name resolution result.", "======== Module name './main' was successfully resolved to '/main.ts'. ========", "======== Resolving module './mod1' from '/mod2.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/mod1', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/mod1', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/mod1.ts' exists - use it as a name resolution result.", "======== Module name './mod1' was successfully resolved to '/mod1.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/mod1.ts', root directory '/types'. ========", diff --git a/tests/baselines/reference/typeReferenceDirectives13.trace.json b/tests/baselines/reference/typeReferenceDirectives13.trace.json index 207c83eb07ac2..595bb3b7f4068 100644 --- a/tests/baselines/reference/typeReferenceDirectives13.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives13.trace.json @@ -7,8 +7,9 @@ "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", "======== Resolving module './ref' from '/app.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/ref', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/ref', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/ref.ts' does not exist.", "File '/ref.tsx' does not exist.", "File '/ref.d.ts' exists - use it as a name resolution result.", diff --git a/tests/baselines/reference/typeReferenceDirectives5.trace.json b/tests/baselines/reference/typeReferenceDirectives5.trace.json index 207c83eb07ac2..595bb3b7f4068 100644 --- a/tests/baselines/reference/typeReferenceDirectives5.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives5.trace.json @@ -7,8 +7,9 @@ "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", "======== Resolving module './ref' from '/app.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/ref', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/ref', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/ref.ts' does not exist.", "File '/ref.tsx' does not exist.", "File '/ref.d.ts' exists - use it as a name resolution result.", diff --git a/tests/baselines/reference/typeReferenceDirectives8.trace.json b/tests/baselines/reference/typeReferenceDirectives8.trace.json index 8808f1f82d363..15cf209d6560c 100644 --- a/tests/baselines/reference/typeReferenceDirectives8.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives8.trace.json @@ -1,7 +1,8 @@ [ "======== Resolving module './mod1' from '/mod2.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/mod1', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/mod1', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/mod1.ts' exists - use it as a name resolution result.", "======== Module name './mod1' was successfully resolved to '/mod1.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts', root directory '/types'. ========", diff --git a/tests/baselines/reference/typeReferenceDirectives9.trace.json b/tests/baselines/reference/typeReferenceDirectives9.trace.json index e5d424d1a27ea..a4ae8a424f773 100644 --- a/tests/baselines/reference/typeReferenceDirectives9.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives9.trace.json @@ -1,12 +1,14 @@ [ "======== Resolving module './main' from '/mod2.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/main', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/main', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/main.ts' exists - use it as a name resolution result.", "======== Module name './main' was successfully resolved to '/main.ts'. ========", "======== Resolving module './mod1' from '/mod2.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/mod1', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/mod1', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/mod1.ts' exists - use it as a name resolution result.", "======== Module name './mod1' was successfully resolved to '/mod1.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/mod1.ts', root directory '/types'. ========", diff --git a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json index c83d07a57957a..3201c27c2572b 100644 --- a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json +++ b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json @@ -1,7 +1,11 @@ [ "======== Resolving module 'xyz' from '/foo/bar/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'xyz' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/foo/bar/package.json' does not exist.", + "File '/foo/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'xyz' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/foo/bar/node_modules' does not exist, skipping all lookups in it.", "File '/foo/node_modules/xyz.ts' does not exist.", @@ -12,8 +16,7 @@ "File '/node_modules/xyz.tsx' does not exist.", "File '/node_modules/xyz.d.ts' does not exist.", "File '/node_modules/@types/xyz.d.ts' does not exist.", - "Loading module 'xyz' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "Directory '/foo/bar/node_modules' does not exist, skipping all lookups in it.", "File '/foo/node_modules/xyz.js' does not exist.", "File '/foo/node_modules/xyz.jsx' does not exist.", @@ -21,8 +24,12 @@ "File '/node_modules/xyz.jsx' does not exist.", "======== Module name 'xyz' was not resolved. ========", "======== Resolving module 'pdq' from '/foo/bar/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'pdq' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/foo/bar/package.json' does not exist according to earlier cached lookups.", + "File '/foo/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'pdq' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/foo/bar/node_modules' does not exist, skipping all lookups in it.", "File '/foo/node_modules/pdq.ts' does not exist.", @@ -33,8 +40,7 @@ "File '/node_modules/pdq.tsx' does not exist.", "File '/node_modules/pdq.d.ts' does not exist.", "File '/node_modules/@types/pdq.d.ts' does not exist.", - "Loading module 'pdq' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "Directory '/foo/bar/node_modules' does not exist, skipping all lookups in it.", "File '/foo/node_modules/pdq.js' does not exist.", "File '/foo/node_modules/pdq.jsx' does not exist.", @@ -42,8 +48,12 @@ "File '/node_modules/pdq.jsx' does not exist.", "======== Module name 'pdq' was not resolved. ========", "======== Resolving module 'abc' from '/foo/bar/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'abc' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/foo/bar/package.json' does not exist according to earlier cached lookups.", + "File '/foo/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'abc' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/foo/bar/node_modules' does not exist, skipping all lookups in it.", "File '/foo/node_modules/abc.ts' does not exist.", @@ -54,8 +64,7 @@ "File '/node_modules/abc.tsx' does not exist.", "File '/node_modules/abc.d.ts' does not exist.", "File '/node_modules/@types/abc.d.ts' does not exist.", - "Loading module 'abc' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "Directory '/foo/bar/node_modules' does not exist, skipping all lookups in it.", "File '/foo/node_modules/abc.js' does not exist.", "File '/foo/node_modules/abc.jsx' does not exist.", @@ -86,8 +95,8 @@ "File '/foo/node_modules/@types/grumpy/package.json' does not exist according to earlier cached lookups.", "File '/foo/node_modules/@types/package.json' does not exist.", "File '/foo/node_modules/package.json' does not exist.", - "File '/foo/package.json' does not exist.", - "File '/package.json' does not exist.", + "File '/foo/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "File '/foo/node_modules/@types/sneezy/package.json' does not exist according to earlier cached lookups.", "File '/foo/node_modules/@types/package.json' does not exist according to earlier cached lookups.", "File '/foo/node_modules/package.json' does not exist according to earlier cached lookups.", diff --git a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json index 092fc72833567..a37f076c98d95 100644 --- a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json +++ b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json @@ -1,15 +1,17 @@ [ "======== Resolving module 'xyz' from '/src/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'xyz' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/src/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'xyz' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "File '/node_modules/xyz.ts' does not exist.", "File '/node_modules/xyz.tsx' does not exist.", "File '/node_modules/xyz.d.ts' does not exist.", "File '/node_modules/@types/xyz.d.ts' does not exist.", - "Loading module 'xyz' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "File '/node_modules/xyz.js' does not exist.", "File '/node_modules/xyz.jsx' does not exist.", @@ -24,7 +26,7 @@ "File '/node_modules/@types/foo/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@types/package.json' does not exist.", "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/typesVersions.ambientModules.trace.json b/tests/baselines/reference/typesVersions.ambientModules.trace.json index 0d23b9523eb26..23739149440ba 100644 --- a/tests/baselines/reference/typesVersions.ambientModules.trace.json +++ b/tests/baselines/reference/typesVersions.ambientModules.trace.json @@ -1,7 +1,10 @@ [ "======== Resolving module 'ext' from '/.src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/.src/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/.src/node_modules/ext/package.json'.", "File '/.src/node_modules/ext.ts' does not exist.", @@ -21,8 +24,11 @@ "Resolving real path for '/.src/node_modules/ext/ts3.1/index.d.ts', result '/.src/node_modules/ext/ts3.1/index.d.ts'.", "======== Module name 'ext' was successfully resolved to '/.src/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/ts3.1/index.d.ts@1.0.0'. ========", "======== Resolving module 'ext/other' from '/.src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/.src/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'other'.", @@ -37,8 +43,7 @@ "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/other/ts3.1/index', target file types: TypeScript, Declaration.", "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Loading module 'ext/other' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'other'.", "Module name 'other', matched pattern '*'.", @@ -48,23 +53,7 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/other/ts3.1/index', target file types: JavaScript.", - "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", - "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", - "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'other'.", - "Module name 'other', matched pattern '*'.", - "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/other'.", - "File '/.src/node_modules/ext/ts3.1/other.ts' does not exist.", - "File '/.src/node_modules/ext/ts3.1/other.tsx' does not exist.", - "File '/.src/node_modules/ext/ts3.1/other.d.ts' does not exist.", - "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", - "Module name 'index', matched pattern '*'.", - "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/other/ts3.1/index', target file types: TypeScript, Declaration.", - "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", + "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/other/ts3.1/index', target file types: JavaScript, JSON.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'ext/other' was not resolved. ========", "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", diff --git a/tests/baselines/reference/typesVersions.emptyTypes.trace.json b/tests/baselines/reference/typesVersions.emptyTypes.trace.json index b394e2fc60c37..6b3ec94e5cd3c 100644 --- a/tests/baselines/reference/typesVersions.emptyTypes.trace.json +++ b/tests/baselines/reference/typesVersions.emptyTypes.trace.json @@ -1,12 +1,15 @@ [ "======== Resolving module 'a' from '/b/user.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'a'.", "Resolving module name 'a' relative to base url '/' - '/a'.", - "Loading module as file / folder, candidate module location '/a', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/a', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/a.ts' does not exist.", "File '/a.tsx' does not exist.", "File '/a.d.ts' does not exist.", + "File '/a.js' does not exist.", + "File '/a.jsx' does not exist.", "Found 'package.json' at '/a/package.json'.", "'package.json' has a 'typesVersions' field with version-specific path mappings.", "'package.json' does not have a 'typings' field.", @@ -15,7 +18,7 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "Loading module as file / folder, candidate module location '/a/ts3.1/index', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/a/ts3.1/index', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/a/ts3.1/index.ts' does not exist.", "File '/a/ts3.1/index.tsx' does not exist.", "File '/a/ts3.1/index.d.ts' exists - use it as a name resolution result.", diff --git a/tests/baselines/reference/typesVersions.justIndex.trace.json b/tests/baselines/reference/typesVersions.justIndex.trace.json index 353a383c4ed17..0598d356b3cc2 100644 --- a/tests/baselines/reference/typesVersions.justIndex.trace.json +++ b/tests/baselines/reference/typesVersions.justIndex.trace.json @@ -1,12 +1,15 @@ [ "======== Resolving module 'a' from '/b/user.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'a'.", "Resolving module name 'a' relative to base url '/' - '/a'.", - "Loading module as file / folder, candidate module location '/a', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/a', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/a.ts' does not exist.", "File '/a.tsx' does not exist.", "File '/a.d.ts' does not exist.", + "File '/a.js' does not exist.", + "File '/a.jsx' does not exist.", "Found 'package.json' at '/a/package.json'.", "'package.json' has a 'typesVersions' field with version-specific path mappings.", "'package.json' does not have a 'typings' field.", @@ -15,7 +18,7 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "Loading module as file / folder, candidate module location '/a/ts3.1/index', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/a/ts3.1/index', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/a/ts3.1/index.ts' does not exist.", "File '/a/ts3.1/index.tsx' does not exist.", "File '/a/ts3.1/index.d.ts' exists - use it as a name resolution result.", diff --git a/tests/baselines/reference/typesVersions.multiFile.trace.json b/tests/baselines/reference/typesVersions.multiFile.trace.json index 1d6cac7b66216..d9daec17cfbb0 100644 --- a/tests/baselines/reference/typesVersions.multiFile.trace.json +++ b/tests/baselines/reference/typesVersions.multiFile.trace.json @@ -1,7 +1,10 @@ [ "======== Resolving module 'ext' from '/.src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/.src/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/.src/node_modules/ext/package.json'.", "File '/.src/node_modules/ext.ts' does not exist.", @@ -21,8 +24,11 @@ "Resolving real path for '/.src/node_modules/ext/ts3.1/index.d.ts', result '/.src/node_modules/ext/ts3.1/index.d.ts'.", "======== Module name 'ext' was successfully resolved to '/.src/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/ts3.1/index.d.ts@1.0.0'. ========", "======== Resolving module 'ext/other' from '/.src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/.src/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'other'.", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json index 0d23b9523eb26..23739149440ba 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json @@ -1,7 +1,10 @@ [ "======== Resolving module 'ext' from '/.src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/.src/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/.src/node_modules/ext/package.json'.", "File '/.src/node_modules/ext.ts' does not exist.", @@ -21,8 +24,11 @@ "Resolving real path for '/.src/node_modules/ext/ts3.1/index.d.ts', result '/.src/node_modules/ext/ts3.1/index.d.ts'.", "======== Module name 'ext' was successfully resolved to '/.src/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/ts3.1/index.d.ts@1.0.0'. ========", "======== Resolving module 'ext/other' from '/.src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/.src/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'other'.", @@ -37,8 +43,7 @@ "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/other/ts3.1/index', target file types: TypeScript, Declaration.", "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Loading module 'ext/other' from 'node_modules' folder, target file types: JavaScript.", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'other'.", "Module name 'other', matched pattern '*'.", @@ -48,23 +53,7 @@ "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/other/ts3.1/index', target file types: JavaScript.", - "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", - "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", - "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'other'.", - "Module name 'other', matched pattern '*'.", - "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/other'.", - "File '/.src/node_modules/ext/ts3.1/other.ts' does not exist.", - "File '/.src/node_modules/ext/ts3.1/other.tsx' does not exist.", - "File '/.src/node_modules/ext/ts3.1/other.d.ts' does not exist.", - "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", - "Module name 'index', matched pattern '*'.", - "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/other/ts3.1/index', target file types: TypeScript, Declaration.", - "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", + "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/other/ts3.1/index', target file types: JavaScript, JSON.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'ext/other' was not resolved. ========", "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json index 1d6cac7b66216..d9daec17cfbb0 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json @@ -1,7 +1,10 @@ [ "======== Resolving module 'ext' from '/.src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/.src/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/.src/node_modules/ext/package.json'.", "File '/.src/node_modules/ext.ts' does not exist.", @@ -21,8 +24,11 @@ "Resolving real path for '/.src/node_modules/ext/ts3.1/index.d.ts', result '/.src/node_modules/ext/ts3.1/index.d.ts'.", "======== Module name 'ext' was successfully resolved to '/.src/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/ts3.1/index.d.ts@1.0.0'. ========", "======== Resolving module 'ext/other' from '/.src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/.src/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'other'.", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json index 8bc55028057d4..0905a39807bd7 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json @@ -1,7 +1,10 @@ [ "======== Resolving module 'ext' from '/.src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/.src/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/.src/node_modules/ext/package.json'.", "File '/.src/node_modules/ext.ts' does not exist.", @@ -21,8 +24,11 @@ "Resolving real path for '/.src/node_modules/ext/ts3.1/index.d.ts', result '/.src/node_modules/ext/ts3.1/index.d.ts'.", "======== Module name 'ext' was successfully resolved to '/.src/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/ts3.1/index.d.ts@1.0.0'. ========", "======== Resolving module 'ext/other' from '/.src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/.src/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'other'.", @@ -36,15 +42,16 @@ "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '../' from '/.src/node_modules/ext/ts3.1/index.d.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/.src/node_modules/ext/', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/.src/node_modules/ext/', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "'package.json' does not have a 'typings' field.", "'package.json' has 'types' field 'index' that references '/.src/node_modules/ext/index'.", "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.", "Module name 'index', matched pattern '*'.", "Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.", - "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.", + "Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.", "File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.", "File '/.src/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.", @@ -52,8 +59,9 @@ "File '/.src/node_modules/ext/ts3.1/package.json' does not exist according to earlier cached lookups.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '../other' from '/.src/node_modules/ext/ts3.1/other.d.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/.src/node_modules/ext/other', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/.src/node_modules/ext/other', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/.src/node_modules/ext/other.ts' does not exist.", "File '/.src/node_modules/ext/other.tsx' does not exist.", "File '/.src/node_modules/ext/other.d.ts' exists - use it as a name resolution result.", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json index fd40775d0240c..c9e983297569f 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json @@ -1,7 +1,10 @@ [ "======== Resolving module 'ext' from '/.src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/.src/package.json' does not exist.", + "File '/package.json' does not exist.", + "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/.src/node_modules/ext/package.json'.", "File '/.src/node_modules/ext.ts' does not exist.", @@ -21,8 +24,11 @@ "Resolving real path for '/.src/node_modules/ext/ts3.1/index.d.ts', result '/.src/node_modules/ext/ts3.1/index.d.ts'.", "======== Module name 'ext' was successfully resolved to '/.src/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/ts3.1/index.d.ts@1.0.0'. ========", "======== Resolving module 'ext/other' from '/.src/main.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/.src/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'ext/other' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'other'.", @@ -34,8 +40,9 @@ "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '../other' from '/.src/node_modules/ext/ts3.1/index.d.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module as file / folder, candidate module location '/.src/node_modules/ext/other', target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "Loading module as file / folder, candidate module location '/.src/node_modules/ext/other', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/.src/node_modules/ext/other.ts' does not exist.", "File '/.src/node_modules/ext/other.tsx' does not exist.", "File '/.src/node_modules/ext/other.d.ts' exists - use it as a name resolution result.", diff --git a/tests/baselines/reference/typingsLookup4.trace.json b/tests/baselines/reference/typingsLookup4.trace.json index 46540025b1d44..170dd3c9e28e1 100644 --- a/tests/baselines/reference/typingsLookup4.trace.json +++ b/tests/baselines/reference/typingsLookup4.trace.json @@ -1,7 +1,9 @@ [ "======== Resolving module 'jquery' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'jquery' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'jquery' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/jquery.ts' does not exist.", "File '/node_modules/jquery.tsx' does not exist.", @@ -14,8 +16,10 @@ "Resolving real path for '/node_modules/@types/jquery/jquery.d.ts', result '/node_modules/@types/jquery/jquery.d.ts'.", "======== Module name 'jquery' was successfully resolved to '/node_modules/@types/jquery/jquery.d.ts'. ========", "======== Resolving module 'kquery' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'kquery' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'kquery' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/kquery.ts' does not exist.", "File '/node_modules/kquery.tsx' does not exist.", @@ -31,8 +35,10 @@ "Resolving real path for '/node_modules/@types/kquery/kquery.d.ts', result '/node_modules/@types/kquery/kquery.d.ts'.", "======== Module name 'kquery' was successfully resolved to '/node_modules/@types/kquery/kquery.d.ts'. ========", "======== Resolving module 'lquery' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'lquery' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'lquery' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/lquery.ts' does not exist.", "File '/node_modules/lquery.tsx' does not exist.", @@ -46,8 +52,10 @@ "Resolving real path for '/node_modules/@types/lquery/lquery.ts', result '/node_modules/@types/lquery/lquery.ts'.", "======== Module name 'lquery' was successfully resolved to '/node_modules/@types/lquery/lquery.ts'. ========", "======== Resolving module 'mquery' from '/a.ts'. ========", - "Module resolution kind is not specified, using 'Node10'.", - "Loading module 'mquery' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Module resolution kind is not specified, using 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'mquery' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/mquery.ts' does not exist.", "File '/node_modules/mquery.tsx' does not exist.", diff --git a/tests/baselines/reference/untypedModuleImport_allowJs.errors.txt b/tests/baselines/reference/untypedModuleImport_allowJs.errors.txt new file mode 100644 index 0000000000000..09f1fbd26823c --- /dev/null +++ b/tests/baselines/reference/untypedModuleImport_allowJs.errors.txt @@ -0,0 +1,12 @@ +/a.ts(2,5): error TS2339: Property 'bar' does not exist on type 'typeof import("/node_modules/foo/index")'. + + +==== /a.ts (1 errors) ==== + import foo from "foo"; + foo.bar(); + ~~~ +!!! error TS2339: Property 'bar' does not exist on type 'typeof import("/node_modules/foo/index")'. + +==== /node_modules/foo/index.js (0 errors) ==== + exports.default = { bar() { return 0; } } + \ No newline at end of file diff --git a/tests/baselines/reference/untypedModuleImport_allowJs.symbols b/tests/baselines/reference/untypedModuleImport_allowJs.symbols index 0c9665a5affc8..7b4357e394a6b 100644 --- a/tests/baselines/reference/untypedModuleImport_allowJs.symbols +++ b/tests/baselines/reference/untypedModuleImport_allowJs.symbols @@ -5,9 +5,7 @@ import foo from "foo"; >foo : Symbol(foo, Decl(a.ts, 0, 6)) foo.bar(); ->foo.bar : Symbol(bar, Decl(index.js, 0, 19)) >foo : Symbol(foo, Decl(a.ts, 0, 6)) ->bar : Symbol(bar, Decl(index.js, 0, 19)) === /node_modules/foo/index.js === exports.default = { bar() { return 0; } } diff --git a/tests/baselines/reference/untypedModuleImport_allowJs.types b/tests/baselines/reference/untypedModuleImport_allowJs.types index 93db7334e9227..547a9b710fcbd 100644 --- a/tests/baselines/reference/untypedModuleImport_allowJs.types +++ b/tests/baselines/reference/untypedModuleImport_allowJs.types @@ -2,18 +2,18 @@ === /a.ts === import foo from "foo"; ->foo : { bar(): number; } -> : ^^^^^^^^^^^^^^^^^^ +>foo : typeof foo +> : ^^^^^^^^^^ foo.bar(); ->foo.bar() : number -> : ^^^^^^ ->foo.bar : () => number -> : ^^^^^^^^^^^^ ->foo : { bar(): number; } -> : ^^^^^^^^^^^^^^^^^^ ->bar : () => number -> : ^^^^^^^^^^^^ +>foo.bar() : any +> : ^^^ +>foo.bar : any +> : ^^^ +>foo : typeof foo +> : ^^^^^^^^^^ +>bar : any +> : ^^^ === /node_modules/foo/index.js === exports.default = { bar() { return 0; } } diff --git a/tests/baselines/reference/verbatimModuleSyntaxRestrictionsESM(esmoduleinterop=false).errors.txt b/tests/baselines/reference/verbatimModuleSyntaxRestrictionsESM(esmoduleinterop=false).errors.txt index d1ba579ac516d..906193198aeca 100644 --- a/tests/baselines/reference/verbatimModuleSyntaxRestrictionsESM(esmoduleinterop=false).errors.txt +++ b/tests/baselines/reference/verbatimModuleSyntaxRestrictionsESM(esmoduleinterop=false).errors.txt @@ -1,5 +1,4 @@ /main.ts(1,1): error TS1202: Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead. -/main.ts(3,8): error TS1259: Module '"/decl"' can only be default-imported using the 'allowSyntheticDefaultImports' flag ==== /decl.d.ts (0 errors) ==== @@ -16,15 +15,12 @@ interface Typey {} export type { Typey }; -==== /main.ts (2 errors) ==== +==== /main.ts (1 errors) ==== import CJSy = require("./decl"); // error ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ !!! error TS1202: Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead. import type CJSy2 = require("./decl"); // ok I guess? import CJSy3 from "./decl"; // ok in esModuleInterop - ~~~~~ -!!! error TS1259: Module '"/decl"' can only be default-imported using the 'allowSyntheticDefaultImports' flag -!!! related TS2594 /decl.d.ts:2:1: This module is declared with 'export =', and can only be used with a default import when using the 'allowSyntheticDefaultImports' flag. import * as types from "./types"; // ok CJSy; diff --git a/tests/baselines/reference/verbatimModuleSyntaxRestrictionsESM(esmoduleinterop=false).types b/tests/baselines/reference/verbatimModuleSyntaxRestrictionsESM(esmoduleinterop=false).types index cc26d9c14a622..28034284dc484 100644 --- a/tests/baselines/reference/verbatimModuleSyntaxRestrictionsESM(esmoduleinterop=false).types +++ b/tests/baselines/reference/verbatimModuleSyntaxRestrictionsESM(esmoduleinterop=false).types @@ -39,8 +39,8 @@ import type CJSy2 = require("./decl"); // ok I guess? > : ^^^^^^^^^^^ import CJSy3 from "./decl"; // ok in esModuleInterop ->CJSy3 : any -> : ^^^ +>CJSy3 : typeof CJSy +> : ^^^^^^^^^^^ import * as types from "./types"; // ok >types : typeof types diff --git a/tests/cases/compiler/bundledDtsLateExportRenaming.ts b/tests/cases/compiler/bundledDtsLateExportRenaming.ts index cc9f16f1f805e..b034a1be5a1c7 100644 --- a/tests/cases/compiler/bundledDtsLateExportRenaming.ts +++ b/tests/cases/compiler/bundledDtsLateExportRenaming.ts @@ -1,6 +1,6 @@ // @module: commonjs // @declaration: true -// @moduleResolution: node +// @moduleResolution: bundler // @emitDeclarationOnly: true // @outFile: ./dist/out.d.ts diff --git a/tests/cases/compiler/cachedModuleResolution1.ts b/tests/cases/compiler/cachedModuleResolution1.ts index 2e8be93fdf37b..06714fce288bd 100644 --- a/tests/cases/compiler/cachedModuleResolution1.ts +++ b/tests/cases/compiler/cachedModuleResolution1.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node +// @moduleResolution: bundler // @traceResolution: true // @filename: /a/b/node_modules/foo.d.ts diff --git a/tests/cases/compiler/cachedModuleResolution2.ts b/tests/cases/compiler/cachedModuleResolution2.ts index 38aaf4e609df3..5441132abd24f 100644 --- a/tests/cases/compiler/cachedModuleResolution2.ts +++ b/tests/cases/compiler/cachedModuleResolution2.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node +// @moduleResolution: bundler // @traceResolution: true // @filename: /a/b/node_modules/foo.d.ts diff --git a/tests/cases/compiler/cachedModuleResolution5.ts b/tests/cases/compiler/cachedModuleResolution5.ts index 721ee2d4934c8..15b667ecb5975 100644 --- a/tests/cases/compiler/cachedModuleResolution5.ts +++ b/tests/cases/compiler/cachedModuleResolution5.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node +// @moduleResolution: bundler // @traceResolution: true // @filename: /a/b/node_modules/foo.d.ts diff --git a/tests/cases/compiler/cachedModuleResolution6.ts b/tests/cases/compiler/cachedModuleResolution6.ts index 2c412e361c6c5..8856226314676 100644 --- a/tests/cases/compiler/cachedModuleResolution6.ts +++ b/tests/cases/compiler/cachedModuleResolution6.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node +// @moduleResolution: bundler // @traceResolution: true // @filename: /a/b/c/d/e/app.ts diff --git a/tests/cases/compiler/cachedModuleResolution7.ts b/tests/cases/compiler/cachedModuleResolution7.ts index d297e2a8ecd63..5bc9d5c485b51 100644 --- a/tests/cases/compiler/cachedModuleResolution7.ts +++ b/tests/cases/compiler/cachedModuleResolution7.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node +// @moduleResolution: bundler // @traceResolution: true // @filename: /a/b/c/lib.ts diff --git a/tests/cases/compiler/checkerInitializationCrash.ts b/tests/cases/compiler/checkerInitializationCrash.ts index 969f81e6d354a..8270ac5da73df 100644 --- a/tests/cases/compiler/checkerInitializationCrash.ts +++ b/tests/cases/compiler/checkerInitializationCrash.ts @@ -1,5 +1,5 @@ // @module: esnext -// @moduleResolution: node +// @moduleResolution: bundler // @esModuleInterop: true // @Filename: /node_modules/@fullcalendar/react/index.d.ts diff --git a/tests/cases/compiler/commonSourceDir5.ts b/tests/cases/compiler/commonSourceDir5.ts index 7f5239976e879..d21fa6ece08d6 100644 --- a/tests/cases/compiler/commonSourceDir5.ts +++ b/tests/cases/compiler/commonSourceDir5.ts @@ -1,7 +1,6 @@ // @outFile: concat.js // @module: amd -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: A:/bar.ts import {z} from "./foo"; export var x = z + z; diff --git a/tests/cases/compiler/commonSourceDirectory.ts b/tests/cases/compiler/commonSourceDirectory.ts index f54ff09839a75..45d2f86dc1702 100644 --- a/tests/cases/compiler/commonSourceDirectory.ts +++ b/tests/cases/compiler/commonSourceDirectory.ts @@ -1,6 +1,6 @@ // Test that importing a file from `node_modules` does not affect calculation of the common source directory. // @noImplicitReferences: true -// @moduleResolution: node +// @moduleResolution: bundler // @fullEmitPaths: true // @filename: /node_modules/foo/index.ts diff --git a/tests/cases/compiler/commonSourceDirectory_dts.ts b/tests/cases/compiler/commonSourceDirectory_dts.ts index 2e704daca1c6d..5027b5c4c1c80 100644 --- a/tests/cases/compiler/commonSourceDirectory_dts.ts +++ b/tests/cases/compiler/commonSourceDirectory_dts.ts @@ -1,6 +1,6 @@ // Test that importing a file from `node_modules` does not affect calculation of the common source directory. // @noImplicitReferences: true -// @moduleResolution: node +// @moduleResolution: bundler // @fullEmitPaths: true // @filename: /app/lib/bar.d.ts diff --git a/tests/cases/compiler/elidedJSImport1.ts b/tests/cases/compiler/elidedJSImport1.ts index 8709a58a8b65c..6ef5d3090bb8b 100644 --- a/tests/cases/compiler/elidedJSImport1.ts +++ b/tests/cases/compiler/elidedJSImport1.ts @@ -1,6 +1,6 @@ // @allowJs: true // @checkJs: true -// @moduleResolution: node +// @moduleResolution: bundler // @module: ES2020 // @outDir: out diff --git a/tests/cases/compiler/impliedNodeFormatInterop1.ts b/tests/cases/compiler/impliedNodeFormatInterop1.ts index c4e18c0ddc0e9..57f37bb328aa8 100644 --- a/tests/cases/compiler/impliedNodeFormatInterop1.ts +++ b/tests/cases/compiler/impliedNodeFormatInterop1.ts @@ -1,5 +1,5 @@ // @module: es2020 -// @moduleResolution: node10 +// @moduleResolution: bundler // @esModuleInterop: true // @Filename: /node_modules/highlight.js/package.json diff --git a/tests/cases/compiler/importNonExportedMember12.ts b/tests/cases/compiler/importNonExportedMember12.ts index 4c4b515fb45a3..98dbb1d5acb86 100644 --- a/tests/cases/compiler/importNonExportedMember12.ts +++ b/tests/cases/compiler/importNonExportedMember12.ts @@ -1,5 +1,5 @@ // @esModuleInterop: true -// @moduleResolution: node +// @moduleResolution: bundler // @module: es2015 // @checkJs: true // @allowJs: true diff --git a/tests/cases/compiler/importWithTrailingSlash.ts b/tests/cases/compiler/importWithTrailingSlash.ts index a5bceff8b13a0..5f2a9af5beba1 100644 --- a/tests/cases/compiler/importWithTrailingSlash.ts +++ b/tests/cases/compiler/importWithTrailingSlash.ts @@ -1,6 +1,5 @@ // @traceResolution: true -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /a.ts export default { a: 0 }; diff --git a/tests/cases/compiler/importWithTrailingSlash_noResolve.ts b/tests/cases/compiler/importWithTrailingSlash_noResolve.ts index 95541adfb114d..f36c0b713982c 100644 --- a/tests/cases/compiler/importWithTrailingSlash_noResolve.ts +++ b/tests/cases/compiler/importWithTrailingSlash_noResolve.ts @@ -1,5 +1,4 @@ // @traceResolution: true -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /a.ts import foo from "./foo/"; diff --git a/tests/cases/compiler/maxNodeModuleJsDepthDefaultsToZero.ts b/tests/cases/compiler/maxNodeModuleJsDepthDefaultsToZero.ts index 83a0d7484e55b..aa98ed47d0c68 100644 --- a/tests/cases/compiler/maxNodeModuleJsDepthDefaultsToZero.ts +++ b/tests/cases/compiler/maxNodeModuleJsDepthDefaultsToZero.ts @@ -1,5 +1,5 @@ // @module: commonjs -// @moduleResolution: node +// @moduleResolution: bundler // @allowJs: true // @traceResolution: true // @noEmit: true diff --git a/tests/cases/compiler/mergeSymbolReexportInterface.ts b/tests/cases/compiler/mergeSymbolReexportInterface.ts index 184e82eae8044..4e2428489052a 100644 --- a/tests/cases/compiler/mergeSymbolReexportInterface.ts +++ b/tests/cases/compiler/mergeSymbolReexportInterface.ts @@ -1,5 +1,4 @@ -// @moduleResolution: node - +// @moduleResolution: bundler // @filename: main.ts import {Row2, C} from '.' const x : Row2 = { } diff --git a/tests/cases/compiler/mergeSymbolReexportedTypeAliasInstantiation.ts b/tests/cases/compiler/mergeSymbolReexportedTypeAliasInstantiation.ts index 2cee6fd8df6f4..5b4a4f780894a 100644 --- a/tests/cases/compiler/mergeSymbolReexportedTypeAliasInstantiation.ts +++ b/tests/cases/compiler/mergeSymbolReexportedTypeAliasInstantiation.ts @@ -1,5 +1,4 @@ -// @moduleResolution: node - +// @moduleResolution: bundler // @filename: main.ts import {Row2, C} from '.' const x: ((rowData: Row2) => unknown) = (rowData: Row2) => (null) diff --git a/tests/cases/compiler/mergeSymbolRexportFunction.ts b/tests/cases/compiler/mergeSymbolRexportFunction.ts index 1721970bc0816..2966a20f564e2 100644 --- a/tests/cases/compiler/mergeSymbolRexportFunction.ts +++ b/tests/cases/compiler/mergeSymbolRexportFunction.ts @@ -1,5 +1,4 @@ -// @moduleResolution: node - +// @moduleResolution: bundler // @filename: main.ts import {Row} from '.' Row(); diff --git a/tests/cases/compiler/moduleDetectionIsolatedModulesCjsFileScope.ts b/tests/cases/compiler/moduleDetectionIsolatedModulesCjsFileScope.ts index 1b37d919466c1..e8fa0db773aed 100644 --- a/tests/cases/compiler/moduleDetectionIsolatedModulesCjsFileScope.ts +++ b/tests/cases/compiler/moduleDetectionIsolatedModulesCjsFileScope.ts @@ -1,7 +1,7 @@ // @target: esnext // @module: esnext // @declaration: true -// @moduleResolution: node +// @moduleResolution: bundler // @isolatedModules: true // @filename: filename.cts const a = 2; diff --git a/tests/cases/compiler/moduleResolutionWithSymlinks_preserveSymlinks.ts b/tests/cases/compiler/moduleResolutionWithSymlinks_preserveSymlinks.ts index d5509eb5e2005..e605b80a23b05 100644 --- a/tests/cases/compiler/moduleResolutionWithSymlinks_preserveSymlinks.ts +++ b/tests/cases/compiler/moduleResolutionWithSymlinks_preserveSymlinks.ts @@ -2,8 +2,7 @@ // @traceResolution: true // @preserveSymlinks: true -// @moduleResolution: node - +// @moduleResolution: bundler // @filename: /linked/index.d.ts // @symlink: /app/node_modules/linked/index.d.ts,/app/node_modules/linked2/index.d.ts export { real } from "real"; diff --git a/tests/cases/compiler/module_augmentUninstantiatedModule2.ts b/tests/cases/compiler/module_augmentUninstantiatedModule2.ts index 101e26bf85bc6..a388837758646 100644 --- a/tests/cases/compiler/module_augmentUninstantiatedModule2.ts +++ b/tests/cases/compiler/module_augmentUninstantiatedModule2.ts @@ -1,2 +1,33 @@ -// @module: commonjs // @moduleResolution: node // @fileName: app.ts import ng = require("angular"); import "./moduleAugmentation"; var x: number = ng.getNumber(); // @filename: moduleAugmentation.ts import * as ng from "angular" declare module "angular" { export interface IAngularStatic { getNumber: () => number; } } // @filename: node_modules/angular/index.d.ts -declare var ng: ng.IAngularStatic; declare module ng { export interface IModule { name: string; } export interface IAngularStatic { module: (s: string) => IModule; } } export = ng; \ No newline at end of file +// @module: commonjs +// @moduleResolution: bundler + + +// @fileName: app.ts +import ng = require("angular"); +import "./moduleAugmentation"; + +var x: number = ng.getNumber(); + +// @filename: moduleAugmentation.ts +import * as ng from "angular" +declare module "angular" { + export interface IAngularStatic { + getNumber: () => number; + } +} + +// @filename: node_modules/angular/index.d.ts +declare var ng: ng.IAngularStatic; + +declare module ng { + export interface IModule { + name: string; + } + + export interface IAngularStatic { + module: (s: string) => IModule; + } +} + +export = ng; + diff --git a/tests/cases/compiler/namespaceNotMergedWithFunctionDefaultExport.ts b/tests/cases/compiler/namespaceNotMergedWithFunctionDefaultExport.ts index ea86d2ca89ccd..f259e1c0afc7b 100644 --- a/tests/cases/compiler/namespaceNotMergedWithFunctionDefaultExport.ts +++ b/tests/cases/compiler/namespaceNotMergedWithFunctionDefaultExport.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node10 +// @moduleResolution: bundler // @module: commonjs // repro from https://github.com/microsoft/TypeScript/issues/54342 diff --git a/tests/cases/compiler/noBundledEmitFromNodeModules.ts b/tests/cases/compiler/noBundledEmitFromNodeModules.ts index 66c71a5848967..f39d5e6b147ef 100644 --- a/tests/cases/compiler/noBundledEmitFromNodeModules.ts +++ b/tests/cases/compiler/noBundledEmitFromNodeModules.ts @@ -1,6 +1,6 @@ // @outFile: out.js // @module: system -// @moduleResolution: node +// @moduleResolution: bundler // @noImplicitReferences: true // @fileName: /node_modules/projB/index.ts diff --git a/tests/cases/compiler/nodeColonModuleResolution.ts b/tests/cases/compiler/nodeColonModuleResolution.ts index e768e6ec8b66e..62645db8fc185 100644 --- a/tests/cases/compiler/nodeColonModuleResolution.ts +++ b/tests/cases/compiler/nodeColonModuleResolution.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node +// @moduleResolution: bundler // @traceResolution: true diff --git a/tests/cases/compiler/nodeColonModuleResolution2.ts b/tests/cases/compiler/nodeColonModuleResolution2.ts index 2c07f4e31d959..a5f21cdc0dcf4 100644 --- a/tests/cases/compiler/nodeColonModuleResolution2.ts +++ b/tests/cases/compiler/nodeColonModuleResolution2.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node +// @moduleResolution: bundler // @traceResolution: true diff --git a/tests/cases/compiler/nodeResolution1.ts b/tests/cases/compiler/nodeResolution1.ts index 19316ef251b5d..33c952da6f2ed 100644 --- a/tests/cases/compiler/nodeResolution1.ts +++ b/tests/cases/compiler/nodeResolution1.ts @@ -1,6 +1,5 @@ // @module: commonjs -// @moduleResolution: node - +// @moduleResolution: bundler // @filename: a.ts export var x = 1; diff --git a/tests/cases/compiler/nodeResolution2.ts b/tests/cases/compiler/nodeResolution2.ts index d03706ebeacb1..55774a3da4e81 100644 --- a/tests/cases/compiler/nodeResolution2.ts +++ b/tests/cases/compiler/nodeResolution2.ts @@ -1,6 +1,5 @@ // @module: commonjs -// @moduleResolution: node - +// @moduleResolution: bundler // @filename: node_modules/a.d.ts export var x: number; diff --git a/tests/cases/compiler/nodeResolution3.ts b/tests/cases/compiler/nodeResolution3.ts index ede8f76dbbeef..afbe410f47f2a 100644 --- a/tests/cases/compiler/nodeResolution3.ts +++ b/tests/cases/compiler/nodeResolution3.ts @@ -1,6 +1,5 @@ // @module: commonjs -// @moduleResolution: node - +// @moduleResolution: bundler // @filename: node_modules/b/index.d.ts export var x: number; diff --git a/tests/cases/compiler/nodeResolution4.ts b/tests/cases/compiler/nodeResolution4.ts index 247546c3f0cfc..39868ff504314 100644 --- a/tests/cases/compiler/nodeResolution4.ts +++ b/tests/cases/compiler/nodeResolution4.ts @@ -1,6 +1,5 @@ // @module: commonjs -// @moduleResolution: node - +// @moduleResolution: bundler // @filename: ref.ts var x = 1; diff --git a/tests/cases/compiler/nodeResolution5.ts b/tests/cases/compiler/nodeResolution5.ts index 313dabd7899ff..53d0fe990bb71 100644 --- a/tests/cases/compiler/nodeResolution5.ts +++ b/tests/cases/compiler/nodeResolution5.ts @@ -1,6 +1,5 @@ // @module: commonjs -// @moduleResolution: node - +// @moduleResolution: bundler // @filename: node_modules/a.d.ts declare module "a" { var x: number; diff --git a/tests/cases/compiler/nodeResolution6.ts b/tests/cases/compiler/nodeResolution6.ts index 3f6dc81c84780..c513c6e6d44bb 100644 --- a/tests/cases/compiler/nodeResolution6.ts +++ b/tests/cases/compiler/nodeResolution6.ts @@ -1,6 +1,5 @@ // @module: commonjs -// @moduleResolution: node - +// @moduleResolution: bundler // @filename: node_modules/ref.ts var x = 1; diff --git a/tests/cases/compiler/nodeResolution7.ts b/tests/cases/compiler/nodeResolution7.ts index b4283edb76ad3..c8a6f5f180d91 100644 --- a/tests/cases/compiler/nodeResolution7.ts +++ b/tests/cases/compiler/nodeResolution7.ts @@ -1,6 +1,5 @@ // @module: commonjs -// @moduleResolution: node - +// @moduleResolution: bundler // @filename: node_modules/a/index.d.ts declare module "a" { var x: number; diff --git a/tests/cases/compiler/nodeResolution8.ts b/tests/cases/compiler/nodeResolution8.ts index 0a6e528f20ae3..1961568239982 100644 --- a/tests/cases/compiler/nodeResolution8.ts +++ b/tests/cases/compiler/nodeResolution8.ts @@ -1,6 +1,5 @@ // @module: commonjs -// @moduleResolution: node - +// @moduleResolution: bundler // @filename: node_modules/a/ref.ts var x = 1; diff --git a/tests/cases/compiler/pathMappingBasedModuleResolution3_node.ts b/tests/cases/compiler/pathMappingBasedModuleResolution3_node.ts index 6cab1df06b064..400a3b4ea3d48 100644 --- a/tests/cases/compiler/pathMappingBasedModuleResolution3_node.ts +++ b/tests/cases/compiler/pathMappingBasedModuleResolution3_node.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node +// @moduleResolution: bundler // @module: commonjs // @baseUrl: c:/root // @traceResolution: true diff --git a/tests/cases/compiler/pathMappingBasedModuleResolution4_node.ts b/tests/cases/compiler/pathMappingBasedModuleResolution4_node.ts index cfb90ca1cc5c0..e302ca0addc78 100644 --- a/tests/cases/compiler/pathMappingBasedModuleResolution4_node.ts +++ b/tests/cases/compiler/pathMappingBasedModuleResolution4_node.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node +// @moduleResolution: bundler // @module: commonjs // @traceResolution: true diff --git a/tests/cases/compiler/pathMappingBasedModuleResolution8_node.ts b/tests/cases/compiler/pathMappingBasedModuleResolution8_node.ts index 64cf26881d8b8..5cf3b61bb44e9 100644 --- a/tests/cases/compiler/pathMappingBasedModuleResolution8_node.ts +++ b/tests/cases/compiler/pathMappingBasedModuleResolution8_node.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node +// @moduleResolution: bundler // @module: commonjs // @traceResolution: true diff --git a/tests/cases/compiler/reactImportDropped.ts b/tests/cases/compiler/reactImportDropped.ts index 0f4e9ef3aa664..7d37c5b175303 100644 --- a/tests/cases/compiler/reactImportDropped.ts +++ b/tests/cases/compiler/reactImportDropped.ts @@ -1,5 +1,5 @@ //@module: es6 -//@moduleResolution: node +// @moduleResolution: bundler //@target: es6 //@noImplicitAny: false //@allowSyntheticDefaultImports: true diff --git a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitAmd.ts b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitAmd.ts index 2f56f43a75305..383850a0c834e 100644 --- a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitAmd.ts +++ b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitAmd.ts @@ -1,5 +1,5 @@ // @module: amd -// @moduleResolution: node +// @moduleResolution: bundler // @outdir: out/ // @fullEmitPaths: true // @resolveJsonModule: true diff --git a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitAmdOutFile.ts b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitAmdOutFile.ts index 6c73015d222b7..2d157716f7b4d 100644 --- a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitAmdOutFile.ts +++ b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitAmdOutFile.ts @@ -1,5 +1,5 @@ // @module: amd -// @moduleResolution: node +// @moduleResolution: bundler // @outFile: out/output.js // @fullEmitPaths: true // @resolveJsonModule: true diff --git a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitEs2015.ts b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitEs2015.ts index fc6746a05705a..c1796789f4a8f 100644 --- a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitEs2015.ts +++ b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitEs2015.ts @@ -1,5 +1,5 @@ // @module: es2015 -// @moduleResolution: node +// @moduleResolution: bundler // @outdir: out/ // @fullEmitPaths: true // @resolveJsonModule: true diff --git a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitEsNext.ts b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitEsNext.ts index a42dff430062b..4041809537a96 100644 --- a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitEsNext.ts +++ b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitEsNext.ts @@ -1,5 +1,5 @@ // @module: esnext -// @moduleResolution: node +// @moduleResolution: bundler // @outdir: out/ // @fullEmitPaths: true // @resolveJsonModule: true diff --git a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitNone.ts b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitNone.ts index efb05bf693e64..12b113fa68334 100644 --- a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitNone.ts +++ b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitNone.ts @@ -1,5 +1,5 @@ // @module: none -// @moduleResolution: node +// @moduleResolution: bundler // @outdir: out/ // @fullEmitPaths: true // @resolveJsonModule: true diff --git a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitSystem.ts b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitSystem.ts index c1aa7182bf6cc..5e1baf9f9b38d 100644 --- a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitSystem.ts +++ b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitSystem.ts @@ -1,5 +1,5 @@ // @module: system -// @moduleResolution: node +// @moduleResolution: bundler // @outdir: out/ // @fullEmitPaths: true // @resolveJsonModule: true diff --git a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitUmd.ts b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitUmd.ts index dcb91f70897fa..ae71f2d414867 100644 --- a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitUmd.ts +++ b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitUmd.ts @@ -1,5 +1,5 @@ // @module: umd -// @moduleResolution: node +// @moduleResolution: bundler // @outdir: out/ // @fullEmitPaths: true // @resolveJsonModule: true diff --git a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitUndefined.ts b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitUndefined.ts index 901728cd0645f..74019ab80462c 100644 --- a/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitUndefined.ts +++ b/tests/cases/compiler/requireOfJsonFileWithModuleNodeResolutionEmitUndefined.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node +// @moduleResolution: bundler // @outdir: out/ // @fullEmitPaths: true // @resolveJsonModule: true diff --git a/tests/cases/compiler/requireOfJsonFileWithoutEsModuleInterop.ts b/tests/cases/compiler/requireOfJsonFileWithoutEsModuleInterop.ts index d3020c553aefb..cd00fc909f812 100644 --- a/tests/cases/compiler/requireOfJsonFileWithoutEsModuleInterop.ts +++ b/tests/cases/compiler/requireOfJsonFileWithoutEsModuleInterop.ts @@ -1,5 +1,5 @@ // @module: commonjs -// @moduleResolution: node +// @moduleResolution: bundler // @target:es2017 // @strict: true // @resolveJsonModule: true diff --git a/tests/cases/compiler/resolutionCandidateFromPackageJsonField2.ts b/tests/cases/compiler/resolutionCandidateFromPackageJsonField2.ts index c1e30c89e5b9d..9dca31e0cee37 100644 --- a/tests/cases/compiler/resolutionCandidateFromPackageJsonField2.ts +++ b/tests/cases/compiler/resolutionCandidateFromPackageJsonField2.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node10,bundler +// @moduleResolution: bundler // @filename: tsconfig.json { diff --git a/tests/cases/compiler/syntheticDefaultExportsWithDynamicImports.ts b/tests/cases/compiler/syntheticDefaultExportsWithDynamicImports.ts index 07f08d031850d..538a991181f78 100644 --- a/tests/cases/compiler/syntheticDefaultExportsWithDynamicImports.ts +++ b/tests/cases/compiler/syntheticDefaultExportsWithDynamicImports.ts @@ -1,6 +1,6 @@ // @module: system // @target: es6 -// @moduleResolution: node +// @moduleResolution: bundler // @filename: node_modules/package/index.d.ts declare function packageExport(x: number): string; export = packageExport; diff --git a/tests/cases/compiler/tslibInJs.ts b/tests/cases/compiler/tslibInJs.ts index b91de37a899a7..9b5dbfe164be9 100644 --- a/tests/cases/compiler/tslibInJs.ts +++ b/tests/cases/compiler/tslibInJs.ts @@ -1,6 +1,6 @@ // @checkJs: true // @allowJs: true -// @moduleResolution: node +// @moduleResolution: bundler // @target: es2018 // @module: commonjs // @importHelpers: true diff --git a/tests/cases/compiler/umdGlobalAugmentationNoCrash.ts b/tests/cases/compiler/umdGlobalAugmentationNoCrash.ts index ce0e0aae00e90..8ddd5251639f9 100644 --- a/tests/cases/compiler/umdGlobalAugmentationNoCrash.ts +++ b/tests/cases/compiler/umdGlobalAugmentationNoCrash.ts @@ -1,6 +1,5 @@ // @strict: true // @module: esnext -// @moduleResolution: node // @target: es2018 // @filename: global.d.ts declare global { diff --git a/tests/cases/compiler/umdNamespaceMergedWithGlobalAugmentationIsNotCircular.ts b/tests/cases/compiler/umdNamespaceMergedWithGlobalAugmentationIsNotCircular.ts index 81346aca1b43e..ad4d29c382048 100644 --- a/tests/cases/compiler/umdNamespaceMergedWithGlobalAugmentationIsNotCircular.ts +++ b/tests/cases/compiler/umdNamespaceMergedWithGlobalAugmentationIsNotCircular.ts @@ -1,6 +1,6 @@ // @strict: true // @module: esnext -// @moduleResolution: node +// @moduleResolution: bundler // @target: es2018 // @filename: global.d.ts declare global { diff --git a/tests/cases/compiler/unionReductionWithStringMappingAndIdenticalBaseTypeExistsNoCrash.tsx b/tests/cases/compiler/unionReductionWithStringMappingAndIdenticalBaseTypeExistsNoCrash.tsx index 521373e3e24ab..ff5b1e17d9cbd 100644 --- a/tests/cases/compiler/unionReductionWithStringMappingAndIdenticalBaseTypeExistsNoCrash.tsx +++ b/tests/cases/compiler/unionReductionWithStringMappingAndIdenticalBaseTypeExistsNoCrash.tsx @@ -4,8 +4,7 @@ // @lib: dom, esnext // @jsx: react // @esModuleInterop: true -// @moduleResolution: node - +// @moduleResolution: bundler // https://github.com/microsoft/TypeScript/issues/56688 // @filename: node_modules/@types/react/index.d.ts diff --git a/tests/cases/conformance/externalModules/typeOnly/cjsImportInES2015.ts b/tests/cases/conformance/externalModules/typeOnly/cjsImportInES2015.ts index bcc9b5ab319a9..5813a82918710 100644 --- a/tests/cases/conformance/externalModules/typeOnly/cjsImportInES2015.ts +++ b/tests/cases/conformance/externalModules/typeOnly/cjsImportInES2015.ts @@ -1,6 +1,5 @@ // @module: es2015 -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /project/node_modules/cjs-dep/index.d.ts declare class SpecialError extends Error {} export = SpecialError; diff --git a/tests/cases/conformance/externalModules/verbatimModuleSyntaxNoElisionCJS.ts b/tests/cases/conformance/externalModules/verbatimModuleSyntaxNoElisionCJS.ts index 989d14d20d632..96f2b634f23ef 100644 --- a/tests/cases/conformance/externalModules/verbatimModuleSyntaxNoElisionCJS.ts +++ b/tests/cases/conformance/externalModules/verbatimModuleSyntaxNoElisionCJS.ts @@ -1,8 +1,7 @@ // @verbatimModuleSyntax: true // @target: esnext // @module: commonjs -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /a.ts interface I {} export = I; diff --git a/tests/cases/conformance/externalModules/verbatimModuleSyntaxNoElisionESM.ts b/tests/cases/conformance/externalModules/verbatimModuleSyntaxNoElisionESM.ts index 71a3ee277bb12..8a259b6a7ac3f 100644 --- a/tests/cases/conformance/externalModules/verbatimModuleSyntaxNoElisionESM.ts +++ b/tests/cases/conformance/externalModules/verbatimModuleSyntaxNoElisionESM.ts @@ -1,7 +1,6 @@ // @verbatimModuleSyntax: true // @module: esnext -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /a.ts export const a = 0; export type A = typeof a; diff --git a/tests/cases/conformance/externalModules/verbatimModuleSyntaxRestrictionsCJS.ts b/tests/cases/conformance/externalModules/verbatimModuleSyntaxRestrictionsCJS.ts index c01dde661fd63..ab7eeca9475ca 100644 --- a/tests/cases/conformance/externalModules/verbatimModuleSyntaxRestrictionsCJS.ts +++ b/tests/cases/conformance/externalModules/verbatimModuleSyntaxRestrictionsCJS.ts @@ -1,7 +1,7 @@ // @verbatimModuleSyntax: true // @target: esnext // @module: commonjs -// @moduleResolution: node +// @moduleResolution: bundler // @esModuleInterop: true // @Filename: /decl.d.ts diff --git a/tests/cases/conformance/externalModules/verbatimModuleSyntaxRestrictionsESM.ts b/tests/cases/conformance/externalModules/verbatimModuleSyntaxRestrictionsESM.ts index bdcfe1f5b099a..04f4eb6a3f0ff 100644 --- a/tests/cases/conformance/externalModules/verbatimModuleSyntaxRestrictionsESM.ts +++ b/tests/cases/conformance/externalModules/verbatimModuleSyntaxRestrictionsESM.ts @@ -1,7 +1,7 @@ // @verbatimModuleSyntax: true // @target: esnext // @module: esnext -// @moduleResolution: node +// @moduleResolution: bundler // @esModuleInterop: true, false // @Filename: /decl.d.ts diff --git a/tests/cases/conformance/jsdoc/declarations/jsDeclarationsReferenceToClassInstanceCrossFile.ts b/tests/cases/conformance/jsdoc/declarations/jsDeclarationsReferenceToClassInstanceCrossFile.ts index dba186f8111c4..6d270e1b6e529 100644 --- a/tests/cases/conformance/jsdoc/declarations/jsDeclarationsReferenceToClassInstanceCrossFile.ts +++ b/tests/cases/conformance/jsdoc/declarations/jsDeclarationsReferenceToClassInstanceCrossFile.ts @@ -1,6 +1,6 @@ // @allowJs: true // @checkJs: true -// @moduleResolution: node +// @moduleResolution: bundler // @declaration: true // @emitDeclarationOnly: true // @filename: rectangle.js diff --git a/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences1.tsx b/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences1.tsx index a27c3114532cf..249ea461eee25 100644 --- a/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences1.tsx +++ b/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences1.tsx @@ -1,6 +1,6 @@ // @target: es2017 // @jsx: react -// @moduleResolution: node +// @moduleResolution: bundler // @skipLibCheck: true // @libFiles: react.d.ts,lib.d.ts diff --git a/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences2.tsx b/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences2.tsx index 1fff751b61ce3..f56342b38f76e 100644 --- a/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences2.tsx +++ b/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences2.tsx @@ -1,6 +1,6 @@ // @target: es2017 // @jsx: react -// @moduleResolution: node +// @moduleResolution: bundler // @skipLibCheck: true // @libFiles: react.d.ts,lib.d.ts diff --git a/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences3.tsx b/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences3.tsx index 2144478d2d6b4..1c0045356871e 100644 --- a/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences3.tsx +++ b/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences3.tsx @@ -1,6 +1,6 @@ // @target: es2017 // @jsx: react -// @moduleResolution: node +// @moduleResolution: bundler // @noImplicitAny: true // @skipLibCheck: true // @libFiles: react.d.ts,lib.d.ts diff --git a/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences4.tsx b/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences4.tsx index 165c91cc39e4d..5a31b7525e0e1 100644 --- a/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences4.tsx +++ b/tests/cases/conformance/jsx/correctlyMarkAliasAsReferences4.tsx @@ -1,6 +1,6 @@ // @target: es2017 // @jsx: react -// @moduleResolution: node +// @moduleResolution: bundler // @skipLibCheck: true // @libFiles: react.d.ts,lib.d.ts diff --git a/tests/cases/conformance/jsx/unicodeEscapesInJsxtags.tsx b/tests/cases/conformance/jsx/unicodeEscapesInJsxtags.tsx index 61804ab284c55..ac6611933ad4f 100644 --- a/tests/cases/conformance/jsx/unicodeEscapesInJsxtags.tsx +++ b/tests/cases/conformance/jsx/unicodeEscapesInJsxtags.tsx @@ -3,7 +3,7 @@ // @noLib: true // @skipLibCheck: true // @target: es2015 -// @moduleResolution: node +// @moduleResolution: bundler // @libFiles: react.d.ts,lib.d.ts import * as React from "react"; declare global { diff --git a/tests/cases/conformance/moduleResolution/allowImportingTsExtensions.ts b/tests/cases/conformance/moduleResolution/allowImportingTsExtensions.ts index 96d0786d0344b..547c780505a52 100644 --- a/tests/cases/conformance/moduleResolution/allowImportingTsExtensions.ts +++ b/tests/cases/conformance/moduleResolution/allowImportingTsExtensions.ts @@ -1,6 +1,6 @@ // @allowImportingTsExtensions: true // @noEmit: true -// @moduleResolution: classic,node10,node16,nodenext,bundler +// @moduleResolution: classic,node16,nodenext,bundler // @jsx: preserve // @noTypesAndSymbols: true diff --git a/tests/cases/conformance/moduleResolution/allowImportingTypesDtsExtension.ts b/tests/cases/conformance/moduleResolution/allowImportingTypesDtsExtension.ts index dc43f91e63d1a..edb9cd251b62c 100644 --- a/tests/cases/conformance/moduleResolution/allowImportingTypesDtsExtension.ts +++ b/tests/cases/conformance/moduleResolution/allowImportingTypesDtsExtension.ts @@ -1,6 +1,6 @@ // @allowImportingTsExtensions: true,false // @noEmit: true -// @moduleResolution: classic,node10,node16,nodenext +// @moduleResolution: classic,node16,nodenext // @noTypesAndSymbols: true // @Filename: /types.d.ts diff --git a/tests/cases/conformance/moduleResolution/extensionLoadingPriority.ts b/tests/cases/conformance/moduleResolution/extensionLoadingPriority.ts index c3a06a36b52aa..9ddb1dcec8e33 100644 --- a/tests/cases/conformance/moduleResolution/extensionLoadingPriority.ts +++ b/tests/cases/conformance/moduleResolution/extensionLoadingPriority.ts @@ -1,4 +1,4 @@ -// @moduleResolution: classic,node,node16,nodenext,bundler +// @moduleResolution: classic,node16,nodenext,bundler // @allowJs: true // @checkJs: true // @noEmit: true diff --git a/tests/cases/conformance/moduleResolution/node10IsNode_node10.ts b/tests/cases/conformance/moduleResolution/node10IsNode_node10.ts index 836bd819468f2..d11bd2132a24a 100644 --- a/tests/cases/conformance/moduleResolution/node10IsNode_node10.ts +++ b/tests/cases/conformance/moduleResolution/node10IsNode_node10.ts @@ -1,4 +1,4 @@ -// @moduleResolution: node10 +// @moduleResolution: bundler // @module: commonjs // @noEmit: true // @traceResolution: true diff --git a/tests/cases/conformance/moduleResolution/resolutionModeImportType1.ts b/tests/cases/conformance/moduleResolution/resolutionModeImportType1.ts index 9c29af37a654e..05f5ee8a33064 100644 --- a/tests/cases/conformance/moduleResolution/resolutionModeImportType1.ts +++ b/tests/cases/conformance/moduleResolution/resolutionModeImportType1.ts @@ -1,5 +1,5 @@ // @module: esnext -// @moduleResolution: bundler, node10, classic +// @moduleResolution: bundler, classic // @noEmit: true // @Filename: /node_modules/@types/foo/package.json diff --git a/tests/cases/conformance/moduleResolution/resolutionModeTypeOnlyImport1.ts b/tests/cases/conformance/moduleResolution/resolutionModeTypeOnlyImport1.ts index 24ccc38c0034d..d5354224804e6 100644 --- a/tests/cases/conformance/moduleResolution/resolutionModeTypeOnlyImport1.ts +++ b/tests/cases/conformance/moduleResolution/resolutionModeTypeOnlyImport1.ts @@ -1,5 +1,5 @@ // @module: esnext -// @moduleResolution: bundler, node10, classic +// @moduleResolution: bundler, classic // @declaration: true // @emitDeclarationOnly: true diff --git a/tests/cases/fourslash/autoImportCompletionExportEqualsWithDefault1.ts b/tests/cases/fourslash/autoImportCompletionExportEqualsWithDefault1.ts index 6e5f3c6614a2b..0e7a9b84ff4aa 100644 --- a/tests/cases/fourslash/autoImportCompletionExportEqualsWithDefault1.ts +++ b/tests/cases/fourslash/autoImportCompletionExportEqualsWithDefault1.ts @@ -2,6 +2,8 @@ // @strict: true // @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false // @filename: node.ts //// import Container from "./container.js"; diff --git a/tests/cases/fourslash/autoImportModuleNone1.ts b/tests/cases/fourslash/autoImportModuleNone1.ts index 2826ad9011e9f..50f3bbcc64ef3 100644 --- a/tests/cases/fourslash/autoImportModuleNone1.ts +++ b/tests/cases/fourslash/autoImportModuleNone1.ts @@ -1,7 +1,7 @@ /// // @module: none -// @moduleResolution: node10 +// @moduleResolution: bundler // @target: es5 // @Filename: /node_modules/dep/index.d.ts diff --git a/tests/cases/fourslash/autoImportModuleNone2.ts b/tests/cases/fourslash/autoImportModuleNone2.ts index 72cbb5167e5e1..aae3c41e7cba6 100644 --- a/tests/cases/fourslash/autoImportModuleNone2.ts +++ b/tests/cases/fourslash/autoImportModuleNone2.ts @@ -1,7 +1,7 @@ /// // @module: none -// @moduleResolution: node10 +// @moduleResolution: bundler // @target: es2015 // @Filename: /node_modules/dep/index.d.ts diff --git a/tests/cases/fourslash/autoImportSortCaseSensitivity2.ts b/tests/cases/fourslash/autoImportSortCaseSensitivity2.ts index 750cb35eccfde..a569ecaf38955 100644 --- a/tests/cases/fourslash/autoImportSortCaseSensitivity2.ts +++ b/tests/cases/fourslash/autoImportSortCaseSensitivity2.ts @@ -14,7 +14,7 @@ verify.completions({ marker: "", includes: { name: "foo", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "function foo(): void", kind: "function", @@ -26,7 +26,7 @@ verify.completions({ }); verify.applyCodeActionFromCompletion("", { name: "foo", - source: "/a", + source: "./a", description: `Update import from "./a"`, newFileContent: `import { __String, foo, HasBar, hasBar } from "./a"; f;`, diff --git a/tests/cases/fourslash/codeFixAddMissingFunctionDeclaration16.ts b/tests/cases/fourslash/codeFixAddMissingFunctionDeclaration16.ts index c9b3450016e40..697d69d072870 100644 --- a/tests/cases/fourslash/codeFixAddMissingFunctionDeclaration16.ts +++ b/tests/cases/fourslash/codeFixAddMissingFunctionDeclaration16.ts @@ -1,6 +1,6 @@ /// -// @moduleResolution: node +// @moduleResolution: bundler // @filename: /node_modules/test/index.js ////export const x = 1; diff --git a/tests/cases/fourslash/codeFixCannotFindModule.ts b/tests/cases/fourslash/codeFixCannotFindModule.ts index 0d981d8402331..96ae2f203b169 100644 --- a/tests/cases/fourslash/codeFixCannotFindModule.ts +++ b/tests/cases/fourslash/codeFixCannotFindModule.ts @@ -1,6 +1,6 @@ /// -// @moduleResolution: node +// @moduleResolution: bundler // @noImplicitAny: true // @Filename: /node_modules/abs/index.js diff --git a/tests/cases/fourslash/codeFixCannotFindModule_all.ts b/tests/cases/fourslash/codeFixCannotFindModule_all.ts index 1b1b36d13ad3a..0409678b331ad 100644 --- a/tests/cases/fourslash/codeFixCannotFindModule_all.ts +++ b/tests/cases/fourslash/codeFixCannotFindModule_all.ts @@ -1,6 +1,6 @@ /// -// @moduleResolution: node +// @moduleResolution: bundler // @noImplicitAny: true // @Filename: /node_modules/abs/index.js diff --git a/tests/cases/fourslash/codeFixCannotFindModule_suggestion.ts b/tests/cases/fourslash/codeFixCannotFindModule_suggestion.ts index c35737514934a..83e17f170ba0e 100644 --- a/tests/cases/fourslash/codeFixCannotFindModule_suggestion.ts +++ b/tests/cases/fourslash/codeFixCannotFindModule_suggestion.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /node_modules/abs/subModule.js ////export const x = 0; diff --git a/tests/cases/fourslash/codeFixCannotFindModule_suggestion_falsePositive.ts b/tests/cases/fourslash/codeFixCannotFindModule_suggestion_falsePositive.ts index 54afae7c4d1c5..c2819fd7d137e 100644 --- a/tests/cases/fourslash/codeFixCannotFindModule_suggestion_falsePositive.ts +++ b/tests/cases/fourslash/codeFixCannotFindModule_suggestion_falsePositive.ts @@ -1,6 +1,6 @@ /// -// @moduleResolution: node +// @moduleResolution: bundler // @resolveJsonModule: true // @strict: true diff --git a/tests/cases/fourslash/codeFixImportNonExportedMember5.ts b/tests/cases/fourslash/codeFixImportNonExportedMember5.ts index b2a6162e871a2..b52a25ff58dc1 100644 --- a/tests/cases/fourslash/codeFixImportNonExportedMember5.ts +++ b/tests/cases/fourslash/codeFixImportNonExportedMember5.ts @@ -1,6 +1,6 @@ /// -// @moduleResolution: node +// @moduleResolution: bundler // @module: esnext // @filename: /node_modules/foo/index.js ////function bar() {} diff --git a/tests/cases/fourslash/codeFixInferFromUsageJSXElement.ts b/tests/cases/fourslash/codeFixInferFromUsageJSXElement.ts index abe35fe46c8df..bfd968dc6fcc6 100644 --- a/tests/cases/fourslash/codeFixInferFromUsageJSXElement.ts +++ b/tests/cases/fourslash/codeFixInferFromUsageJSXElement.ts @@ -3,8 +3,7 @@ // @noImplicitAny: true // @jsx: react // @module: es2015 -// @moduleResolution: node - +// @moduleResolution: bundler ////declare namespace React { //// export class Component { render(): JSX.Element | null; } ////} diff --git a/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports47.ts b/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports47.ts index 18bb595bd0cb7..7cb1d83a0e01c 100644 --- a/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports47.ts +++ b/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports47.ts @@ -2,7 +2,7 @@ // @isolatedDeclarations: true // @declaration: true -// @moduleResolution: node +// @moduleResolution: bundler // @target: es2018 // @jsx: react-jsx diff --git a/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports48.ts b/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports48.ts index 02aa660f6fc33..4d1a33fe565e6 100644 --- a/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports48.ts +++ b/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports48.ts @@ -2,7 +2,7 @@ // @isolatedDeclarations: true // @declaration: true -// @moduleResolution: node +// @moduleResolution: bundler // @target: es2018 // @jsx: react-jsx diff --git a/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports49-private-name.ts b/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports49-private-name.ts index 72403ecf4a713..e5323dd3cdd5e 100644 --- a/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports49-private-name.ts +++ b/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports49-private-name.ts @@ -2,7 +2,7 @@ // @isolatedDeclarations: true // @declaration: true -// @moduleResolution: node +// @moduleResolution: bundler // @target: es2018 // @jsx: react-jsx diff --git a/tests/cases/fourslash/codeFixRequireInTs1.ts b/tests/cases/fourslash/codeFixRequireInTs1.ts index 773afe0eb1287..bdb15bbe061d2 100644 --- a/tests/cases/fourslash/codeFixRequireInTs1.ts +++ b/tests/cases/fourslash/codeFixRequireInTs1.ts @@ -1,5 +1,9 @@ /// +// @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false + // @Filename: /a.ts ////const a = [|require("a")|]; diff --git a/tests/cases/fourslash/codeFixRequireInTs4.ts b/tests/cases/fourslash/codeFixRequireInTs4.ts index 85a7ccb2a3c47..2ee0ce6c077b1 100644 --- a/tests/cases/fourslash/codeFixRequireInTs4.ts +++ b/tests/cases/fourslash/codeFixRequireInTs4.ts @@ -1,5 +1,9 @@ /// +// @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false + // @Filename: /a.ts ////const foo = require(`foo`); diff --git a/tests/cases/fourslash/codeFixRequireInTs_all.ts b/tests/cases/fourslash/codeFixRequireInTs_all.ts index d37d2455e93e8..059b98271e819 100644 --- a/tests/cases/fourslash/codeFixRequireInTs_all.ts +++ b/tests/cases/fourslash/codeFixRequireInTs_all.ts @@ -1,5 +1,9 @@ /// +// @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false + // @Filename: /a.ts ////const a = [|require("a")|]; ////const b = [|require("b")|]; diff --git a/tests/cases/fourslash/codefixCrashExportGlobal.ts b/tests/cases/fourslash/codefixCrashExportGlobal.ts index 83e5aed616fd2..3e575a7340998 100644 --- a/tests/cases/fourslash/codefixCrashExportGlobal.ts +++ b/tests/cases/fourslash/codefixCrashExportGlobal.ts @@ -1,5 +1,9 @@ /// +// @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false + // @Filename: bar.ts //// import * as foo from './foo' //// export as namespace foo diff --git a/tests/cases/fourslash/completionEntryForClassMembers_StaticWhenBaseTypeIsNotResolved.ts b/tests/cases/fourslash/completionEntryForClassMembers_StaticWhenBaseTypeIsNotResolved.ts index 739c60dd51e27..9d5e7f40b3598 100644 --- a/tests/cases/fourslash/completionEntryForClassMembers_StaticWhenBaseTypeIsNotResolved.ts +++ b/tests/cases/fourslash/completionEntryForClassMembers_StaticWhenBaseTypeIsNotResolved.ts @@ -1,22 +1,5 @@ /// -// @Filename: /node_modules/@types/react/index.d.ts -//// export = React; -//// export as namespace React; -//// declare namespace React { -//// function createElement(): any; -//// interface Component

{ } -//// class Component { -//// static contextType?: any; -//// context: any; -//// constructor(props: Readonly

); -//// setState( -//// state: ((prevState: Readonly, props: Readonly

) => (Pick | S | null)) | (Pick | S | null), -//// callback?: () => void -//// ): void; -//// } -//// } - // @Filename: /a.ts //// import React from 'react' //// class Slider extends React.Component { diff --git a/tests/cases/fourslash/completionForObjectProperty.ts b/tests/cases/fourslash/completionForObjectProperty.ts index dcedc4c9e47b7..28060268d2de1 100644 --- a/tests/cases/fourslash/completionForObjectProperty.ts +++ b/tests/cases/fourslash/completionForObjectProperty.ts @@ -29,32 +29,32 @@ verify.completions({ marker: "1", - includes: { name: "foo", source: "/a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, + includes: { name: "foo", source: "./a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, isNewIdentifierLocation: true, preferences: { includeCompletionsForModuleExports: true } }, { marker: "2", - includes: { name: "foo", source: "/a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, + includes: { name: "foo", source: "./a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, isNewIdentifierLocation: false, preferences: { includeCompletionsForModuleExports: true } }, { marker: "3", - includes: { name: "foo", source: "/a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, + includes: { name: "foo", source: "./a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, isNewIdentifierLocation: false, preferences: { includeCompletionsForModuleExports: true } }, { marker: "4", - includes: { name: "foo", source: "/a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, + includes: { name: "foo", source: "./a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, isNewIdentifierLocation: true, preferences: { includeCompletionsForModuleExports: true } }, { marker: "5", - includes: { name: "foo", source: "/a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, + includes: { name: "foo", source: "./a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, isNewIdentifierLocation: false, preferences: { includeCompletionsForModuleExports: true } }, { marker: "6", - includes: { name: "foo", source: "/a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, + includes: { name: "foo", source: "./a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, isNewIdentifierLocation: false, preferences: { includeCompletionsForModuleExports: true } }, { diff --git a/tests/cases/fourslash/completionForStringLiteralNonrelativeImport16.ts b/tests/cases/fourslash/completionForStringLiteralNonrelativeImport16.ts index f5c1cf282c469..0a01b6ed90449 100644 --- a/tests/cases/fourslash/completionForStringLiteralNonrelativeImport16.ts +++ b/tests/cases/fourslash/completionForStringLiteralNonrelativeImport16.ts @@ -5,6 +5,7 @@ // @Filename: tsconfig.json //// { //// "compilerOptions": { +//// "resolveJsonModule": false, //// "baseUrl": "./", //// "paths": { //// "module1/path1": ["some/path/whatever.ts"], diff --git a/tests/cases/fourslash/completionsImportFromJSXTag.ts b/tests/cases/fourslash/completionsImportFromJSXTag.ts index 348b1de279eb7..2d590861aa2de 100644 --- a/tests/cases/fourslash/completionsImportFromJSXTag.ts +++ b/tests/cases/fourslash/completionsImportFromJSXTag.ts @@ -21,7 +21,7 @@ verify.applyCodeActionFromCompletion("", { name: "Box", - source: "/Box", + source: "./Box", description: `Add import from "./Box"`, newFileContent: `import { Box } from "./Box"; diff --git a/tests/cases/fourslash/completionsImportModuleAugmentationWithJS.ts b/tests/cases/fourslash/completionsImportModuleAugmentationWithJS.ts index 2295dcd44f6b7..4db9923b6a722 100644 --- a/tests/cases/fourslash/completionsImportModuleAugmentationWithJS.ts +++ b/tests/cases/fourslash/completionsImportModuleAugmentationWithJS.ts @@ -25,7 +25,7 @@ verify.applyCodeActionFromCompletion("", { name: "Abcde", - source: "/test", + source: "./test", description: `Add import from "./test"`, newFileContent: `import { Abcde } from "./test"; diff --git a/tests/cases/fourslash/completionsImportYieldExpression.ts b/tests/cases/fourslash/completionsImportYieldExpression.ts index fbb0841e92eb3..04090405d37d1 100644 --- a/tests/cases/fourslash/completionsImportYieldExpression.ts +++ b/tests/cases/fourslash/completionsImportYieldExpression.ts @@ -10,7 +10,7 @@ verify.applyCodeActionFromCompletion("", { name: "a", - source: "/a", + source: "./a", description: `Add import from "./a"`, newFileContent: `import { a } from "./a"; diff --git a/tests/cases/fourslash/completionsImport_46332.ts b/tests/cases/fourslash/completionsImport_46332.ts index 8066a990cdcea..309ad421c5318 100644 --- a/tests/cases/fourslash/completionsImport_46332.ts +++ b/tests/cases/fourslash/completionsImport_46332.ts @@ -1,8 +1,7 @@ /// // @module: esnext -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /node_modules/vue/package.json //// { //// "name": "vue", diff --git a/tests/cases/fourslash/completionsImport_augmentation.ts b/tests/cases/fourslash/completionsImport_augmentation.ts index f01f7f43df1a1..3884acc43c60c 100644 --- a/tests/cases/fourslash/completionsImport_augmentation.ts +++ b/tests/cases/fourslash/completionsImport_augmentation.ts @@ -18,7 +18,7 @@ verify.completions({ { name: "foo", text: "const foo: 0", - source: "/a", + source: "./a", sourceDisplay: "./a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions @@ -26,7 +26,7 @@ verify.completions({ { name: "bar", text: "const bar: 0", - source: "/a", + source: "./a", sourceDisplay: "./a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions diff --git a/tests/cases/fourslash/completionsImport_compilerOptionsModule.ts b/tests/cases/fourslash/completionsImport_compilerOptionsModule.ts index 074727bbda98a..c6e76f915da49 100644 --- a/tests/cases/fourslash/completionsImport_compilerOptionsModule.ts +++ b/tests/cases/fourslash/completionsImport_compilerOptionsModule.ts @@ -37,7 +37,7 @@ verify.completions({ marker: ["b", "c", "ccheck", "cts", "d", "dcheck", "dts"], includes: [{ name: "foo", - source: "/node_modules/a/index", + source: "a", text: "const foo: 0", kind: "const", kindModifiers: "export,declare", diff --git a/tests/cases/fourslash/completionsImport_defaultAndNamedConflict.ts b/tests/cases/fourslash/completionsImport_defaultAndNamedConflict.ts index 73e3420955e2d..e8764578368a1 100644 --- a/tests/cases/fourslash/completionsImport_defaultAndNamedConflict.ts +++ b/tests/cases/fourslash/completionsImport_defaultAndNamedConflict.ts @@ -14,7 +14,7 @@ verify.completions({ exact: completion.globalsPlus([ { name: "someModule", - source: "/someModule", + source: "./someModule", sourceDisplay: "./someModule", text: "(property) default: 1", kind: "property", @@ -24,7 +24,7 @@ verify.completions({ }, { name: "someModule", - source: "/someModule", + source: "./someModule", sourceDisplay: "./someModule", text: "const someModule: 0", kind: "const", @@ -40,7 +40,7 @@ verify.completions({ verify.applyCodeActionFromCompletion("", { name: "someModule", - source: "/someModule", + source: "./someModule", data: { exportName: "default", fileName: "/someModule.ts" }, description: `Add import from "./someModule"`, newFileContent: `import someModule from "./someModule"; diff --git a/tests/cases/fourslash/completionsImport_defaultFalsePositive.ts b/tests/cases/fourslash/completionsImport_defaultFalsePositive.ts index a16d56da00443..0179fcccce873 100644 --- a/tests/cases/fourslash/completionsImport_defaultFalsePositive.ts +++ b/tests/cases/fourslash/completionsImport_defaultFalsePositive.ts @@ -16,7 +16,7 @@ verify.completions({ marker: "", includes: { name: "concat", - source: "/node_modules/bar/concat", + source: "bar/concat", sourceDisplay: "bar/concat", text: "const concat: 0", kind: "const", @@ -29,7 +29,7 @@ verify.completions({ verify.applyCodeActionFromCompletion("", { name: "concat", - source: "/node_modules/bar/concat", + source: "bar/concat", description: `Add import from "bar/concat"`, newFileContent: `import { concat } from "bar/concat"; diff --git a/tests/cases/fourslash/completionsImport_default_addToNamedImports.ts b/tests/cases/fourslash/completionsImport_default_addToNamedImports.ts index d6cdb6ba8939f..90cfa5d2a2838 100644 --- a/tests/cases/fourslash/completionsImport_default_addToNamedImports.ts +++ b/tests/cases/fourslash/completionsImport_default_addToNamedImports.ts @@ -12,7 +12,7 @@ verify.completions({ marker: "", includes: { name: "foo", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "function foo(): void", kind: "function", @@ -25,7 +25,7 @@ verify.completions({ verify.applyCodeActionFromCompletion("", { name: "foo", - source: "/a", + source: "./a", description: `Update import from "./a"`, newFileContent: `import foo, { x } from "./a"; f;`, diff --git a/tests/cases/fourslash/completionsImport_default_addToNamespaceImport.ts b/tests/cases/fourslash/completionsImport_default_addToNamespaceImport.ts index 36488502dfe33..aab3ade62edec 100644 --- a/tests/cases/fourslash/completionsImport_default_addToNamespaceImport.ts +++ b/tests/cases/fourslash/completionsImport_default_addToNamespaceImport.ts @@ -11,7 +11,7 @@ verify.completions({ marker: "", includes: { name: "foo", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "function foo(): void", kind: "function", @@ -23,7 +23,7 @@ verify.completions({ }); verify.applyCodeActionFromCompletion("", { name: "foo", - source: "/a", + source: "./a", description: `Update import from "./a"`, newFileContent: `import foo, * as a from "./a"; f;`, diff --git a/tests/cases/fourslash/completionsImport_default_alreadyExistedWithRename.ts b/tests/cases/fourslash/completionsImport_default_alreadyExistedWithRename.ts index ced7e7a04febf..87ef70a514ee5 100644 --- a/tests/cases/fourslash/completionsImport_default_alreadyExistedWithRename.ts +++ b/tests/cases/fourslash/completionsImport_default_alreadyExistedWithRename.ts @@ -11,7 +11,7 @@ verify.completions({ marker: "", includes: { name: "foo", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "function foo(): void", kind: "function", @@ -23,7 +23,7 @@ verify.completions({ }); verify.applyCodeActionFromCompletion("", { name: "foo", - source: "/a", + source: "./a", description: `Add import from "./a"`, newFileContent: `import foo from "./a"; import f_o_o from "./a"; diff --git a/tests/cases/fourslash/completionsImport_default_symbolName.ts b/tests/cases/fourslash/completionsImport_default_symbolName.ts index 8dcaddc49e80c..d238ef9471a5a 100644 --- a/tests/cases/fourslash/completionsImport_default_symbolName.ts +++ b/tests/cases/fourslash/completionsImport_default_symbolName.ts @@ -1,6 +1,8 @@ /// // @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false // @Filename: /node_modules/@types/range-parser/index.d.ts ////declare function RangeParser(): string; @@ -21,7 +23,7 @@ verify.completions( name: "RangeParser", kind: "function", kindModifiers: "declare", - source: "/node_modules/@types/range-parser/index", + source: "range-parser", sourceDisplay: "range-parser", hasAction: true, sortText: completion.SortText.AutoImportSuggestions, @@ -36,7 +38,7 @@ function RangeParser(): string` verify.applyCodeActionFromCompletion("0", { name: "RangeParser", - source: "/node_modules/@types/range-parser/index", + source: "range-parser", description: `Add import from "range-parser"`, newFileContent: `import RangeParser = require("range-parser"); diff --git a/tests/cases/fourslash/completionsImport_details_withMisspelledName.ts b/tests/cases/fourslash/completionsImport_details_withMisspelledName.ts index 27b47e4d3b364..570e1d1a33fdd 100644 --- a/tests/cases/fourslash/completionsImport_details_withMisspelledName.ts +++ b/tests/cases/fourslash/completionsImport_details_withMisspelledName.ts @@ -12,7 +12,7 @@ goTo.marker("1"); verify.applyCodeActionFromCompletion("1", { name: "abc", - source: "/a", + source: "./a", description: `Add import from "./a"`, newFileContent: `import { abc } from "./a"; @@ -22,10 +22,11 @@ acb;`, goTo.marker("2"); verify.applyCodeActionFromCompletion("2", { name: "abc", - source: "/a", + source: "./a", data: { exportName: "abc", fileName: "/a.ts", + moduleSpecifier: "./a", }, description: `Add import from "./a"`, newFileContent: `import { abc } from "./a"; diff --git a/tests/cases/fourslash/completionsImport_exportEquals.ts b/tests/cases/fourslash/completionsImport_exportEquals.ts index 3e0debda999b5..bc5881441252e 100644 --- a/tests/cases/fourslash/completionsImport_exportEquals.ts +++ b/tests/cases/fourslash/completionsImport_exportEquals.ts @@ -1,6 +1,8 @@ /// // @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false // @Filename: /a.d.ts ////declare function a(): void; @@ -19,7 +21,7 @@ verify.completions( marker: "0", includes: { name: "a", - source: "/a", + source: "./a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, @@ -29,7 +31,7 @@ verify.completions( marker: "1", includes: { name: "b", - source: "/a", + source: "./a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, @@ -40,7 +42,7 @@ verify.completions( // Import { b } first, or it will just add a qualified name from 'a' (which isn't what we're trying to test) verify.applyCodeActionFromCompletion("1", { name: "b", - source: "/a", + source: "./a", description: `Add import from "./a"`, newFileContent: `import { b } from "./a"; @@ -51,7 +53,7 @@ let x: b;`, verify.applyCodeActionFromCompletion("0", { name: "a", - source: "/a", + source: "./a", description: `Add import from "./a"`, newFileContent: `import { b } from "./a"; diff --git a/tests/cases/fourslash/completionsImport_exportEquals_anonymous.ts b/tests/cases/fourslash/completionsImport_exportEquals_anonymous.ts index d187b31c01c53..436549ee6b14b 100644 --- a/tests/cases/fourslash/completionsImport_exportEquals_anonymous.ts +++ b/tests/cases/fourslash/completionsImport_exportEquals_anonymous.ts @@ -2,6 +2,9 @@ // Use `/src` to test that directory names are not included in conversion from module path to identifier. // @noLib: true +// @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false // @Filename: /src/foo-bar.ts ////export = 0; @@ -14,7 +17,7 @@ goTo.marker("0"); const preferences: FourSlashInterface.UserPreferences = { includeCompletionsForModuleExports: true }; const exportEntry: FourSlashInterface.ExpectedCompletionEntryObject = { name: "fooBar", - source: "/src/foo-bar", + source: "./foo-bar", sourceDisplay: "./foo-bar", text: "(property) export=: 0", kind: "property", @@ -36,7 +39,7 @@ verify.completions( ); verify.applyCodeActionFromCompletion("0", { name: "fooBar", - source: "/src/foo-bar", + source: "./foo-bar", description: `Add import from "./foo-bar"`, newFileContent: `import fooBar = require("./foo-bar") diff --git a/tests/cases/fourslash/completionsImport_filteredByInvalidPackageJson_direct.ts b/tests/cases/fourslash/completionsImport_filteredByInvalidPackageJson_direct.ts index 5bd121ed37f7a..8d7289fccdd1a 100644 --- a/tests/cases/fourslash/completionsImport_filteredByInvalidPackageJson_direct.ts +++ b/tests/cases/fourslash/completionsImport_filteredByInvalidPackageJson_direct.ts @@ -37,13 +37,13 @@ verify.completions({ includes: [{ name: "React", hasAction: true, - source: "/node_modules/react/index", + source: "react", sortText: completion.SortText.AutoImportSuggestions }, { name: "ReactFake", hasAction: true, - source: "/node_modules/fake-react/index", + source: "fake-react", sortText: completion.SortText.AutoImportSuggestions } ], diff --git a/tests/cases/fourslash/completionsImport_filteredByPackageJson_@typesImplicit.ts b/tests/cases/fourslash/completionsImport_filteredByPackageJson_@typesImplicit.ts index 539a9cc8ff6c2..9341998d3a929 100644 --- a/tests/cases/fourslash/completionsImport_filteredByPackageJson_@typesImplicit.ts +++ b/tests/cases/fourslash/completionsImport_filteredByPackageJson_@typesImplicit.ts @@ -34,7 +34,7 @@ verify.completions({ includes: { name: "React", hasAction: true, - source: "/node_modules/@types/react/index", + source: "react", sortText: completion.SortText.AutoImportSuggestions }, excludes: "ReactFake", diff --git a/tests/cases/fourslash/completionsImport_filteredByPackageJson_@typesOnly.ts b/tests/cases/fourslash/completionsImport_filteredByPackageJson_@typesOnly.ts index b0d2c01e3dbe9..f18d774598452 100644 --- a/tests/cases/fourslash/completionsImport_filteredByPackageJson_@typesOnly.ts +++ b/tests/cases/fourslash/completionsImport_filteredByPackageJson_@typesOnly.ts @@ -34,7 +34,7 @@ verify.completions({ includes: { name: "React", hasAction: true, - source: "/node_modules/@types/react/index", + source: "react", sortText: completion.SortText.AutoImportSuggestions }, excludes: "ReactFake", diff --git a/tests/cases/fourslash/completionsImport_filteredByPackageJson_direct.ts b/tests/cases/fourslash/completionsImport_filteredByPackageJson_direct.ts index aa7845daed3d1..5bc8bdab80aa0 100644 --- a/tests/cases/fourslash/completionsImport_filteredByPackageJson_direct.ts +++ b/tests/cases/fourslash/completionsImport_filteredByPackageJson_direct.ts @@ -36,7 +36,7 @@ verify.completions({ includes: { name: "React", hasAction: true, - source: "/node_modules/react/index", + source: "react", sortText: completion.SortText.AutoImportSuggestions }, excludes: "ReactFake", diff --git a/tests/cases/fourslash/completionsImport_filteredByPackageJson_nested.ts b/tests/cases/fourslash/completionsImport_filteredByPackageJson_nested.ts index e940c43e32c6d..b4a431c5a0706 100644 --- a/tests/cases/fourslash/completionsImport_filteredByPackageJson_nested.ts +++ b/tests/cases/fourslash/completionsImport_filteredByPackageJson_nested.ts @@ -43,7 +43,7 @@ verify.completions({ includes: { name: "React", hasAction: true, - source: "/node_modules/react/index", + source: "react", sortText: completion.SortText.AutoImportSuggestions }, preferences: { @@ -57,7 +57,7 @@ verify.completions({ includes: { name: "Redux", hasAction: true, - source: "/dir/node_modules/redux/index", + source: "redux", sortText: completion.SortText.AutoImportSuggestions }, preferences: { diff --git a/tests/cases/fourslash/completionsImport_filteredByPackageJson_peerDependencies.ts b/tests/cases/fourslash/completionsImport_filteredByPackageJson_peerDependencies.ts index 1acf2e197bb7b..46b5b9b6102a6 100644 --- a/tests/cases/fourslash/completionsImport_filteredByPackageJson_peerDependencies.ts +++ b/tests/cases/fourslash/completionsImport_filteredByPackageJson_peerDependencies.ts @@ -36,7 +36,7 @@ verify.completions({ includes: { name: "React", hasAction: true, - source: "/node_modules/react/index", + source: "react", sortText: completion.SortText.AutoImportSuggestions }, excludes: "ReactFake", diff --git a/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport.ts b/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport.ts index 8e17a3c3a449b..3616b3839ad45 100644 --- a/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport.ts +++ b/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport.ts @@ -40,13 +40,13 @@ verify.completions({ completion.undefinedVarEntry, { name: "css", - source: "/node_modules/@emotion/core/index", + source: "@emotion/core", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, { name: "css2", - source: "/node_modules/@emotion/core/index", + source: "@emotion/core", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, diff --git a/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport2.ts b/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport2.ts index eb946ce17b42c..e5871d0006e2b 100644 --- a/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport2.ts +++ b/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport2.ts @@ -46,7 +46,7 @@ verify.completions({ completion.undefinedVarEntry, { name: "foo", - source: "/node_modules/b_/index", + source: "b_", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, diff --git a/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport3.ts b/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport3.ts index eeff0d3405fea..47bfcfc61ab35 100644 --- a/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport3.ts +++ b/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport3.ts @@ -36,7 +36,7 @@ verify.completions({ completion.undefinedVarEntry, { name: "foo", - source: "/node_modules/b/index", + source: "b", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, diff --git a/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport4.ts b/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport4.ts index 9681728d2cca3..524aa08789969 100644 --- a/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport4.ts +++ b/tests/cases/fourslash/completionsImport_filteredByPackageJson_reexport4.ts @@ -45,7 +45,7 @@ verify.completions({ completion.undefinedVarEntry, { name: "foo", - source: "/node_modules/c/index", + source: "c", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, diff --git a/tests/cases/fourslash/completionsImport_importType.ts b/tests/cases/fourslash/completionsImport_importType.ts index 0622b6d6aaa71..fc4d32bc51ac7 100644 --- a/tests/cases/fourslash/completionsImport_importType.ts +++ b/tests/cases/fourslash/completionsImport_importType.ts @@ -17,7 +17,7 @@ verify.completions({ includes: [ { name: "C", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "class C", hasAction: true, @@ -25,7 +25,7 @@ verify.completions({ }, { name: "T", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "type T = number", hasAction: true, @@ -41,7 +41,7 @@ verify.completions({ // Something with a value-side will get a normal import. verify.applyCodeActionFromCompletion("0", { name: "C", - source: "/a", + source: "./a", description: `Add import from "./a"`, newFileContent: `import { C } from "./a"; @@ -54,7 +54,7 @@ export const m = 0; // A pure type will get `import().T` verify.applyCodeActionFromCompletion("1", { name: "T", - source: "/a", + source: "./a", description: `Change 'T' to 'import("./a").T'`, newFileContent: `import { C } from "./a"; diff --git a/tests/cases/fourslash/completionsImport_jsxOpeningTagImportDefault.ts b/tests/cases/fourslash/completionsImport_jsxOpeningTagImportDefault.ts index 5dc3285bd124a..1cc2654dde93c 100644 --- a/tests/cases/fourslash/completionsImport_jsxOpeningTagImportDefault.ts +++ b/tests/cases/fourslash/completionsImport_jsxOpeningTagImportDefault.ts @@ -16,7 +16,7 @@ verify.completions({ marker: "", includes: { name: "Component", - source: "/component", + source: "./component", hasAction: true, sortText: completion.SortText.AutoImportSuggestions, }, @@ -28,7 +28,7 @@ verify.completions({ verify.applyCodeActionFromCompletion("", { name: "Component", - source: "/component", + source: "./component", description: `Add import from "./component"`, newFileContent: `import Component from "./component"; diff --git a/tests/cases/fourslash/completionsImport_keywords.ts b/tests/cases/fourslash/completionsImport_keywords.ts index 75473c1d62ca2..ca9030876df21 100644 --- a/tests/cases/fourslash/completionsImport_keywords.ts +++ b/tests/cases/fourslash/completionsImport_keywords.ts @@ -39,7 +39,7 @@ verify.completions( completion.undefinedVarEntry, { name: "unique", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "(alias) const unique: 0\nexport unique", hasAction: true, diff --git a/tests/cases/fourslash/completionsImport_named_addToNamedImports.ts b/tests/cases/fourslash/completionsImport_named_addToNamedImports.ts index 84abd39f5bfbf..1dea9dbaeaf69 100644 --- a/tests/cases/fourslash/completionsImport_named_addToNamedImports.ts +++ b/tests/cases/fourslash/completionsImport_named_addToNamedImports.ts @@ -12,7 +12,7 @@ verify.completions({ marker: "", includes: { name: "foo", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "function foo(): void", kind: "function", @@ -24,7 +24,7 @@ verify.completions({ }); verify.applyCodeActionFromCompletion("", { name: "foo", - source: "/a", + source: "./a", description: `Update import from "./a"`, newFileContent: `import { foo, x } from "./a"; f;`, diff --git a/tests/cases/fourslash/completionsImport_named_didNotExistBefore.ts b/tests/cases/fourslash/completionsImport_named_didNotExistBefore.ts index 604288357a0dd..09b2fbc8ba4a2 100644 --- a/tests/cases/fourslash/completionsImport_named_didNotExistBefore.ts +++ b/tests/cases/fourslash/completionsImport_named_didNotExistBefore.ts @@ -21,7 +21,7 @@ verify.completions({ }, { name: "Test1", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "function Test1(): void", kind: "function", @@ -33,7 +33,7 @@ verify.completions({ preferences: { includeCompletionsForModuleExports: true }, }).andApplyCodeAction({ name: "Test1", - source: "/a", + source: "./a", description: `Update import from "./a"`, newFileContent: `import { Test1, Test2 } from "./a"; t`, diff --git a/tests/cases/fourslash/completionsImport_named_namespaceImportExists.ts b/tests/cases/fourslash/completionsImport_named_namespaceImportExists.ts index c3e254521de97..d81f25af1f089 100644 --- a/tests/cases/fourslash/completionsImport_named_namespaceImportExists.ts +++ b/tests/cases/fourslash/completionsImport_named_namespaceImportExists.ts @@ -11,7 +11,7 @@ verify.completions({ marker: "", includes: { name: "foo", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "function foo(): void", kind: "function", @@ -23,7 +23,7 @@ verify.completions({ }); verify.applyCodeActionFromCompletion("", { name: "foo", - source: "/a", + source: "./a", description: `Change 'foo' to 'a.foo'`, newFileContent: `import * as a from "./a"; a.f;`, diff --git a/tests/cases/fourslash/completionsImport_noSemicolons.ts b/tests/cases/fourslash/completionsImport_noSemicolons.ts index 1415eba26efa0..9c4af59518510 100644 --- a/tests/cases/fourslash/completionsImport_noSemicolons.ts +++ b/tests/cases/fourslash/completionsImport_noSemicolons.ts @@ -10,7 +10,7 @@ verify.applyCodeActionFromCompletion("", { name: "foo", - source: "/a", + source: "./a", description: `Add import from "./a"`, newFileContent: `import { foo } from "./a" diff --git a/tests/cases/fourslash/completionsImport_notFromIndex.ts b/tests/cases/fourslash/completionsImport_notFromIndex.ts index df4dc22becab7..87b167d338927 100644 --- a/tests/cases/fourslash/completionsImport_notFromIndex.ts +++ b/tests/cases/fourslash/completionsImport_notFromIndex.ts @@ -1,5 +1,7 @@ /// +// @moduleResolution: node10 + // @Filename: /src/a.ts ////export const x = 0; diff --git a/tests/cases/fourslash/completionsImport_ofAlias_preferShortPath.ts b/tests/cases/fourslash/completionsImport_ofAlias_preferShortPath.ts index 84f955ad05f3d..aaea053032775 100644 --- a/tests/cases/fourslash/completionsImport_ofAlias_preferShortPath.ts +++ b/tests/cases/fourslash/completionsImport_ofAlias_preferShortPath.ts @@ -1,9 +1,8 @@ /// // Test that the completion is for the shortest path, even if that's a re-export. -// Note that `source` in completionEntries will still be the original exporting path, but we use the re-export in completionDetails. -// @moduleResolution: node +// @moduleResolution: node10 // @module: commonJs // @noLib: true diff --git a/tests/cases/fourslash/completionsImport_previousTokenIsSemicolon.ts b/tests/cases/fourslash/completionsImport_previousTokenIsSemicolon.ts index 23924ad33000e..bc1a96978ecc8 100644 --- a/tests/cases/fourslash/completionsImport_previousTokenIsSemicolon.ts +++ b/tests/cases/fourslash/completionsImport_previousTokenIsSemicolon.ts @@ -11,7 +11,7 @@ verify.completions({ marker: "", includes: { name: "foo", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "function foo(): void", kind: "function", diff --git a/tests/cases/fourslash/completionsImport_reExportDefault.ts b/tests/cases/fourslash/completionsImport_reExportDefault.ts index cc5e7dc509d21..0216f5730b556 100644 --- a/tests/cases/fourslash/completionsImport_reExportDefault.ts +++ b/tests/cases/fourslash/completionsImport_reExportDefault.ts @@ -1,7 +1,7 @@ /// // @module: esnext -// @moduleResolution: node +// @moduleResolution: node10 // @Filename: /a/b/impl.ts ////export default function foo() {} diff --git a/tests/cases/fourslash/completionsImport_reExport_wrongName.ts b/tests/cases/fourslash/completionsImport_reExport_wrongName.ts index a11e58e7ee611..8271b60b2614f 100644 --- a/tests/cases/fourslash/completionsImport_reExport_wrongName.ts +++ b/tests/cases/fourslash/completionsImport_reExport_wrongName.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /a.ts ////export const x = 0; @@ -17,7 +16,7 @@ verify.completions({ includes: [ { name: "x", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "const x: 0", hasAction: true, @@ -25,7 +24,7 @@ verify.completions({ }, { name: "y", - source: "/index", + source: ".", sourceDisplay: ".", text: "(alias) const y: 0\nexport y", hasAction: true, @@ -36,7 +35,7 @@ verify.completions({ }); verify.applyCodeActionFromCompletion("", { name: "x", - source: "/a", + source: "./a", description: `Add import from "./a"`, newFileContent: `import { x } from "./a"; @@ -44,7 +43,7 @@ verify.applyCodeActionFromCompletion("", { }); verify.applyCodeActionFromCompletion("", { name: "y", - source: "/index", + source: ".", description: `Add import from "."`, newFileContent: `import { y } from "."; import { x } from "./a"; diff --git a/tests/cases/fourslash/completionsImport_require.ts b/tests/cases/fourslash/completionsImport_require.ts index e1d04e00d9a4c..11fbbfed756c7 100644 --- a/tests/cases/fourslash/completionsImport_require.ts +++ b/tests/cases/fourslash/completionsImport_require.ts @@ -13,7 +13,7 @@ verify.completions({ marker: "b", includes: { name: "foo", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "const foo: 0", kind: "const", @@ -25,7 +25,7 @@ verify.completions({ }); verify.applyCodeActionFromCompletion("b", { name: "foo", - source: "/a", + source: "./a", description: `Add import from "./a"`, newFileContent: `import * as s from "something"; diff --git a/tests/cases/fourslash/completionsImport_require_addNew.ts b/tests/cases/fourslash/completionsImport_require_addNew.ts index ed7396cbfbae7..702e68d9ed556 100644 --- a/tests/cases/fourslash/completionsImport_require_addNew.ts +++ b/tests/cases/fourslash/completionsImport_require_addNew.ts @@ -13,7 +13,7 @@ verify.completions({ marker: "", includes: { name: "x", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "(alias) const x: 0\nimport x", hasAction: true, @@ -23,7 +23,7 @@ verify.completions({ }); verify.applyCodeActionFromCompletion("", { name: "x", - source: "/a", + source: "./a", description: `Add import from "./a"`, newFileContent: `const { x } = require("./a"); diff --git a/tests/cases/fourslash/completionsImport_require_addToExisting.ts b/tests/cases/fourslash/completionsImport_require_addToExisting.ts index bb856f36e1039..1c52e0f69f2a8 100644 --- a/tests/cases/fourslash/completionsImport_require_addToExisting.ts +++ b/tests/cases/fourslash/completionsImport_require_addToExisting.ts @@ -16,7 +16,7 @@ verify.completions({ marker: "", includes: { name: "x", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "(alias) const x: 0\nimport x", hasAction: true, @@ -26,7 +26,7 @@ verify.completions({ }); verify.applyCodeActionFromCompletion("", { name: "x", - source: "/a", + source: "./a", description: `Update import from "./a"`, newFileContent: `const { f, x } = require("./a"); diff --git a/tests/cases/fourslash/completionsImport_tsx.ts b/tests/cases/fourslash/completionsImport_tsx.ts index 3a495f1a0ceb2..a397857221a43 100644 --- a/tests/cases/fourslash/completionsImport_tsx.ts +++ b/tests/cases/fourslash/completionsImport_tsx.ts @@ -12,7 +12,7 @@ verify.completions({ marker: "", - includes: { name: "Foo", source: "/a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, + includes: { name: "Foo", source: "./a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }, excludes: "Bar", preferences: { includeCompletionsForModuleExports: true, diff --git a/tests/cases/fourslash/completionsImport_typeOnly.ts b/tests/cases/fourslash/completionsImport_typeOnly.ts index a1353e80a0991..3c0e58044da44 100644 --- a/tests/cases/fourslash/completionsImport_typeOnly.ts +++ b/tests/cases/fourslash/completionsImport_typeOnly.ts @@ -1,6 +1,7 @@ /// // @target: esnext +// @moduleResolution: bundler // @Filename: /a.ts //// export class A {} @@ -13,7 +14,7 @@ goTo.file('/b.ts'); verify.applyCodeActionFromCompletion('', { name: 'B', - source: '/a', + source: './a', description: `Update import from "./a"`, preferences: { includeCompletionsForModuleExports: true, diff --git a/tests/cases/fourslash/completionsImport_umdDefaultNoCrash1.ts b/tests/cases/fourslash/completionsImport_umdDefaultNoCrash1.ts index af2fe79e050f7..215184233ca5a 100644 --- a/tests/cases/fourslash/completionsImport_umdDefaultNoCrash1.ts +++ b/tests/cases/fourslash/completionsImport_umdDefaultNoCrash1.ts @@ -1,6 +1,6 @@ /// -// @moduleResolution: node +// @moduleResolution: bundler // @allowJs: true // @checkJs: true @@ -41,7 +41,7 @@ verify.completions({ { name: "Dottie", hasAction: true, - source: "/node_modules/dottie/dottie", + source: "dottie", sortText: completion.SortText.AutoImportSuggestions, }, ], diff --git a/tests/cases/fourslash/completionsImport_umdDefaultNoCrash2.ts b/tests/cases/fourslash/completionsImport_umdDefaultNoCrash2.ts index fbd4fce743ba1..175a40c8c4a56 100644 --- a/tests/cases/fourslash/completionsImport_umdDefaultNoCrash2.ts +++ b/tests/cases/fourslash/completionsImport_umdDefaultNoCrash2.ts @@ -1,6 +1,6 @@ /// -// @moduleResolution: node +// @moduleResolution: bundler // @allowJs: true // @checkJs: true diff --git a/tests/cases/fourslash/completionsImport_umdModules2_moduleExports.ts b/tests/cases/fourslash/completionsImport_umdModules2_moduleExports.ts index 56db8733cbc49..c4a12dd453981 100644 --- a/tests/cases/fourslash/completionsImport_umdModules2_moduleExports.ts +++ b/tests/cases/fourslash/completionsImport_umdModules2_moduleExports.ts @@ -25,7 +25,7 @@ verify.completions({ includes: [{ name: "classNames", hasAction: true, - source: "/node_modules/@types/classnames/index", + source: "classnames", sortText: completion.SortText.AutoImportSuggestions, }], preferences: { diff --git a/tests/cases/fourslash/completionsImport_weirdDefaultSynthesis.ts b/tests/cases/fourslash/completionsImport_weirdDefaultSynthesis.ts index 3cd86dbcba4af..3acc532bc7260 100644 --- a/tests/cases/fourslash/completionsImport_weirdDefaultSynthesis.ts +++ b/tests/cases/fourslash/completionsImport_weirdDefaultSynthesis.ts @@ -1,5 +1,9 @@ /// +// @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false + // @Filename: /collection.ts //// class Collection { //// public static readonly default: typeof Collection = Collection; @@ -11,7 +15,7 @@ verify.applyCodeActionFromCompletion("", { name: "Collection", - source: "/collection", + source: "./collection", description: `Add import from "./collection"`, preferences: { includeCompletionsForModuleExports: true diff --git a/tests/cases/fourslash/completionsPaths.ts b/tests/cases/fourslash/completionsPaths.ts index 8dc33a5f45b19..44604968fbcd1 100644 --- a/tests/cases/fourslash/completionsPaths.ts +++ b/tests/cases/fourslash/completionsPaths.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /node_modules/x/foo.d.ts ////not read diff --git a/tests/cases/fourslash/completionsPathsJsonModule.ts b/tests/cases/fourslash/completionsPathsJsonModule.ts index 06600834a0b3e..32919bc9ab29f 100644 --- a/tests/cases/fourslash/completionsPathsJsonModule.ts +++ b/tests/cases/fourslash/completionsPathsJsonModule.ts @@ -1,6 +1,6 @@ /// -// @moduleResolution: node +// @moduleResolution: bundler // @resolveJsonModule: true // @Filename: /project/node_modules/test.json diff --git a/tests/cases/fourslash/completionsPathsJsonModuleWithoutResolveJsonModule.ts b/tests/cases/fourslash/completionsPathsJsonModuleWithoutResolveJsonModule.ts index 95a4468324700..e450887c632d5 100644 --- a/tests/cases/fourslash/completionsPathsJsonModuleWithoutResolveJsonModule.ts +++ b/tests/cases/fourslash/completionsPathsJsonModuleWithoutResolveJsonModule.ts @@ -1,6 +1,6 @@ /// -// @moduleResolution: node +// @resolveJsonModule: false // @Filename: /project/test.json ////not read diff --git a/tests/cases/fourslash/completionsPathsRelativeJsonModule.ts b/tests/cases/fourslash/completionsPathsRelativeJsonModule.ts index 2f9c1bcf6e25b..f7689cda2ea23 100644 --- a/tests/cases/fourslash/completionsPathsRelativeJsonModule.ts +++ b/tests/cases/fourslash/completionsPathsRelativeJsonModule.ts @@ -1,6 +1,6 @@ /// -// @moduleResolution: node +// @moduleResolution: bundler // @resolveJsonModule: true // @Filename: /project/test.json diff --git a/tests/cases/fourslash/completionsPaths_importType.ts b/tests/cases/fourslash/completionsPaths_importType.ts index b001ebffc3b22..93f1c7cb5ebed 100644 --- a/tests/cases/fourslash/completionsPaths_importType.ts +++ b/tests/cases/fourslash/completionsPaths_importType.ts @@ -1,8 +1,7 @@ /// // @allowJs: true -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /ns.ts ////file content not read diff --git a/tests/cases/fourslash/completionsPaths_pathMapping_relativePath.ts b/tests/cases/fourslash/completionsPaths_pathMapping_relativePath.ts index b059a977eb9a7..11fe02ffa7dda 100644 --- a/tests/cases/fourslash/completionsPaths_pathMapping_relativePath.ts +++ b/tests/cases/fourslash/completionsPaths_pathMapping_relativePath.ts @@ -12,6 +12,7 @@ // @Filename: /x/tsconfig.json ////{ //// "compilerOptions": { +//// "resolveJsonModule": false, //// "baseUrl": ".", //// "paths": { //// "foo/*": ["./*"] diff --git a/tests/cases/fourslash/completionsPaths_pathMapping_topLevel.ts b/tests/cases/fourslash/completionsPaths_pathMapping_topLevel.ts index 1450247b97f89..88620434a49d6 100644 --- a/tests/cases/fourslash/completionsPaths_pathMapping_topLevel.ts +++ b/tests/cases/fourslash/completionsPaths_pathMapping_topLevel.ts @@ -6,6 +6,7 @@ // @Filename: /x/tsconfig.json ////{ //// "compilerOptions": { +//// "resolveJsonModule": false, //// "baseUrl": ".", //// "paths": { //// "foo/*": ["src/*"] diff --git a/tests/cases/fourslash/completionsRecommended_import.ts b/tests/cases/fourslash/completionsRecommended_import.ts index ccd77136afc19..ba628d38ef598 100644 --- a/tests/cases/fourslash/completionsRecommended_import.ts +++ b/tests/cases/fourslash/completionsRecommended_import.ts @@ -21,7 +21,7 @@ const preferences: FourSlashInterface.UserPreferences = { includeCompletionsForModuleExports: true }; const classEntry = (isConstructor: boolean): FourSlashInterface.ExpectedCompletionEntry => ({ name: "Cls", - source: "/a", + source: "./a", sourceDisplay: "./a", kind: "class", kindModifiers: "export", diff --git a/tests/cases/fourslash/completionsRecommended_namespace.ts b/tests/cases/fourslash/completionsRecommended_namespace.ts index 1b3d8c56726c3..7cdd0dd07dd0f 100644 --- a/tests/cases/fourslash/completionsRecommended_namespace.ts +++ b/tests/cases/fourslash/completionsRecommended_namespace.ts @@ -31,7 +31,7 @@ verify.completions( marker: ["b0", "b1"], includes: { name: "Name", - source: "/a", + source: "./a", sourceDisplay: "./a", text: "namespace Name", kind: "module", diff --git a/tests/cases/fourslash/completionsWithDeprecatedTag10.ts b/tests/cases/fourslash/completionsWithDeprecatedTag10.ts index dd44edab2a1f1..6e7e33aa96929 100644 --- a/tests/cases/fourslash/completionsWithDeprecatedTag10.ts +++ b/tests/cases/fourslash/completionsWithDeprecatedTag10.ts @@ -11,7 +11,7 @@ verify.completions({ marker: "", includes: [{ name: "foo", - source: "/foo", + source: "./foo", sourceDisplay: "./foo", hasAction: true, kind: "const", diff --git a/tests/cases/fourslash/exportEqualNamespaceClassESModuleInterop.ts b/tests/cases/fourslash/exportEqualNamespaceClassESModuleInterop.ts index dfb180e6fbcb2..b64b389ddc980 100644 --- a/tests/cases/fourslash/exportEqualNamespaceClassESModuleInterop.ts +++ b/tests/cases/fourslash/exportEqualNamespaceClassESModuleInterop.ts @@ -1,7 +1,7 @@ /// // @esModuleInterop: true -// @moduleResolution: node +// @moduleResolution: bundler // @target: es2015 // @module: esnext diff --git a/tests/cases/fourslash/findReferencesBindingPatternInJsdocNoCrash1.ts b/tests/cases/fourslash/findReferencesBindingPatternInJsdocNoCrash1.ts index 0da1724d3b566..74de4bda15dab 100644 --- a/tests/cases/fourslash/findReferencesBindingPatternInJsdocNoCrash1.ts +++ b/tests/cases/fourslash/findReferencesBindingPatternInJsdocNoCrash1.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: node_modules/use-query/package.json ////{ //// "name": "use-query", diff --git a/tests/cases/fourslash/findReferencesBindingPatternInJsdocNoCrash2.ts b/tests/cases/fourslash/findReferencesBindingPatternInJsdocNoCrash2.ts index f1f05aee20592..605f905b4862e 100644 --- a/tests/cases/fourslash/findReferencesBindingPatternInJsdocNoCrash2.ts +++ b/tests/cases/fourslash/findReferencesBindingPatternInJsdocNoCrash2.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: node_modules/use-query/package.json ////{ //// "name": "use-query", diff --git a/tests/cases/fourslash/importNameCodeFixDefaultExport5.ts b/tests/cases/fourslash/importNameCodeFixDefaultExport5.ts index d1fc610ce91db..1032694ebaf81 100644 --- a/tests/cases/fourslash/importNameCodeFixDefaultExport5.ts +++ b/tests/cases/fourslash/importNameCodeFixDefaultExport5.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /node_modules/hooks/useFoo.ts ////declare const _default: () => void; ////export default _default; diff --git a/tests/cases/fourslash/importNameCodeFixDefaultExport6.ts b/tests/cases/fourslash/importNameCodeFixDefaultExport6.ts index 0738cfb036561..e8de3fe507552 100644 --- a/tests/cases/fourslash/importNameCodeFixDefaultExport6.ts +++ b/tests/cases/fourslash/importNameCodeFixDefaultExport6.ts @@ -8,7 +8,7 @@ verify.applyCodeActionFromCompletion("", { name: "a", - source: "/a", + source: "./a", description: `Add import from "./a"`, newFileContent: `import a from "./a";\n\na`, preferences: { diff --git a/tests/cases/fourslash/importNameCodeFixExportAsDefault.ts b/tests/cases/fourslash/importNameCodeFixExportAsDefault.ts index 5cc0b99521033..22ac51c48b2c2 100644 --- a/tests/cases/fourslash/importNameCodeFixExportAsDefault.ts +++ b/tests/cases/fourslash/importNameCodeFixExportAsDefault.ts @@ -9,7 +9,7 @@ verify.applyCodeActionFromCompletion("", { name: "foo", - source: "/foo", + source: "./foo", description: `Add import from "./foo"`, newFileContent: `import foo from "./foo";\n\nfoo`, preferences: { diff --git a/tests/cases/fourslash/importNameCodeFixUMDGlobalReact0.ts b/tests/cases/fourslash/importNameCodeFixUMDGlobalReact0.ts index f630deb2a333e..2f5c72e032183 100644 --- a/tests/cases/fourslash/importNameCodeFixUMDGlobalReact0.ts +++ b/tests/cases/fourslash/importNameCodeFixUMDGlobalReact0.ts @@ -3,8 +3,7 @@ // @jsx: react // @allowSyntheticDefaultImports: false // @module: es2015 -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /node_modules/@types/react/index.d.ts ////export = React; ////export as namespace React; diff --git a/tests/cases/fourslash/importNameCodeFixUMDGlobalReact1.ts b/tests/cases/fourslash/importNameCodeFixUMDGlobalReact1.ts index 247b48e99cca7..dced123fe410c 100644 --- a/tests/cases/fourslash/importNameCodeFixUMDGlobalReact1.ts +++ b/tests/cases/fourslash/importNameCodeFixUMDGlobalReact1.ts @@ -3,8 +3,7 @@ // @jsx: react // @allowSyntheticDefaultImports: false // @module: es2015 -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /node_modules/@types/react/index.d.ts ////export = React; ////export as namespace React; diff --git a/tests/cases/fourslash/importNameCodeFix_all.ts b/tests/cases/fourslash/importNameCodeFix_all.ts index de0527f5c9c0f..dd558778e0e66 100644 --- a/tests/cases/fourslash/importNameCodeFix_all.ts +++ b/tests/cases/fourslash/importNameCodeFix_all.ts @@ -1,5 +1,9 @@ /// +// @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false + // @Filename: /a.ts ////export default function ad() {} ////export const a0 = 0; diff --git a/tests/cases/fourslash/importNameCodeFix_commonjs_allowSynthetic.ts b/tests/cases/fourslash/importNameCodeFix_commonjs_allowSynthetic.ts index 4798ca398694c..7767c03ace011 100644 --- a/tests/cases/fourslash/importNameCodeFix_commonjs_allowSynthetic.ts +++ b/tests/cases/fourslash/importNameCodeFix_commonjs_allowSynthetic.ts @@ -1,7 +1,7 @@ /// // @module: esnext -// @moduleResolution: node +// @moduleResolution: bundler // @allowJs: true // @checkJs: true // @allowSyntheticDefaultImports: true diff --git a/tests/cases/fourslash/importNameCodeFix_endingPreference.ts b/tests/cases/fourslash/importNameCodeFix_endingPreference.ts index 41a96e9cf0633..08eeb35fe114a 100644 --- a/tests/cases/fourslash/importNameCodeFix_endingPreference.ts +++ b/tests/cases/fourslash/importNameCodeFix_endingPreference.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /foo/index.ts ////export const foo = 0; diff --git a/tests/cases/fourslash/importNameCodeFix_exportEquals.ts b/tests/cases/fourslash/importNameCodeFix_exportEquals.ts index e413c4d4e1d2f..b209eac12f2fd 100644 --- a/tests/cases/fourslash/importNameCodeFix_exportEquals.ts +++ b/tests/cases/fourslash/importNameCodeFix_exportEquals.ts @@ -1,5 +1,9 @@ /// +// @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false + // @Filename: /a.d.ts ////declare function a(): void; ////declare namespace a { diff --git a/tests/cases/fourslash/importNameCodeFix_jsExtension.ts b/tests/cases/fourslash/importNameCodeFix_jsExtension.ts index b47e67d82b23b..e945ad91357e9 100644 --- a/tests/cases/fourslash/importNameCodeFix_jsExtension.ts +++ b/tests/cases/fourslash/importNameCodeFix_jsExtension.ts @@ -1,6 +1,6 @@ /// -// @moduleResolution: node +// @moduleResolution: bundler // @noLib: true // @jsx: preserve diff --git a/tests/cases/fourslash/importNameCodeFix_jsx2.ts b/tests/cases/fourslash/importNameCodeFix_jsx2.ts index 8b8ecad213d51..c2aba295e94d9 100644 --- a/tests/cases/fourslash/importNameCodeFix_jsx2.ts +++ b/tests/cases/fourslash/importNameCodeFix_jsx2.ts @@ -3,8 +3,7 @@ // @jsx: react // @module: esnext // @esModuleInterop: true -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /node_modules/react/index.d.ts ////export = React; ////export as namespace React; diff --git a/tests/cases/fourslash/importNameCodeFix_jsx3.ts b/tests/cases/fourslash/importNameCodeFix_jsx3.ts index b2a898292fae0..5982a30485475 100644 --- a/tests/cases/fourslash/importNameCodeFix_jsx3.ts +++ b/tests/cases/fourslash/importNameCodeFix_jsx3.ts @@ -3,8 +3,7 @@ // @jsx: react // @module: esnext // @esModuleInterop: true -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /node_modules/react/index.d.ts ////export = React; ////export as namespace React; diff --git a/tests/cases/fourslash/importNameCodeFix_jsx4.ts b/tests/cases/fourslash/importNameCodeFix_jsx4.ts index 5bbe9406a2db7..388789443de35 100644 --- a/tests/cases/fourslash/importNameCodeFix_jsx4.ts +++ b/tests/cases/fourslash/importNameCodeFix_jsx4.ts @@ -3,8 +3,7 @@ // @jsx: react // @module: esnext // @esModuleInterop: true -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /node_modules/react/index.d.ts ////export = React; ////export as namespace React; diff --git a/tests/cases/fourslash/importNameCodeFix_jsx5.ts b/tests/cases/fourslash/importNameCodeFix_jsx5.ts index d3c4ad8145ec0..2b298bd46e47c 100644 --- a/tests/cases/fourslash/importNameCodeFix_jsx5.ts +++ b/tests/cases/fourslash/importNameCodeFix_jsx5.ts @@ -3,8 +3,7 @@ // @jsx: react // @module: esnext // @esModuleInterop: true -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /node_modules/react/index.d.ts ////export = React; ////export as namespace React; diff --git a/tests/cases/fourslash/importNameCodeFix_jsx6.ts b/tests/cases/fourslash/importNameCodeFix_jsx6.ts index 0d90f619aced4..07c207f5cc54b 100644 --- a/tests/cases/fourslash/importNameCodeFix_jsx6.ts +++ b/tests/cases/fourslash/importNameCodeFix_jsx6.ts @@ -3,8 +3,7 @@ // @jsx: react // @module: esnext // @esModuleInterop: true -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /node_modules/react/index.d.ts ////export = React; ////export as namespace React; diff --git a/tests/cases/fourslash/importNameCodeFix_jsx7.ts b/tests/cases/fourslash/importNameCodeFix_jsx7.ts index 545d7db76e798..2f4a5a1cca724 100644 --- a/tests/cases/fourslash/importNameCodeFix_jsx7.ts +++ b/tests/cases/fourslash/importNameCodeFix_jsx7.ts @@ -3,8 +3,7 @@ // @jsx: react // @module: esnext // @esModuleInterop: true -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /node_modules/react/index.d.ts ////// React was not defined diff --git a/tests/cases/fourslash/importNameCodeFix_require_UMD.ts b/tests/cases/fourslash/importNameCodeFix_require_UMD.ts index 0ae27f33dec55..5b63e90e836db 100644 --- a/tests/cases/fourslash/importNameCodeFix_require_UMD.ts +++ b/tests/cases/fourslash/importNameCodeFix_require_UMD.ts @@ -2,6 +2,9 @@ // @allowJs: true // @checkJs: true +// @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false // @Filename: umd.d.ts ////namespace Foo { function f() {} } diff --git a/tests/cases/fourslash/importNameCodeFix_symlink.ts b/tests/cases/fourslash/importNameCodeFix_symlink.ts index 98bff0b9e80fc..d002070fabb05 100644 --- a/tests/cases/fourslash/importNameCodeFix_symlink.ts +++ b/tests/cases/fourslash/importNameCodeFix_symlink.ts @@ -1,6 +1,6 @@ /// -// @moduleResolution: node +// @moduleResolution: bundler // @noLib: true // @Filename: /node_modules/real/index.d.ts diff --git a/tests/cases/fourslash/importStatementCompletions_esModuleInterop1.ts b/tests/cases/fourslash/importStatementCompletions_esModuleInterop1.ts index 80c65f9eb6899..0dee3580ec2a6 100644 --- a/tests/cases/fourslash/importStatementCompletions_esModuleInterop1.ts +++ b/tests/cases/fourslash/importStatementCompletions_esModuleInterop1.ts @@ -1,6 +1,7 @@ /// // @esModuleInterop: false +// @allowSyntheticDefaultImports: false // @Filename: /mod.ts //// const foo = 0; diff --git a/tests/cases/fourslash/importStatementCompletions_js2.ts b/tests/cases/fourslash/importStatementCompletions_js2.ts index 9bc00dcf4d7d9..8be7586f2b5af 100644 --- a/tests/cases/fourslash/importStatementCompletions_js2.ts +++ b/tests/cases/fourslash/importStatementCompletions_js2.ts @@ -9,6 +9,8 @@ // @target: es2020 // @checkJs: true // @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false // @noEmit: true // @Filename: /node_modules/react/index.d.ts diff --git a/tests/cases/fourslash/importTypeCompletions5.ts b/tests/cases/fourslash/importTypeCompletions5.ts index 270a79adbe91a..647cc1f004a7b 100644 --- a/tests/cases/fourslash/importTypeCompletions5.ts +++ b/tests/cases/fourslash/importTypeCompletions5.ts @@ -1,5 +1,6 @@ /// +// @allowSyntheticDefaultImports: false // @esModuleInterop: false // @Filename: /foo.ts diff --git a/tests/cases/fourslash/javascriptModules22.ts b/tests/cases/fourslash/javascriptModules22.ts index ccc6d741c90d1..d2c9cd9e1c4c7 100644 --- a/tests/cases/fourslash/javascriptModules22.ts +++ b/tests/cases/fourslash/javascriptModules22.ts @@ -1,5 +1,8 @@ /// // @allowJs: true +// @module: commonjs +// @allowSyntheticDefaultImports: false +// @esModuleInterop: false // @Filename: mod.js //// function foo() { return {a: "hello, world"}; } diff --git a/tests/cases/fourslash/organizeImportsReactJsx.ts b/tests/cases/fourslash/organizeImportsReactJsx.ts index 38529f1bd0e7a..6e5ccb7bdaee5 100644 --- a/tests/cases/fourslash/organizeImportsReactJsx.ts +++ b/tests/cases/fourslash/organizeImportsReactJsx.ts @@ -1,7 +1,7 @@ /// // @allowSyntheticDefaultImports: true -// @moduleResolution: node +// @moduleResolution: bundler // @noUnusedLocals: true // @target: es2018 // @jsx: react-jsx diff --git a/tests/cases/fourslash/organizeImportsReactJsxDev.ts b/tests/cases/fourslash/organizeImportsReactJsxDev.ts index 0bf5b4f884867..de2be31661717 100644 --- a/tests/cases/fourslash/organizeImportsReactJsxDev.ts +++ b/tests/cases/fourslash/organizeImportsReactJsxDev.ts @@ -1,7 +1,7 @@ /// // @allowSyntheticDefaultImports: true -// @moduleResolution: node +// @moduleResolution: bundler // @noUnusedLocals: true // @target: es2018 // @jsx: react-jsxdev diff --git a/tests/cases/fourslash/organizeImportsType1.ts b/tests/cases/fourslash/organizeImportsType1.ts index 998cb2f041123..b0af3f2f86ecb 100644 --- a/tests/cases/fourslash/organizeImportsType1.ts +++ b/tests/cases/fourslash/organizeImportsType1.ts @@ -1,7 +1,7 @@ /// // @allowSyntheticDefaultImports: true -// @moduleResolution: node +// @moduleResolution: bundler // @noUnusedLocals: true // @target: es2018 diff --git a/tests/cases/fourslash/organizeImportsType2.ts b/tests/cases/fourslash/organizeImportsType2.ts index 57b2b4db26950..e3a5636eca0d8 100644 --- a/tests/cases/fourslash/organizeImportsType2.ts +++ b/tests/cases/fourslash/organizeImportsType2.ts @@ -1,7 +1,7 @@ /// // @allowSyntheticDefaultImports: true -// @moduleResolution: node +// @moduleResolution: bundler // @noUnusedLocals: true // @target: es2018 diff --git a/tests/cases/fourslash/pathCompletionsTypesVersionsWildcard2.ts b/tests/cases/fourslash/pathCompletionsTypesVersionsWildcard2.ts index 8c607bf1e0d6e..15bb43966ff71 100644 --- a/tests/cases/fourslash/pathCompletionsTypesVersionsWildcard2.ts +++ b/tests/cases/fourslash/pathCompletionsTypesVersionsWildcard2.ts @@ -1,6 +1,7 @@ /// // @module: commonjs +// @resolveJsonModule: false // @Filename: /node_modules/foo/package.json //// { diff --git a/tests/cases/fourslash/pathCompletionsTypesVersionsWildcard3.ts b/tests/cases/fourslash/pathCompletionsTypesVersionsWildcard3.ts index 0d6d704b14a54..f3d3c571dcdca 100644 --- a/tests/cases/fourslash/pathCompletionsTypesVersionsWildcard3.ts +++ b/tests/cases/fourslash/pathCompletionsTypesVersionsWildcard3.ts @@ -1,6 +1,7 @@ /// // @module: commonjs +// @resolveJsonModule: false // @Filename: /node_modules/foo/package.json //// { diff --git a/tests/cases/fourslash/pathCompletionsTypesVersionsWildcard4.ts b/tests/cases/fourslash/pathCompletionsTypesVersionsWildcard4.ts index 038bda22ac165..a8e731abee170 100644 --- a/tests/cases/fourslash/pathCompletionsTypesVersionsWildcard4.ts +++ b/tests/cases/fourslash/pathCompletionsTypesVersionsWildcard4.ts @@ -1,6 +1,7 @@ /// // @module: commonjs +// @resolveJsonModule: false // @Filename: /node_modules/foo/package.json //// { diff --git a/tests/cases/fourslash/refactorConvertImport_namespaceToNamed_namespaceUsed.ts b/tests/cases/fourslash/refactorConvertImport_namespaceToNamed_namespaceUsed.ts index 4f965d6d7820b..206470a3c9e71 100644 --- a/tests/cases/fourslash/refactorConvertImport_namespaceToNamed_namespaceUsed.ts +++ b/tests/cases/fourslash/refactorConvertImport_namespaceToNamed_namespaceUsed.ts @@ -1,5 +1,9 @@ /// +// @module: commonjs +// @esModuleInterop: false +// @allowSyntheticDefaultImports: false + /////*a*/import * as m from "m";/*b*/ ////m.a; ////m; diff --git a/tests/cases/fourslash/server/autoImportProvider6.ts b/tests/cases/fourslash/server/autoImportProvider6.ts index 7c87650af13a6..1e78cd44e858c 100644 --- a/tests/cases/fourslash/server/autoImportProvider6.ts +++ b/tests/cases/fourslash/server/autoImportProvider6.ts @@ -27,7 +27,7 @@ verify.completions({ includes: [{ name: "Component", hasAction: true, - source: "/home/src/workspaces/project/node_modules/@types/react/index", + source: "react", sortText: completion.SortText.AutoImportSuggestions, }], preferences: { diff --git a/tests/cases/fourslash/server/autoImportProvider_exportMap2.ts b/tests/cases/fourslash/server/autoImportProvider_exportMap2.ts index 2f02f9b5b676a..be0dfda31eed0 100644 --- a/tests/cases/fourslash/server/autoImportProvider_exportMap2.ts +++ b/tests/cases/fourslash/server/autoImportProvider_exportMap2.ts @@ -1,11 +1,12 @@ /// -// This one uses --module=commonjs, so the export map is not followed. +// This one uses --moduleResolution=node10, so the export map is not followed. // @Filename: /home/src/workspaces/project/tsconfig.json //// { //// "compilerOptions": { //// "module": "commonjs" +//// "moduleResolution": "node10", //// } //// } diff --git a/tests/cases/fourslash/server/completionsImport_defaultAndNamedConflict_server.ts b/tests/cases/fourslash/server/completionsImport_defaultAndNamedConflict_server.ts index ce4dd63bd8545..c09444c8cf72d 100644 --- a/tests/cases/fourslash/server/completionsImport_defaultAndNamedConflict_server.ts +++ b/tests/cases/fourslash/server/completionsImport_defaultAndNamedConflict_server.ts @@ -15,7 +15,7 @@ verify.completions({ includes: [ { name: "someModule", - source: "/home/src/workspaces/project/someModule", + source: "./someModule", sourceDisplay: "./someModule", text: "(property) default: 1", kind: "property", @@ -26,7 +26,7 @@ verify.completions({ }, { name: "someModule", - source: "/home/src/workspaces/project/someModule", + source: "./someModule", sourceDisplay: "./someModule", text: "const someModule: 0", kind: "const", @@ -43,8 +43,8 @@ verify.completions({ verify.applyCodeActionFromCompletion("", { name: "someModule", - source: "/home/src/workspaces/project/someModule", - data: { exportName: "default", fileName: "/home/src/workspaces/project/someModule.ts" }, + source: "./someModule", + data: { exportName: "default", fileName: "/home/src/workspaces/project/someModule.ts", "moduleSpecifier": "./someModule" }, description: `Add import from "./someModule"`, newFileContent: `import someModule from "./someModule";\r\n\r\nsomeMo` }); diff --git a/tests/cases/fourslash/server/completionsImport_jsModuleExportsAssignment.ts b/tests/cases/fourslash/server/completionsImport_jsModuleExportsAssignment.ts index 5d06ee7e55c60..f2f0e98dcc9a7 100644 --- a/tests/cases/fourslash/server/completionsImport_jsModuleExportsAssignment.ts +++ b/tests/cases/fourslash/server/completionsImport_jsModuleExportsAssignment.ts @@ -36,7 +36,7 @@ verify.completions({ excludes: ["newDefaults"], includes: [{ name: "defaults", - source: "/home/src/workspaces/project/third_party/marked/src/defaults", + source: "./third_party/marked/src/defaults", hasAction: true, sortText: completion.SortText.AutoImportSuggestions, }], @@ -45,11 +45,12 @@ verify.completions({ verify.applyCodeActionFromCompletion("", { name: "defaults", - source: "/home/src/workspaces/project/third_party/marked/src/defaults", + source: "./third_party/marked/src/defaults", description: `Add import from "./third_party/marked/src/defaults"`, data: { exportName: "defaults", fileName: "/home/src/workspaces/project/third_party/marked/src/defaults.js", + moduleSpecifier: "./third_party/marked/src/defaults", }, newFileContent: `import { defaults } from "./third_party/marked/src/defaults"; diff --git a/tests/cases/fourslash/server/completionsImport_mergedReExport.ts b/tests/cases/fourslash/server/completionsImport_mergedReExport.ts index 3e71391c31550..8a0b7ad0a861d 100644 --- a/tests/cases/fourslash/server/completionsImport_mergedReExport.ts +++ b/tests/cases/fourslash/server/completionsImport_mergedReExport.ts @@ -35,7 +35,7 @@ verify.completions({ marker: "", includes: [{ name: "Config", - source: "/home/src/workspaces/project/node_modules/@jest/types/index", + source: "@jest/types", hasAction: true, sortText: completion.SortText.AutoImportSuggestions, }], diff --git a/tests/cases/fourslash/server/goToSource10_mapFromAtTypes3.ts b/tests/cases/fourslash/server/goToSource10_mapFromAtTypes3.ts index d2f0642af7b20..b9478ab28ca48 100644 --- a/tests/cases/fourslash/server/goToSource10_mapFromAtTypes3.ts +++ b/tests/cases/fourslash/server/goToSource10_mapFromAtTypes3.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /home/src/workspaces/project/node_modules/lodash/package.json //// { "name": "lodash", "version": "4.17.15", "main": "./lodash.js" } diff --git a/tests/cases/fourslash/server/goToSource11_propertyOfAlias.ts b/tests/cases/fourslash/server/goToSource11_propertyOfAlias.ts index 3bce260c95318..5cf50bc173314 100644 --- a/tests/cases/fourslash/server/goToSource11_propertyOfAlias.ts +++ b/tests/cases/fourslash/server/goToSource11_propertyOfAlias.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /home/src/workspaces/project/a.js //// export const a = { /*end*/a: 'a' }; diff --git a/tests/cases/fourslash/server/goToSource12_callbackParam.ts b/tests/cases/fourslash/server/goToSource12_callbackParam.ts index 5ae08d09a511a..e2a2cb0ba30d1 100644 --- a/tests/cases/fourslash/server/goToSource12_callbackParam.ts +++ b/tests/cases/fourslash/server/goToSource12_callbackParam.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // Actual yargs doesn't work like this because the implementation package's // main entry exports a small function wrapper function whose return value // is derived from something imported from another file where all the diff --git a/tests/cases/fourslash/server/goToSource16_callbackParamDifferentFile.ts b/tests/cases/fourslash/server/goToSource16_callbackParamDifferentFile.ts index 1039778d21a30..f6bb51667a533 100644 --- a/tests/cases/fourslash/server/goToSource16_callbackParamDifferentFile.ts +++ b/tests/cases/fourslash/server/goToSource16_callbackParamDifferentFile.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // This is just modified repro to ensure we are resolving module specifier thats not already present in the file // @Filename: /home/src/workspaces/project/node_modules/@types/yargs/package.json diff --git a/tests/cases/fourslash/server/goToSource17_AddsFileToProject.ts b/tests/cases/fourslash/server/goToSource17_AddsFileToProject.ts index 2a47518b265e3..0f0bec0c89a70 100644 --- a/tests/cases/fourslash/server/goToSource17_AddsFileToProject.ts +++ b/tests/cases/fourslash/server/goToSource17_AddsFileToProject.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // This is just made up repro where the js file will be added to auxillary project because its not already part of the project // Where in js file doesnt already have import to the corresponding js file hence will be added to project at later on stage diff --git a/tests/cases/fourslash/server/goToSource18_reusedFromDifferentFolder.ts b/tests/cases/fourslash/server/goToSource18_reusedFromDifferentFolder.ts index acf231fb11fa8..44acf89343bdf 100644 --- a/tests/cases/fourslash/server/goToSource18_reusedFromDifferentFolder.ts +++ b/tests/cases/fourslash/server/goToSource18_reusedFromDifferentFolder.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // This is just made up repro where the js file will be added to auxillary project because its not already part of the project // Where in js file doesnt already have import to the corresponding js file hence will be added to project at later on stage diff --git a/tests/cases/fourslash/server/goToSource2_nodeModulesWithTypes.ts b/tests/cases/fourslash/server/goToSource2_nodeModulesWithTypes.ts index 26ab3b030cce3..024df9bcadda6 100644 --- a/tests/cases/fourslash/server/goToSource2_nodeModulesWithTypes.ts +++ b/tests/cases/fourslash/server/goToSource2_nodeModulesWithTypes.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /home/src/workspaces/project/node_modules/foo/package.json //// { "name": "foo", "version": "1.0.0", "main": "./lib/main.js", "types": "./types/main.d.ts" } diff --git a/tests/cases/fourslash/server/goToSource3_nodeModulesAtTypes.ts b/tests/cases/fourslash/server/goToSource3_nodeModulesAtTypes.ts index 57136f73a99a2..c0715e545e80e 100644 --- a/tests/cases/fourslash/server/goToSource3_nodeModulesAtTypes.ts +++ b/tests/cases/fourslash/server/goToSource3_nodeModulesAtTypes.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /home/src/workspaces/project/node_modules/foo/package.json //// { "name": "foo", "version": "1.0.0", "main": "./lib/main.js" } diff --git a/tests/cases/fourslash/server/goToSource7_conditionallyMinified.ts b/tests/cases/fourslash/server/goToSource7_conditionallyMinified.ts index 7e76f212da0d8..2ff5c94c0b59b 100644 --- a/tests/cases/fourslash/server/goToSource7_conditionallyMinified.ts +++ b/tests/cases/fourslash/server/goToSource7_conditionallyMinified.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /home/src/workspaces/project/node_modules/react/package.json //// { "name": "react", "version": "16.8.6", "main": "index.js" } diff --git a/tests/cases/fourslash/server/goToSource8_mapFromAtTypes.ts b/tests/cases/fourslash/server/goToSource8_mapFromAtTypes.ts index 600a361856e33..5a8daaa985f64 100644 --- a/tests/cases/fourslash/server/goToSource8_mapFromAtTypes.ts +++ b/tests/cases/fourslash/server/goToSource8_mapFromAtTypes.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /home/src/workspaces/project/node_modules/lodash/package.json //// { "name": "lodash", "version": "4.17.15", "main": "./lodash.js" } diff --git a/tests/cases/fourslash/server/goToSource9_mapFromAtTypes2.ts b/tests/cases/fourslash/server/goToSource9_mapFromAtTypes2.ts index 60e9b7a2c1aa8..4a776772da3bb 100644 --- a/tests/cases/fourslash/server/goToSource9_mapFromAtTypes2.ts +++ b/tests/cases/fourslash/server/goToSource9_mapFromAtTypes2.ts @@ -1,7 +1,6 @@ /// -// @moduleResolution: node - +// @moduleResolution: bundler // @Filename: /home/src/workspaces/project/node_modules/lodash/package.json //// { "name": "lodash", "version": "4.17.15", "main": "./lodash.js" }