-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional diagnostic for packages that only resolve under non-`e…
…xports`-respecting modes (#52173)
- Loading branch information
1 parent
9cdba99
commit 3e9703f
Showing
13 changed files
with
546 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,6 +99,16 @@ | |
"File name '/node_modules/exports-and-types-versions/dist/foo.js' has a '.js' extension - stripping it.", | ||
"File '/node_modules/exports-and-types-versions/dist/foo.js' exist - use it as a name resolution result.", | ||
"Resolving real path for '/node_modules/exports-and-types-versions/dist/foo.js', result '/node_modules/exports-and-types-versions/dist/foo.js'.", | ||
"Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", | ||
"File '/package.json' does not exist according to earlier cached lookups.", | ||
"Loading module 'exports-and-types-versions/foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", | ||
"File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", | ||
"'package.json' has a 'typesVersions' field with version-specific path mappings.", | ||
"'package.json' has a 'typesVersions' entry '*' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'foo'.", | ||
"Module name 'foo', matched pattern 'foo'.", | ||
"Trying substitution './types/foo.d.ts', candidate module location: './types/foo.d.ts'.", | ||
"File '/node_modules/exports-and-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", | ||
"Resolving real path for '/node_modules/exports-and-types-versions/types/foo.d.ts', result '/node_modules/exports-and-types-versions/types/foo.d.ts'.", | ||
"======== Module name 'exports-and-types-versions/foo' was successfully resolved to '/node_modules/exports-and-types-versions/dist/foo.js' with Package ID 'exports-and-types-versions/dist/[email protected]'. ========", | ||
"======== Resolving module 'exports-and-types-versions/nope' from '/main.mts'. ========", | ||
"Module resolution kind is not specified, using 'Node16'.", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,6 +99,16 @@ | |
"File name '/node_modules/exports-and-types-versions/dist/foo.js' has a '.js' extension - stripping it.", | ||
"File '/node_modules/exports-and-types-versions/dist/foo.js' exist - use it as a name resolution result.", | ||
"Resolving real path for '/node_modules/exports-and-types-versions/dist/foo.js', result '/node_modules/exports-and-types-versions/dist/foo.js'.", | ||
"Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", | ||
"File '/package.json' does not exist according to earlier cached lookups.", | ||
"Loading module 'exports-and-types-versions/foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", | ||
"File '/node_modules/exports-and-types-versions/package.json' exists according to earlier cached lookups.", | ||
"'package.json' has a 'typesVersions' field with version-specific path mappings.", | ||
"'package.json' has a 'typesVersions' entry '*' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'foo'.", | ||
"Module name 'foo', matched pattern 'foo'.", | ||
"Trying substitution './types/foo.d.ts', candidate module location: './types/foo.d.ts'.", | ||
"File '/node_modules/exports-and-types-versions/types/foo.d.ts' exist - use it as a name resolution result.", | ||
"Resolving real path for '/node_modules/exports-and-types-versions/types/foo.d.ts', result '/node_modules/exports-and-types-versions/types/foo.d.ts'.", | ||
"======== Module name 'exports-and-types-versions/foo' was successfully resolved to '/node_modules/exports-and-types-versions/dist/foo.js' with Package ID 'exports-and-types-versions/dist/[email protected]'. ========", | ||
"======== Resolving module 'exports-and-types-versions/nope' from '/main.mts'. ========", | ||
"Module resolution kind is not specified, using 'NodeNext'.", | ||
|
Oops, something went wrong.