1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/cli
Bartek Iwańczuk 797f0ef42e
fix(npm): canonicalize filename before returning (#18948)
This commit changes how paths for npm packages are handled,
by canonicalizing them when resolving. This is done so that instead
of returning
"node_modules/<package_name>@<version>/node_modules/<dep>/index.js"
(which is a symlink) we "node_modules/<dep>@<dep_version>/index.js.

Fixes https://github.com/denoland/deno/issues/18924
Fixes https://github.com/bluwy/create-vite-extra/issues/31

---------

Co-authored-by: David Sherret <dsherret@gmail.com>
2023-05-04 16:18:57 +02:00
..
args perf: lazily create RootCertStore (#18938) 2023-05-04 16:18:49 +02:00
bench perf(core): async op pseudo-codegen and performance work (#18887) 2023-05-04 16:18:10 +02:00
cache refactor(cli): remove ProcState - add CliFactory (#18900) 2023-05-04 16:18:43 +02:00
js refactor: remove ext/console/01_colors.js (#18927) 2023-05-04 16:18:12 +02:00
lsp perf: lazily create RootCertStore (#18938) 2023-05-04 16:18:49 +02:00
napi 1.33.1 (#18895) 2023-04-28 19:05:46 +02:00
npm fix(npm): canonicalize filename before returning (#18948) 2023-05-04 16:18:57 +02:00
ops refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -04:00
schemas feat(cli): flatten deno.json configuaration (#17799) 2023-04-26 23:02:36 -04:00
standalone perf: lazily create RootCertStore (#18938) 2023-05-04 16:18:49 +02:00
tests fix(npm): canonicalize filename before returning (#18948) 2023-05-04 16:18:57 +02:00
tools perf: lazily create RootCertStore (#18938) 2023-05-04 16:18:49 +02:00
tsc docs: correct example of piping the output of a subprocess to a file (#18933) 2023-05-04 16:18:52 +02:00
util fix(npm): canonicalize filename before returning (#18948) 2023-05-04 16:18:57 +02:00
auth_tokens.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
build.rs refactor(ext/node): allow injecting NodeFs from CLI (#18829) 2023-04-24 19:44:35 -04:00
Cargo.toml fix(fmt/json): support formatting number with exponent and no sign (#18894) 2023-05-04 16:18:19 +02:00
deno.ico
deno_std.rs 1.33.0 (#18879) 2023-04-28 01:18:57 +02:00
emit.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
errors.rs feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
factory.rs perf: lazily create RootCertStore (#18938) 2023-05-04 16:18:49 +02:00
file_fetcher.rs perf: lazily create RootCertStore (#18938) 2023-05-04 16:18:49 +02:00
graph_util.rs feat(cli): don't check permissions for statically analyzable dynamic imports (#18713) 2023-04-26 16:23:28 -04:00
http_util.rs perf: lazily create RootCertStore (#18938) 2023-05-04 16:18:49 +02:00
js.rs refactor(core): Improve ergonomics of managing ASCII strings (#18498) 2023-04-04 06:46:31 -06:00
main.rs refactor(cli): remove ProcState - add CliFactory (#18900) 2023-05-04 16:18:43 +02:00
module_loader.rs refactor(cli): remove ProcState - add CliFactory (#18900) 2023-05-04 16:18:43 +02:00
node.rs refactor(ext/node): allow injecting NodeFs from CLI (#18829) 2023-04-24 19:44:35 -04:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
version.rs refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
watcher.rs refactor(cli): remove ProcState - add CliFactory (#18900) 2023-05-04 16:18:43 +02:00
worker.rs perf: lazily create RootCertStore (#18938) 2023-05-04 16:18:49 +02:00

Deno CLI Crate

crates

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.