David Sherret
1bd66b09cc
refactor: move CliNpmResolver
to deno_resolver::npm::NpmResolver
( #27659 )
...
As title. After this PR all npm resolution will be out of the CLI crate.
2025-01-16 23:32:11 +01:00
David Sherret
f3e851927c
refactor(npm): extract out some npm fs resolution code from the cli ( #27607 )
...
Moves the npm fs resolvers into the deno_resolution crate.
This does not entirely move things out, but is a step in that direction.
2025-01-09 15:19:21 -05:00
Leo Kettmeir
5064e9051b
refactor: update deno_core for error refactor ( #26867 )
...
Closes #26171
---------
Co-authored-by: David Sherret <dsherret@gmail.com>
2025-01-09 15:19:21 -05:00
Kenta Moriuchi
a39c83170f
chore: Happy New Year 2025 ( #27509 )
2025-01-09 15:19:16 -05:00
David Sherret
68287ab9b1
refactor: use sys_traits ( #27480 )
2025-01-09 15:19:14 -05:00
Bartek Iwańczuk
fbf569fdfa
refactor: add 'sync' feature to deno_resolver crate ( #27357 )
2025-01-09 15:19:08 -05:00
David Sherret
40866e3aa4
fix(npm): search node_modules folder for package matching npm specifier ( #27345 )
2025-01-09 15:19:07 -05:00
David Sherret
8cd9fa6aae
fix(node): correct resolution of dynamic import of esm from cjs ( #27071 )
...
Ensures a dynamic import in a CJS file will consider the referrer as an import for node resolution.
Also adds fixes (adds) support for `"resolution-mode"` in TypeScript.
2024-11-28 15:47:26 +01:00
David Sherret
48b94c0995
refactor: use boxed_error in some places ( #26887 )
2024-11-15 23:22:50 -05:00
David Sherret
617350e79c
refactor(resolver): move more resolution code into deno_resolver ( #26873 )
...
Follow-up to cjs refactor.
This moves most of the resolution code into the deno_resolver crate.
Still pending is the npm resolution code.
2024-11-14 15:24:25 -05:00
David Sherret
69ab720025
refactor: move ByonmNpmResolver to deno_resolver ( #25937 )
...
Some more slow progress on moving all the resolution code into
deno_resolver.
2024-09-30 13:33:32 +00:00
David Sherret
5faf769ac6
refactor: extract out sloppy imports resolution from CLI crate ( #25920 )
...
This is slow progress towards creating a `deno_resolver` crate.
Waiting on:
* https://github.com/denoland/deno/pull/25918
* https://github.com/denoland/deno/pull/25916
2024-09-28 19:17:48 -04:00