1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/tests/specs/add/add_with_subpath
Bartek Iwańczuk c58a628e2f
feat(add): strip package subpath when adding a package (#25419)
These now works:
```
$ deno add @std/dotenv/load
$ deno add npm:preact/hooks
```
Previously we were erroring out, because this is a "package reference"
including
a subpath.

Closes https://github.com/denoland/deno/issues/25385

---------

Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2024-09-04 12:55:30 +00:00
..
__test__.jsonc feat(add): strip package subpath when adding a package (#25419) 2024-09-04 12:55:30 +00:00
add.out feat(add): strip package subpath when adding a package (#25419) 2024-09-04 12:55:30 +00:00
deno.json feat(add): strip package subpath when adding a package (#25419) 2024-09-04 12:55:30 +00:00
wrong_constraint_jsr.out feat(add): strip package subpath when adding a package (#25419) 2024-09-04 12:55:30 +00:00
wrong_constraint_npm.out feat(add): strip package subpath when adding a package (#25419) 2024-09-04 12:55:30 +00:00