summaryrefslogtreecommitdiff
path: root/cli/tools
AgeCommit message (Collapse)Author
2021-02-08refactor(cli/tools/repl): merge highlighter into helper (#9448)Casper Beyer
2021-02-05fix(repl): prevent symbol completion panic (#9400)Casper Beyer
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-01-29fix(cli/coverage): display mapped instrumentation line counts (#9310)Casper Beyer
2021-01-28fix(coverage): use source maps when printing pretty reports (#9278)Casper Beyer
This commits makes use of source maps and the original source when printing lacking line coverage in the pretty printer. Only the executable lines are checked as before (as non-executable lines will always be ignored anyways). The lines then mapped to the appropriate source line when a source map is present.
2021-01-27chore: fix typo in lint.rs (#9281)Ikko Ashimine
2021-01-24fix(compile): fix panic when cross-compiling between windows and unix (#9203)Liam Murphy
2021-01-20fix(coverage): ignore comments (#8639)Casper Beyer
This commit fixes coverage collection by ignoring comments when tallying up line counts.
2021-01-19feat: add markdown support to deno fmt (#8887)Satya Rohith
This commit adds support for formatting markdown files with "deno fmt". Additionally "--ext={js|jsx|ts|tsx|md}" flag was added to "deno fmt" that allows to specify file type when providing contents over stdio.
2021-01-19fix: full commit hash in canary compile download (#9166)Luca Casonato
2021-01-19fix(installer): pass cached-only to executable_args (#9169)Freddy Fallon
2021-01-18fix(cli/install): escape % symbols in windows batch files (#9133)Liam Murphy
Fixes #9096.
2021-01-19feat: Standalone lite binaries and cross compilation (#9141)Bartek Iwańczuk
This commit adds --target and --lite flags to deno compile subcommand. --target allows to cross-compile binary to different target architectures by fetching appropriate binary from remote server on first run. All downloaded binaries are stored in "$DENO_DIR/dl". --lite allows to use lite version of the runtime (ie. the one that doesn't contain built-in tooling like formatter or linter).
2021-01-13Remove unnecessary boxing of tokio::time::Sleep (#9105)Bert Belder
2021-01-12fix(installer): remove redundant clone (#9098)Bert Belder
2021-01-11upgrade: tokio 1.0 (#8779)Bartek Iwańczuk
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-08feat: denort binary (#9041)Luca Casonato
This commit adds new binary target called "denort". It is a "lite" version of "deno" binary that can only execute code embedded inside the binary itself. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-07feat: add --location=<href> and globalThis.location (#7369)Nayeem Rahman
2021-01-07fix(coverage): report partial lines as uncovered (#9033)Casper Beyer
2021-01-07fix(coverage): do not store source inline in raw reports (#9025)Casper Beyer
When we were doing single process in-memory reports getting the source from the runtime was practical, but now that we're writing to disk this conflicts with the format tools taking raw v8 coverage dumps expect.
2021-01-04feat(installer): Add support for MSYS on Windows (#8932)Sylvain Cau
2021-01-04fix(coverage): merge duplicate reports (#8942)Casper Beyer
Merging multiple runs isn't quite right because we rely on a 0 count to signal that a block hasn't been called. Other tools like c8 expect this to be true as-well so we need to do our best to merge coverage files rather than duplicating them.
2020-12-29refactor(cli/flags): change allow_read/write/net types from bool to ↵Yusuke Tanaka
Option<Vec<T>> (#8896) This PR refactors "cli/flags.rs" and "runtime/permissions.rs" so that "allow_read", "allow_write" and "allow_net" themselves have allowlists, instead of storing them in additional fields.
2020-12-21feat(unstable): record raw coverage into a directory (#8642)Casper Beyer
2020-12-13refactor: deno_runtime crate (#8640)Bartek Iwańczuk
This commit moves Deno JS runtime, ops, permissions and inspector implementation to new "deno_runtime" crate located in "runtime/" directory. Details in "runtime/README.md". Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-12-07feat: add mvp language server (#8515)Kitson Kelly
Resolves #8400
2020-12-06refactor(cli): remove Option from Flags.v8_flags (#8633)crowlKats
2020-12-01fix: higlight `async` and `of` in REPL (#8569)Liam Murphy
2020-12-01fix(repl): close calls sometimes prints results (#8558)Casper Beyer
2020-11-30feat: deno compile (#8539)Luca Casonato
2020-11-29feat(cli/tools/upgrade): canary support (#8476)crowlKats
2020-11-27refactor(repl): use SWC lexer to highlight and validate (#8496)Liam Murphy
2020-11-26refactor(cli): reorganize main.rs and split workers (#8495)Bartek Iwańczuk
Factored out "init_v8_flags", "init_logger" and "get_subcommand" from "main" function. Also "Worker" was removed in favor of moving logic to "MainWorker" and "WebWorker" respectively.
2020-11-25add canary versioning (#8480)crowlKats
2020-11-24feat(test): horizontal separator between disjoint runs of lines (#8484)Valentin Anger
Places a newline between non-consecutive line block in coverage report to improve readability.
2020-11-22feat(unstable): Support --watch flag for bundle and fmt subcommands (#8276)Yusuke Tanaka
This commit adds support for "--watch" flag for "bundle" and "fmt" subcommands. In addition to this, it refactors "run --watch" command so that module resolution will occur every time the file watcher detects file addition/deletion, which allows the watcher to observe a file that is newly added to the dependency as well.
2020-11-22refactor(cli/tools/upgrade): rework upgrade (#8331)crowlKats
This commit does major overhaul of "upgrade" subcommand, reducing complexity & giving more sensible console output. Removes gz support for archives. Uses last part of url instead of scraping to get latest version.
2020-11-19refactor(cli): move tooling to cli/tools/ (#8424)Bartek Iwańczuk
This commit moves following tools into a single "tools" module located at "cli/tools/mod.rs": - formatter - linter - test runner - coverage collector - installer - binary upgrader - repl