1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/cli
David Sherret a1d823e27d
feat(compile): support discovering modules for more dynamic arguments (#21381)
This PR causes Deno to include more files in the graph based on how a
template literal looks that's provided to a dynamic import:

```ts
const file = await import(`./dir/${expr}`);
```

In this case, it will search the `dir` directory and descendant
directories for any .js/jsx/etc modules and include them in the graph.

To opt out of this behaviour, move the template literal to a separate
line:

```ts
const specifier = `./dir/${expr}`
const file = await import(specifier);
```
2023-12-01 20:12:10 +00:00
..
args Update doc for deno fmt --no-semicolons arg. (#21414) 2023-12-01 16:26:06 +00:00
bench Revert "chore: update to std@0.207.0 (#21284)" (#21295) 2023-11-22 04:13:56 +00:00
cache feat(unstable): tar up directory with deno.json (#21228) 2023-11-23 23:38:07 +00:00
js perf: move "cli/js/40_testing.js" out of main snapshot (#21212) 2023-11-25 04:46:16 +01:00
lsp feat(compile): support discovering modules for more dynamic arguments (#21381) 2023-12-01 20:12:10 +00:00
napi chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
npm feat(compile): support "bring your own node_modules" in deno compile (#21377) 2023-11-29 09:32:23 -05:00
ops perf: move jupyter esm out of main snapshot (#21163) 2023-11-14 22:06:00 +01:00
schemas feat: precompile JSX (#20962) 2023-11-01 20:30:23 +00:00
standalone feat(compile): support "bring your own node_modules" in deno compile (#21377) 2023-11-29 09:32:23 -05:00
tests feat(compile): support discovering modules for more dynamic arguments (#21381) 2023-12-01 20:12:10 +00:00
tools feat(compile): support discovering modules for more dynamic arguments (#21381) 2023-12-01 20:12:10 +00:00
tsc fix(cron): move deprecated Deno.cron overload (#21407) 2023-11-30 15:52:48 -08:00
util feat(compile): support discovering modules for more dynamic arguments (#21381) 2023-12-01 20:12:10 +00:00
auth_tokens.rs chore: update base64 crate (#20877) 2023-10-26 18:39:04 +02:00
build.rs feat(fmt): support formatting code blocks in Jupyter notebooks (#21310) 2023-11-27 10:32:12 -05:00
Cargo.toml feat(compile): support discovering modules for more dynamic arguments (#21381) 2023-12-01 20:12:10 +00:00
cdp.rs refactor: unify CDP types in a single module (#21094) 2023-11-05 22:58:59 +00: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.38.3 release commit to main (#21320) 2023-11-24 07:09:15 +01:00
emit.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
entitlements.plist chore: start codesigning mac release builds (#21303) 2023-11-23 15:30:26 -07:00
errors.rs fix: improve deno doc --lint error messages (#21156) 2023-11-10 18:40:39 +00:00
factory.rs feat(compile): support discovering modules for more dynamic arguments (#21381) 2023-12-01 20:12:10 +00:00
file_fetcher.rs chore: fix and deflake cert store fetch tests (#21241) 2023-11-17 19:16:11 +00:00
graph_util.rs feat(compile): support discovering modules for more dynamic arguments (#21381) 2023-12-01 20:12:10 +00:00
http_util.rs feat(unstable): tar up directory with deno.json (#21228) 2023-11-23 23:38:07 +00:00
js.rs build: allow disabling snapshots for dev (#20048) 2023-08-06 01:47:15 +02:00
main.rs build(cli): allow to build without upgrade feature (#19910) 2023-11-29 18:52:25 +00:00
module_loader.rs feat(compile): support discovering modules for more dynamic arguments (#21381) 2023-12-01 20:12:10 +00:00
node.rs chore: rename some helpers on the Fs trait (#20097) 2023-08-08 16:28:18 -04:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs fix(unstable/byonm): improve error messages (#20987) 2023-10-26 21:22:15 -04:00
version.rs refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
worker.rs feat(unstable): --unstable-unsafe-proto (#21313) 2023-11-25 11:41:21 -05: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.