mirror of
https://github.com/denoland/deno.git
synced 2025-02-07 23:06:50 -05:00
Compare commits
2 commits
7c39bf8a73
...
162e2dc96b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
162e2dc96b | ||
![]() |
5203c38a5f |
3 changed files with 28 additions and 6 deletions
|
@ -102,7 +102,13 @@ pub async fn info(
|
|||
node_resolver::NodeResolutionKind::Execution,
|
||||
)?)
|
||||
}
|
||||
_ => None,
|
||||
deno_package_json::PackageJsonDepValue::Req(req) => {
|
||||
Some(ModuleSpecifier::parse(&format!(
|
||||
"npm:{}{}",
|
||||
req,
|
||||
sub_path.map(|s| format!("/{}", s)).unwrap_or_default()
|
||||
))?)
|
||||
}
|
||||
},
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -1,9 +1,21 @@
|
|||
{
|
||||
"tempDir": true,
|
||||
"steps": [
|
||||
{
|
||||
"args": "info --quiet main.ts",
|
||||
"output": "info.out"
|
||||
"tests": {
|
||||
"resolves_npm_deps": {
|
||||
"steps": [
|
||||
{
|
||||
"args": "info --quiet main.ts",
|
||||
"output": "info.out"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bare_specifier": {
|
||||
"steps": [
|
||||
{
|
||||
"args": "info --quiet @denotest/esm-basic",
|
||||
"output": "info_bare.out"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
dependencies: 0 unique
|
||||
size: 471B
|
||||
|
||||
npm:/@denotest/esm-basic@1.0.0 (471B)
|
Loading…
Add table
Reference in a new issue