mirror of
https://github.com/denoland/deno.git
synced 2025-10-01 06:31:15 +00:00
feat(cli): add origin data dir to deno info (#10589)
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
This commit is contained in:
parent
d5d59bb794
commit
b21fa78a1e
11 changed files with 75 additions and 18 deletions
|
@ -2,3 +2,4 @@ DENO_DIR location: "[WILDCARD]"
|
|||
Remote modules cache: "[WILDCARD]deps"
|
||||
Emitted modules cache: "[WILDCARD]gen"
|
||||
Language server registries cache: "[WILDCARD]registries"
|
||||
Origin storage: "[WILDCARD]location_data"
|
||||
|
|
6
cli/tests/041_info_flag_location.out
Normal file
6
cli/tests/041_info_flag_location.out
Normal file
|
@ -0,0 +1,6 @@
|
|||
DENO_DIR location: "[WILDCARD]"
|
||||
Remote modules cache: "[WILDCARD]deps"
|
||||
Emitted modules cache: "[WILDCARD]gen"
|
||||
Language server registries cache: "[WILDCARD]registries"
|
||||
Origin storage: "[WILDCARD]location_data[WILDCARD]"
|
||||
Local Storage: "[WILDCARD]location_data[WILDCARD]local_storage"
|
|
@ -2,5 +2,6 @@
|
|||
"denoDir": "[WILDCARD]",
|
||||
"modulesCache": "[WILDCARD]deps",
|
||||
"typescriptCache": "[WILDCARD]gen",
|
||||
"registryCache": "[WILDCARD]registries"
|
||||
"registryCache": "[WILDCARD]registries",
|
||||
"originStorage": "[WILDCARD]location_data"
|
||||
}
|
8
cli/tests/info_json_location.out
Normal file
8
cli/tests/info_json_location.out
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"denoDir": "[WILDCARD]",
|
||||
"modulesCache": "[WILDCARD]deps",
|
||||
"typescriptCache": "[WILDCARD]gen",
|
||||
"registryCache": "[WILDCARD]registries",
|
||||
"originStorage": "[WILDCARD]location_data[WILDCARD]",
|
||||
"localStorage": "[WILDCARD]location_data[WILDCARD]local_storage"
|
||||
}
|
|
@ -2846,11 +2846,21 @@ console.log("finish");
|
|||
output: "041_info_flag.out",
|
||||
});
|
||||
|
||||
itest!(_042_info_flag_location {
|
||||
args: "info --location https://deno.land",
|
||||
output: "041_info_flag_location.out",
|
||||
});
|
||||
|
||||
itest!(info_json {
|
||||
args: "info --json --unstable",
|
||||
output: "info_json.out",
|
||||
});
|
||||
|
||||
itest!(info_json_location {
|
||||
args: "info --json --unstable --location https://deno.land",
|
||||
output: "info_json_location.out",
|
||||
});
|
||||
|
||||
itest!(_042_dyn_import_evalcontext {
|
||||
args: "run --quiet --allow-read --reload 042_dyn_import_evalcontext.ts",
|
||||
output: "042_dyn_import_evalcontext.ts.out",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue