1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/tools
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
..
testdata refactor: unit test runner communicates using TCP socket (#4336) 2020-03-13 15:57:32 +01:00
benchmark.py fix benchmark_test (#6814) 2020-07-20 01:20:51 -04:00
benchmark_test.py fix benchmark_test (#6814) 2020-07-20 01:20:51 -04:00
build_benchmark_jsons.py Replace libdeno with rusty_v8 (#3556) 2020-01-05 09:19:29 -05:00
deno_http_proxy.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
deno_tcp.ts Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
deno_tcp_proxy.ts Fix typos across the repo (#5295) 2020-05-14 06:38:42 +02:00
format.py Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
hash_benchmark.py feat(std/hash): reimplement all hashes in WASM (#6292) 2020-06-16 17:12:50 -04:00
http_benchmark.py Remove tools/hyper_hello (#6651) 2020-07-06 13:00:08 -04:00
lint.py Reduce size of TypeScript Compiler snapshot (#6809) 2020-07-22 12:03:46 -04:00
node_http.js Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
node_http_proxy.js Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
node_tcp.js Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
node_tcp_promise.js Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
node_tcp_proxy.js Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
package.json Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
pylintrc update pylintrc (#3618) 2020-01-08 01:51:11 +01:00
README.md Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
sync_node_modules.py Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
sync_python_modules.py Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
test_format.py Upgrade pylint (#2917) 2019-09-11 16:47:42 -04:00
test_util.py Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
third_party.py Replace libdeno with rusty_v8 (#3556) 2020-01-05 09:19:29 -05:00
throughput_benchmark.py chore: port http_server.py to rust (#6364) 2020-07-04 13:05:01 -04:00
util.py add option to lint and format only staged files (#5172) 2020-05-09 06:22:27 -04:00
util_test.py remove target_test.py (#5112) 2020-05-06 16:34:48 -04:00

Tools

Documentation for various tooling in support of Deno development

format.py

This script will format the code (currently using dprint, yapf and rustfmt). It is a prerequisite to run this before code check in.

To run formatting:

./tools/format.py

lint.py

This script will lint the code base (currently using eslint, pylint and clippy). It is a prerequisite to run this before code check in.

To run linting:

./tools/lint.py