1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/cli
Bartek Iwańczuk 2f651b2d64
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-02 02:35:33 +02:00
..
args perf: lazily create RootCertStore (#18938) 2023-05-01 16:42:05 -04:00
bench perf(core): async op pseudo-codegen and performance work (#18887) 2023-04-30 08:50:24 +00:00
cache refactor(cli): remove ProcState - add CliFactory (#18900) 2023-05-01 14:35:23 -04:00
js refactor: remove ext/console/01_colors.js (#18927) 2023-04-30 09:11:37 +00:00
lsp perf: lazily create RootCertStore (#18938) 2023-05-01 16:42:05 -04:00
napi chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
npm fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +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-01 16:42:05 -04:00
tests fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
tools perf: lazily create RootCertStore (#18938) 2023-05-01 16:42:05 -04:00
tsc docs: correct example of piping the output of a subprocess to a file (#18933) 2023-05-01 21:52:56 +00:00
util fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +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-04-30 10:03:39 -04:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
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-01 16:42:05 -04:00
file_fetcher.rs perf: lazily create RootCertStore (#18938) 2023-05-01 16:42:05 -04: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-01 16:42:05 -04: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-01 14:35:23 -04:00
module_loader.rs refactor(cli): remove ProcState - add CliFactory (#18900) 2023-05-01 14:35:23 -04: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-01 14:35:23 -04:00
worker.rs perf: lazily create RootCertStore (#18938) 2023-05-01 16:42:05 -04: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.