mirror of
https://github.com/denoland/deno.git
synced 2025-02-21 21:03:16 -05:00

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>
19 lines
388 B
JSON
19 lines
388 B
JSON
{
|
|
"tempDir": true,
|
|
"steps": [
|
|
{
|
|
"args": "add @std/testing/bdd npm:preact/hooks",
|
|
"output": "add.out"
|
|
},
|
|
{
|
|
"args": "add @std/testing/bdd@1 npm:preact/hooks@10",
|
|
"output": "wrong_constraint_jsr.out",
|
|
"exitCode": 1
|
|
},
|
|
{
|
|
"args": "add npm:preact/hooks@10",
|
|
"output": "wrong_constraint_npm.out",
|
|
"exitCode": 1
|
|
}
|
|
]
|
|
}
|