David Sherret
b1e29d1bd0
fix(npm): improve package.json exports support for types ( #16880 )
2022-11-30 23:07:32 +00:00
David Sherret
d3299c2d6c
fix(npm): don't resolve JS files when resolving types ( #16854 )
...
Closes #16851
2022-11-28 17:48:56 -05:00
David Sherret
823a5f6015
fix(npm/types): resolve main entrypoint declaration file when no types entry ( #16791 )
...
Closes #16782
2022-11-24 19:13:51 +01:00
David Sherret
a57134de38
fix(npm): handle directory resolution when resolving declaration files ( #16706 )
...
Also fixes resolving specifiers like `./something.generated` in
declaration files.
Closes #16695
2022-11-19 10:40:01 -05:00
Bartek Iwańczuk
1416713cb3
fix(npm): using types for packages with subpath ( #16656 )
...
For CommonJS packages we were not trying different extensions for files
specified as subpath of the package ([package_name]/[subpath]).
This commit fixes that.
2022-11-16 20:41:27 +01:00
David Sherret
bcfe279fba
feat(unstable/npm): initial type checking of npm specifiers ( #16332 )
2022-10-21 15:20:18 +00:00
David Sherret
716005a0d4
feat(npm): add flag for creating and resolving npm packages to a local node_modules folder ( #15971 )
2022-09-22 11:17:02 -04:00
David Sherret
73efed218f
refactor(npm): create general use NpmPackageResolver
( #15882 )
2022-09-13 11:59:01 -04:00
David Sherret
98454c1eb8
fix(npm): support cjs resolution of package subpath with package.json ( #15855 )
2022-09-12 15:47:54 -04:00
Bartek Iwańczuk
f2448c5de2
fix(npm): conditional exports in npm: specifiers ( #15778 )
2022-09-06 12:56:34 +02:00
David Sherret
5f251b283b
fix(npm): prefer importing esm from esm ( #15676 )
2022-08-30 14:09:22 -04:00
Bartek Iwańczuk
2851a98072
fix(npm): conditional exports with wildcards ( #15652 )
2022-08-29 19:15:20 +02:00
Bartek Iwańczuk
5268fa0e0f
fix(unstable): various resolution bugs for npm: specifiers ( #15546 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-08-24 14:54:20 +02:00
David Sherret
87f80ff6be
feat(unstable): initial support for npm specifiers ( #15484 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-08-20 11:31:33 -04:00