mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
bf9930066d
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 |
||
---|---|---|
.. | ||
testdata | ||
benchmark.py | ||
benchmark_test.py | ||
build_benchmark_jsons.py | ||
deno_http_proxy.ts | ||
deno_tcp.ts | ||
deno_tcp_proxy.ts | ||
format.py | ||
hash_benchmark.py | ||
http_benchmark.py | ||
lint.py | ||
node_http.js | ||
node_http_proxy.js | ||
node_tcp.js | ||
node_tcp_promise.js | ||
node_tcp_proxy.js | ||
package.json | ||
pylintrc | ||
README.md | ||
sync_node_modules.py | ||
sync_python_modules.py | ||
test_format.py | ||
test_util.py | ||
third_party.py | ||
throughput_benchmark.py | ||
util.py | ||
util_test.py |
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