Files
tsgo/testdata/baselines/reference/compiler/duplicatePackage_peerDependencies.trace.json

89 lines
6.1 KiB
JSON

======== Resolving module 'a' from '/src/a.ts'. ========
Module resolution kind is not specified, using 'Node16'.
Resolving in CJS mode with conditions 'require', 'types', 'node'.
File '/src/package.json' does not exist.
File '/package.json' does not exist.
Loading module 'a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration.
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/a/package.json' does not exist.
File '/node_modules/a.ts' does not exist.
File '/node_modules/a.tsx' does not exist.
File '/node_modules/a.d.ts' does not exist.
File '/node_modules/a/index.ts' does not exist.
File '/node_modules/a/index.tsx' does not exist.
File '/node_modules/a/index.d.ts' exists - use it as a name resolution result.
Resolving real path for '/node_modules/a/index.d.ts', result '/node_modules/a/index.d.ts'.
======== Module name 'a' was successfully resolved to '/node_modules/a/index.d.ts'. ========
======== Resolving module 'b' from '/src/a.ts'. ========
Module resolution kind is not specified, using 'Node16'.
Resolving in CJS mode with conditions 'require', 'types', 'node'.
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 'b' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration.
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/b/package.json' does not exist.
File '/node_modules/b.ts' does not exist.
File '/node_modules/b.tsx' does not exist.
File '/node_modules/b.d.ts' does not exist.
File '/node_modules/b/index.ts' does not exist.
File '/node_modules/b/index.tsx' does not exist.
File '/node_modules/b/index.d.ts' exists - use it as a name resolution result.
Resolving real path for '/node_modules/b/index.d.ts', result '/node_modules/b/index.d.ts'.
======== Module name 'b' was successfully resolved to '/node_modules/b/index.d.ts'. ========
======== Resolving module 'foo' from '/node_modules/a/index.d.ts'. ========
Module resolution kind is not specified, using 'Node16'.
Resolving in CJS mode with conditions 'require', 'types', 'node'.
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 according to earlier cached lookups.
Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration.
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.
File '/node_modules/a/node_modules/foo.tsx' does not exist.
File '/node_modules/a/node_modules/foo.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' does not have a 'main' field.
File '/node_modules/a/node_modules/foo/index.ts' does not exist.
File '/node_modules/a/node_modules/foo/index.tsx' does not exist.
File '/node_modules/a/node_modules/foo/index.d.ts' exists - use it as a name resolution result.
'package.json' has a 'peerDependencies' field.
Resolving real path for '/node_modules/a/node_modules/foo', result '/node_modules/a/node_modules/foo'.
Found 'package.json' at '/node_modules/a/node_modules/peer-a/package.json'.
Found peerDependency 'peer-a' with '2.0.0' version.
Found 'package.json' at '/node_modules/a/node_modules/peer-b/package.json'.
Found peerDependency 'peer-b' with '3.0.0' version.
Resolving real path for '/node_modules/a/node_modules/foo/index.d.ts', result '/node_modules/a/node_modules/foo/index.d.ts'.
======== Module name 'foo' was successfully resolved to '/node_modules/a/node_modules/foo/index.d.ts' with Package ID 'foo/index.d.ts@1.0.0+peer-a@2.0.0+peer-b@3.0.0'. ========
======== Resolving module 'foo' from '/node_modules/b/index.d.ts'. ========
Module resolution kind is not specified, using 'Node16'.
Resolving in CJS mode with conditions 'require', 'types', 'node'.
File '/node_modules/b/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.
Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
Found 'package.json' at '/node_modules/b/node_modules/foo/package.json'.
File '/node_modules/b/node_modules/foo.ts' does not exist.
File '/node_modules/b/node_modules/foo.tsx' does not exist.
File '/node_modules/b/node_modules/foo.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' does not have a 'main' field.
File '/node_modules/b/node_modules/foo/index.ts' does not exist.
File '/node_modules/b/node_modules/foo/index.tsx' does not exist.
File '/node_modules/b/node_modules/foo/index.d.ts' exists - use it as a name resolution result.
'package.json' has a 'peerDependencies' field.
Resolving real path for '/node_modules/b/node_modules/foo', result '/node_modules/b/node_modules/foo'.
Found 'package.json' at '/node_modules/b/node_modules/peer-a/package.json'.
Found peerDependency 'peer-a' with '2.0.0' version.
Found 'package.json' at '/node_modules/b/node_modules/peer-b/package.json'.
Found peerDependency 'peer-b' with '3.0.0' version.
Resolving real path for '/node_modules/b/node_modules/foo/index.d.ts', result '/node_modules/b/node_modules/foo/index.d.ts'.
======== Module name 'foo' was successfully resolved to '/node_modules/b/node_modules/foo/index.d.ts' with Package ID 'foo/index.d.ts@1.0.0+peer-a@2.0.0+peer-b@3.0.0'. ========