deno/cli
Ryan Dahl bf9930066d
Reduce size of TypeScript Compiler snapshot (#6809)
This PR is intentionally ugly. It duplicates all of the code in cli/js2/ into
cli/tsc/  ... because it's very important that we all understand that this code
is unnecessarily duplicated in our binary. I hope this ugliness provides the
motivation to clean it up.

The typescript git submodule is removed, because it's a very large repo and
contains all sorts of stuff we don't need. Instead the necessary files are
copied directly into the deno repo. Hence +200k lines.

COMPILER_SNAPSHOT.bin size
```
master         3448139
this branch    3320972
```

Fixes #6812
2020-07-22 12:03:46 -04:00
..
doc feat(doc): Improve terminal printer (#6594) 2020-07-12 14:16:33 +02:00
dts Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
js2 Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
ops Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
tests Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
tsc Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
build.rs Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
Cargo.toml Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
checksum.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
colors.rs feat(doc): Improve terminal printer (#6594) 2020-07-12 14:16:33 +02:00
deno_dir.rs fix(cli): don't panic when no "HOME" env var is set (#6728) 2020-07-13 18:24:54 +02:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
diagnostics.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
diff.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
disk_cache.rs fix(cli/disk_cache): Support UNC paths in the typescript DiskCache (#6495) 2020-06-26 13:25:13 -04:00
file_fetcher.rs Port internal TS code to JS (#6793) 2020-07-19 19:49:44 +02:00
flags_allow_net.rs Re-land "fix(cli): ipv6 parsing for --allow-net params" (#6472) 2020-06-26 08:09:02 -04:00
flags.rs feat(cli): add DENO_CERT environment variable (#6370) 2020-07-12 19:18:27 -04:00
fmt_errors.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
fmt.rs chore: upgrade deno_lint, remove direct dprint dep (#6679) 2020-07-11 11:47:06 +02:00
fs.rs fix: ModuleSpecifier removes relative path parts (#6762) 2020-07-16 10:53:07 +02:00
global_state.rs fix: providing empty source code for missing compiled files (#6760) 2020-07-17 15:50:17 +02:00
global_timer.rs
http_cache.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
http_util.rs chore: port http_server.py to rust (#6364) 2020-07-04 13:05:01 -04:00
import_map.rs
inspector.rs Upgrade to rusty_v8 0.7.0 (#6801) 2020-07-19 01:47:45 +02:00
installer.rs feat(install): add --config flag (#6204) 2020-07-12 15:05:47 +02:00
js.rs Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
lint.rs chore: upgrade deno_lint, remove direct dprint dep (#6679) 2020-07-11 11:47:06 +02:00
lockfile.rs refactor: lock file (#6569) 2020-07-02 17:54:51 +02:00
main.rs Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
metrics.rs
module_graph.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
msg.rs feat: add --no-check option (#6456) 2020-07-08 11:26:39 +02:00
op_error.rs fix: Deno.setRaw shouldn't panic on ENOTTY (#6630) 2020-07-06 18:26:34 -04:00
op_fetch_asset.rs Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
permissions.rs fix: net permissions didn't account for default ports (#6606) 2020-07-02 10:16:41 -04:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
repl.rs Remove REPL/Windows hack (#5136) 2020-05-07 12:01:27 -04:00
resolve_addr.rs
signal.rs Implement Deno.kill for windows (#5347) 2020-05-17 19:11:24 +02:00
source_maps.rs Port internal TS code to JS (#6793) 2020-07-19 19:49:44 +02:00
startup_data.rs refactor(cli): Remove dead code (#6765) 2020-07-16 10:53:58 +02:00
state.rs Share reqwest client between fetch calls (#6792) 2020-07-18 15:05:08 -04:00
swc_util.rs refactor(compiler): split code paths for compile and bundle (#6304) 2020-06-19 12:27:15 +02:00
system_loader_es5.js Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
system_loader.js Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
test_runner.rs chore(test): move testing utilities to test_util crate (#6360) 2020-06-18 11:54:55 -04:00
tokio_util.rs
tsc.rs fix: panic for runtime error in TS compiler (#6758) 2020-07-15 14:23:17 +02:00
upgrade.rs feat: deno upgrade --output (#6352) 2020-07-06 18:21:26 -04:00
version.rs
web_worker.rs fix(URL): Implement spec-compliant host parsing (#6689) 2020-07-10 15:51:24 -04:00
worker.rs fix(URL): Implement spec-compliant host parsing (#6689) 2020-07-10 15:51:24 -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.