Nathan Whitaker
48da3c17ea
fix(add): Handle packages without root exports ( #25102 )
...
Fixes #24607 .
This PR makes the logic that caches top level dependencies (things
present in import map) smarter, so we handle JSR dependencies without
root exports.
2024-08-21 15:23:32 -07:00
David Sherret
37279e0b0a
fix(add): error when config file contains importMap field ( #25115 )
...
The "imports" field has higher precedence than "importMap", so we should
error when `deno add` goes to add an `"imports"` field.
Closes https://github.com/denoland/deno/issues/24264
Closes https://github.com/denoland/deno/pull/24478
2024-08-20 16:32:01 -04:00
David Sherret
085058cfff
feat: deno remove ( #24952 )
...
Co-authored-by: Satya Rohith <me@satyarohith.com>
2024-08-12 16:17:25 -04:00
Nathan Whitaker
218ee1b1ff
fix(add): Better error message when missing npm specifier ( #24970 )
...
Before:
<img width="278" alt="Screenshot 2024-08-09 at 3 15 01 PM"
src="https://github.com/user-attachments/assets/91b0ada6-93ee-4be6-a996-078aef98c2a9 ">
After:
<img width="888" alt="Screenshot 2024-08-09 at 3 52 15 PM"
src="https://github.com/user-attachments/assets/3c88a0e8-c761-4f70-88bf-109355ac12f0 ">
2024-08-09 14:29:11 +00:00
Nathan Whitaker
3f692bed0a
fix(add): Support dist tags in deno add ( #24960 )
...
Fixes #24956 .
2024-08-08 16:45:41 +00:00