1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/cli
David Sherret 0e97fa4d5f
fix(npm): only include top level packages in top level node_modules directory (#18824)
We were indeterministically including packages in the top level
`node_modules/` folder when using a local node_modules directory. This
change aligns with pnpm and only includes top level packages in this
folder. This should be faster for initializing the folder, but may
expose issues in packages that reference other packages not defined in
their dependencies. That said, the behaviour previously was previously
broken.

This has exposed a bug in the require implementation where it doesn't
find a package (which is the main underlying issue here). There is a
failing test already for this in the test suite after this change.

Closes #18822

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-04-24 17:08:11 -04:00
..
args refactor: upgrade to deno_npm 0.3.0 (#18671) 2023-04-13 10:47:45 -04:00
bench feat(ext/http): Rework Deno.serve using hyper 1.0-rc3 (#18619) 2023-04-22 11:48:21 -06:00
cache refactor: move some CJS and ESM code analysis to ext/node (#18789) 2023-04-21 16:38:10 -04:00
js refactor(cli): move runTests() and runBenchmarks() to rust (#18563) 2023-04-13 19:43:23 +02:00
lsp refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -04:00
napi chore: forward v1.32.5 release commit to main (#18758) 2023-04-18 22:20:49 +02:00
npm fix(npm): only include top level packages in top level node_modules directory (#18824) 2023-04-24 17:08:11 -04:00
ops refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -04:00
schemas feat: embed import map in the config file (#17478) 2023-01-25 21:13:40 +01:00
standalone fix(compile): write bytes directly to output file (#18777) 2023-04-19 21:50:56 +00:00
tests test: disable flaky Node test (#18821) 2023-04-24 22:55:06 +09:00
tools refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -04:00
tsc docs: add categories to APIs without (#18826) 2023-04-24 20:24:18 +00:00
util test(runtime): support Windows in resolve_from_cwd_absolute (#18379) 2023-04-13 01:45:53 +02:00
auth_tokens.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
build.rs refactor(cli,ext,ops): cleanup regex with lazy-regex (#17296) 2023-04-13 03:08:01 +02:00
Cargo.toml refactor: rewrite tests to "fastwebsockets" crate (#18781) 2023-04-22 11:17:31 +02: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 chore: forward v1.32.5 release commit to main (#18758) 2023-04-18 22:20:49 +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
file_fetcher.rs tests: update tests relying on deno.land (#18811) 2023-04-23 20:07:30 +02:00
graph_util.rs refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -04:00
http_util.rs refactor: remove usages of map_or / map_or_else (#18212) 2023-03-15 17:46:36 -04:00
js.rs refactor(core): Improve ergonomics of managing ASCII strings (#18498) 2023-04-04 06:46:31 -06:00
main.rs fix(compile): write bytes directly to output file (#18777) 2023-04-19 21:50:56 +00:00
module_loader.rs refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -04:00
node.rs refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -04:00
proc_state.rs refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -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
worker.rs refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -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.