TypeScript/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json
Sheetal Nandi f6d425e1e3
Module Resolution and Type Reference directive cache updates and its API changes (#43700)
* Make the module resolution cache apis for updating compiler options or clearing it

* Cache package.json lookup results from module resolution

* Use per directory cache for type reference directive resolution as well

* Update Baselines and/or Applied Lint Fixes

* Change trace according to feedback

* Update Baselines and/or Applied Lint Fixes

Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2021-04-21 21:30:18 -07:00

55 lines
4 KiB
JSON

[
"======== Resolving type reference directive 'linked', containing file '/app/app.ts', root directory not set. ========",
"Root directory cannot be determined, skipping primary search paths.",
"Looking up in 'node_modules' folder, initial location '/app'.",
"File '/app/node_modules/linked/package.json' does not exist.",
"File '/app/node_modules/linked.d.ts' does not exist.",
"File '/app/node_modules/linked/index.d.ts' exist - use it as a name resolution result.",
"======== Type reference directive 'linked' was successfully resolved to '/app/node_modules/linked/index.d.ts', primary: false. ========",
"======== Resolving module 'real' from '/app/node_modules/linked/index.d.ts'. ========",
"Explicitly specified module resolution kind: 'NodeJs'.",
"Loading module 'real' from 'node_modules' folder, target file type 'TypeScript'.",
"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.",
"File '/app/node_modules/real.ts' does not exist.",
"File '/app/node_modules/real.tsx' does not exist.",
"File '/app/node_modules/real.d.ts' does not exist.",
"File '/app/node_modules/real/index.ts' does not exist.",
"File '/app/node_modules/real/index.tsx' does not exist.",
"File '/app/node_modules/real/index.d.ts' exist - use it as a name resolution result.",
"======== Module name 'real' was successfully resolved to '/app/node_modules/real/index.d.ts'. ========",
"======== Resolving module 'linked' from '/app/app.ts'. ========",
"Explicitly specified module resolution kind: 'NodeJs'.",
"Loading module 'linked' from 'node_modules' folder, target file type 'TypeScript'.",
"File '/app/node_modules/linked/package.json' does not exist according to earlier cached lookups.",
"File '/app/node_modules/linked.ts' does not exist.",
"File '/app/node_modules/linked.tsx' does not exist.",
"File '/app/node_modules/linked.d.ts' does not exist.",
"File '/app/node_modules/linked/index.ts' does not exist.",
"File '/app/node_modules/linked/index.tsx' does not exist.",
"File '/app/node_modules/linked/index.d.ts' exist - 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: 'NodeJs'.",
"Loading module 'linked2' from 'node_modules' folder, target file type 'TypeScript'.",
"File '/app/node_modules/linked2/package.json' does not exist.",
"File '/app/node_modules/linked2.ts' does not exist.",
"File '/app/node_modules/linked2.tsx' does not exist.",
"File '/app/node_modules/linked2.d.ts' does not exist.",
"File '/app/node_modules/linked2/index.ts' does not exist.",
"File '/app/node_modules/linked2/index.tsx' does not exist.",
"File '/app/node_modules/linked2/index.d.ts' exist - use it as a name resolution result.",
"======== Module name 'linked2' was successfully resolved to '/app/node_modules/linked2/index.d.ts'. ========",
"======== Resolving module 'real' from '/app/node_modules/linked2/index.d.ts'. ========",
"Explicitly specified module resolution kind: 'NodeJs'.",
"Loading module 'real' from 'node_modules' folder, target file type 'TypeScript'.",
"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.",
"File '/app/node_modules/real.ts' does not exist.",
"File '/app/node_modules/real.tsx' does not exist.",
"File '/app/node_modules/real.d.ts' does not exist.",
"File '/app/node_modules/real/index.ts' does not exist.",
"File '/app/node_modules/real/index.tsx' does not exist.",
"File '/app/node_modules/real/index.d.ts' exist - use it as a name resolution result.",
"======== Module name 'real' was successfully resolved to '/app/node_modules/real/index.d.ts'. ========"
]