1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 17:49:08 -05:00
denoland-deno/cli/tools
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
..
bench feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
coverage refactor: unify CDP types in a single module (#21094) 2023-11-05 22:58:59 +00:00
init fix(init): skip existing files instead of erroring (#20434) 2023-09-12 12:55:26 +02:00
jupyter refactor: unify CDP types in a single module (#21094) 2023-11-05 22:58:59 +00:00
registry fix: correct the batch upload length (#21401) 2023-11-30 23:07:26 +01:00
repl fix: 'Promise was collected' error in REPL/jupyter (#21272) 2023-11-22 03:45:34 +01:00
run build(cli): allow to build without upgrade feature (#19910) 2023-11-29 18:52:25 +00:00
test fix: 'Promise was collected' error in REPL/jupyter (#21272) 2023-11-22 03:45:34 +01:00
vendor refactor: break out ModuleInfoCache from ParsedSourceCache (#20977) 2023-10-25 18:13:22 -04:00
bundle.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
check.rs refactor(npm): break up NpmModuleLoader and move more methods into the managed CliNpmResolver (#20777) 2023-10-03 19:05:06 -04:00
compile.rs refactor: break out ModuleInfoCache from ParsedSourceCache (#20977) 2023-10-25 18:13:22 -04:00
doc.rs feat(compile): support discovering modules for more dynamic arguments (#21381) 2023-12-01 20:12:10 +00:00
fmt.rs feat(fmt): support formatting code blocks in Jupyter notebooks (#21310) 2023-11-27 10:32:12 -05:00
info.rs fix: improve deno doc --lint error messages (#21156) 2023-11-10 18:40:39 +00:00
installer.rs fix(cli): Allow executable name start with digit (#21214) 2023-11-15 09:17:09 -07:00
lint.rs feat: deno run --unstable-hmr (#20876) 2023-10-31 01:25:58 +01:00
mod.rs feat(unstable): tar up directory with deno.json (#21228) 2023-11-23 23:38:07 +00:00
task.rs feat(compile): support "bring your own node_modules" in deno compile (#21377) 2023-11-29 09:32:23 -05:00
upgrade.rs chore: add upgrade prompt integration test (#21273) 2023-11-23 16:20:40 +00:00