0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00
deno/cli
Aaron O'Mullan 0260b488fb
core: introduce extensions (#9800)
Extensions allow declarative extensions to "JsRuntime" (ops, state, JS or middleware).

This allows for:
- `op_crates` to be plug-and-play & self-contained, reducing complexity leaked to consumers
- op middleware (like metrics_op) to be opt-in and for new middleware (unstable, tracing,...)
- `MainWorker` and `WebWorker` to be composable, allowing users to extend workers with their ops whilst benefiting from the other infrastructure (inspector, etc...)

In short extensions improve deno's modularity, reducing complexity and leaky abstractions for embedders and the internal codebase.
2021-04-28 18:41:50 +02:00
..
bench Remove denort optimization (#10350) 2021-04-26 13:28:38 -04:00
dts docs: document how to stop file watcher (#10403) 2021-04-28 21:37:16 +09:00
lsp fix(#10362): include range for export statements (#10369) 2021-04-26 06:59:18 +10:00
ops feat(cli): add test permissions to Deno.test (#10188) 2021-04-25 23:38:59 +02:00
tests core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
tools Remove denort optimization (#10350) 2021-04-26 13:28:38 -04:00
tsc refactor(core): move op cache sync responsibility to rust space (#10340) 2021-04-25 22:00:05 +02:00
ast.rs feat: set useDefineForClassFields to true (#10119) 2021-04-11 07:56:40 +10:00
auth_tokens.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
build.rs refactor(core): move op cache sync responsibility to rust space (#10340) 2021-04-25 22:00:05 +02:00
Cargo.toml chore: upgrade dprint plugins (#10397) 2021-04-28 10:08:51 -04:00
checksum.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
colors.rs Remove denort optimization (#10350) 2021-04-26 13:28:38 -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_dir.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
diagnostics.rs feat(runtime): stabilize Deno.fstat and Deno.fstatSync (#10108) 2021-04-12 11:27:38 +02:00
diff.rs chore: make all tests annotated with #[cfg(test)] (#9347) 2021-02-01 10:55:23 -05:00
disk_cache.rs feat: blob URL support (#10045) 2021-04-07 15:22:14 +02:00
errors.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
file_fetcher.rs refactor: use 'data-url' crate to process data URLs in lsp & file_fetcher (#10196) 2021-04-23 20:43:13 +02:00
file_watcher.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
flags.rs remove --unstable flag from CLI features (#10190) 2021-04-27 12:44:36 +02:00
flags_allow_net.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
fmt_errors.rs fix(#10292): Don't gray-out internal frames (#10293) 2021-04-22 08:30:03 -04:00
fs_util.rs fix: do not panic on not found cwd (#10238) 2021-04-21 17:52:00 +02:00
http_cache.rs feat: blob URL support (#10045) 2021-04-07 15:22:14 +02:00
http_util.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
import_map.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
info.rs feat(cli): represent type dependencies in info (#9630) 2021-03-01 22:49:58 +11:00
lockfile.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
main.rs remove --unstable flag from CLI features (#10190) 2021-04-27 12:44:36 +02:00
media_type.rs upgrade: Rust 1.51.0 (#9895) 2021-03-25 19:17:37 +01:00
module_graph.rs refactor(cli): rename Deno.emit() bundle options to "module" and "classic" (#10332) 2021-04-26 06:54:57 +10:00
module_loader.rs Make ModuleSpecifier a type alias, not wrapper struct (#9531) 2021-02-17 13:47:18 -05:00
program_state.rs remove --unstable flag from CLI features (#10190) 2021-04-27 12:44:36 +02:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
source_maps.rs feat: blob URL support (#10045) 2021-04-07 15:22:14 +02:00
specifier_handler.rs feat(runtime/permissions): prompt fallback (#9376) 2021-04-12 11:15:43 +09:00
standalone.rs feat: blob URL support (#10045) 2021-04-07 15:22:14 +02:00
text_encoding.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
tokio_util.rs feat: native HTTP bindings (#9935) 2021-04-08 18:34:15 -04:00
tsc.rs refactor(core): move op cache sync responsibility to rust space (#10340) 2021-04-25 22:00:05 +02:00
tsc_config.rs feat: set useDefineForClassFields to true (#10119) 2021-04-11 07:56:40 +10:00
unix_util.rs chore: update copyright headers (#10243) 2021-04-20 14:27:36 +09:00
version.rs Remove denort optimization (#10350) 2021-04-26 13:28:38 -04:00

Deno CLI Crate

crates docs

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

The deno crate uses the deno_core to provide the executable.