1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00
denoland-deno/cli
Bartek Iwańczuk ad6d2a7734
refactor: TS compiler and module graph (#5817)
This PR addresses many problems with module graph loading
introduced in #5029, as well as many long standing issues.

"ModuleGraphLoader" has been wired to "ModuleLoader" implemented
on "State" - that means that dependency analysis and fetching is done
before spinning up TS compiler worker.

Basic dependency tracking for TS compilation has been implemented.

Errors caused by import statements are now annotated with import
location.

Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-05-29 16:32:15 +02:00
..
doc refactor: TS compiler and module graph (#5817) 2020-05-29 16:32:15 +02:00
js fix(cli/js/error_stack): Expose Error.captureStackTrace (#5254) 2020-05-29 14:02:36 +02:00
ops Add unstable checks for unix transport (#5818) 2020-05-24 09:43:40 -04:00
tests refactor: TS compiler and module graph (#5817) 2020-05-29 16:32:15 +02:00
build.rs Unstable methods should not appear in runtime or d.ts (#4957) 2020-04-30 11:23:40 -04:00
Cargo.toml upgrade: dprint to 0.19.0 (#5899) 2020-05-27 11:19:31 -04:00
checksum.rs fix: source maps in inspector (#5223) 2020-05-11 23:48:36 +02:00
colors.rs feat: Added colors to doc output (#4518) 2020-03-28 17:35:31 -04:00
deno_dir.rs fix: create HTTP cache lazily (#5795) 2020-05-24 19:20:40 +02:00
diagnostics.rs fix some unwrap() in Rust (#5485) 2020-05-16 09:41:32 -04:00
disk_cache.rs fix: create HTTP cache lazily (#5795) 2020-05-24 19:20:40 +02:00
file_fetcher.rs refactor: reorganize TS compiler (#5603) 2020-05-20 16:25:40 +02:00
flags.rs docs: fix test glob pattern (#5661) 2020-05-21 01:02:32 -04:00
fmt.rs fix(cli): Handle formatting UTF-8 w/ BOM files (#5881) 2020-05-28 13:35:24 -04:00
fmt_errors.rs refactor(cli): unify display of errors from Rust and JS (#5183) 2020-05-09 21:09:46 +02:00
fs.rs refactor: move code from fs.rs into ops/fs.rs (#4428) 2020-03-20 09:46:26 -04:00
global_state.rs refactor: TS compiler and module graph (#5817) 2020-05-29 16:32:15 +02:00
global_timer.rs clippy (#4618) 2020-04-03 22:41:16 -04:00
http_cache.rs fix: create HTTP cache lazily (#5795) 2020-05-24 19:20:40 +02:00
http_util.rs Add support for X-Deno-Warning header (#5161) 2020-05-09 12:43:24 -04:00
import_map.rs update references to testing/mod.ts in manual (#3973) 2020-02-11 21:50:20 +01:00
inspector.rs Make --inspect-brk pause on the first line of _user_ code (#5250) 2020-05-13 00:12:46 +02:00
installer.rs fix(cli/installer): Fix concurrent env handling in tests (#5182) 2020-05-09 19:14:56 +02:00
js.rs BREAKING: Remove support for .wasm imports (#5135) 2020-05-07 20:43:27 +02:00
lockfile.rs fix: source maps in inspector (#5223) 2020-05-11 23:48:36 +02:00
main.rs refactor: TS compiler and module graph (#5817) 2020-05-29 16:32:15 +02:00
metrics.rs feat: update metrics to track different op types (#4221) 2020-03-02 19:13:36 +01:00
module_graph.rs refactor: TS compiler and module graph (#5817) 2020-05-29 16:32:15 +02:00
msg.rs refactor: rewrite TS dependency analysis in Rust (#5029) 2020-05-18 12:59:29 +02:00
op_error.rs Make writeSync, readSync, seekSync, openSync, isatty proper synchronous syscalls (#4762) 2020-04-15 20:43:19 -04:00
permissions.rs feat(cli): deserialize Permissions from JSON (#5779) 2020-05-29 13:00:47 +02:00
README.md update readmes (#3765) 2020-01-23 22:32:52 +01:00
repl.rs Remove REPL/Windows hack (#5136) 2020-05-07 12:01:27 -04:00
resolve_addr.rs remove calls to futures::executor::block_on (#4760) 2020-04-15 23:14:28 -04:00
signal.rs Implement Deno.kill for windows (#5347) 2020-05-17 19:11:24 +02:00
source_maps.rs refactor(core/js_error): Align JSStackFrame with CallSite (#4715) 2020-04-13 10:54:16 -04:00
startup_data.rs Upgrade to rusty_v8 v0.4.0 (#4856) 2020-04-23 03:35:52 +02:00
state.rs refactor: TS compiler and module graph (#5817) 2020-05-29 16:32:15 +02:00
swc_util.rs refactor: TS compiler and module graph (#5817) 2020-05-29 16:32:15 +02:00
test_runner.rs BREAKING(std): reorganization (#5087) 2020-05-09 08:34:47 -04:00
test_util.rs BREAKING: There is no public Rust API for the CLI (#5226) 2020-05-11 17:33:36 -04:00
tokio_util.rs workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
tsc.rs refactor: TS compiler and module graph (#5817) 2020-05-29 16:32:15 +02:00
upgrade.rs feat(upgrade): allow specifying a version (#5156) 2020-05-09 06:31:15 -04:00
version.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
web_worker.rs Return error if more than one listener calls WorkerHandle::get_event() (#5461) 2020-05-17 06:50:38 +02:00
worker.rs refactor: TS compiler and module graph (#5817) 2020-05-29 16:32:15 +02:00

Deno CLI Crate

crates docs

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

The deno crate uses the deno_core and deno_typescript to provide the executable.