Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-28 | feat(unstable): collect coverage from the run command (#8893) | Casper Beyer | |
This adds implicit coverage collection to the run command when a coverage collection directory is set (via an environment variable). | |||
2020-12-21 | refactor: rewrite lsp to be async (#8727) | Luca Casonato | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2020-12-21 | feat(unstable): record raw coverage into a directory (#8642) | Casper Beyer | |
2020-12-13 | refactor: 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-12 | refactor(cli): more options on Worker (#8724) | Bartek Iwańczuk | |
2020-12-11 | refactor(cli): decouple ops from ProgramState and Flags (#8659) | Bartek Iwańczuk | |
This commit does major refactor of "Worker" and "WebWorker", in order to decouple them from "ProgramState" and "Flags". The main points of interest are "create_main_worker()" and "create_web_worker_callback()" functions which are responsible for creating "Worker" and "WebWorker" in CLI context. As a result it is now possible to factor out common "runtime" functionality into a separate crate. | |||
2020-12-07 | feat: add mvp language server (#8515) | Kitson Kelly | |
Resolves #8400 | |||
2020-12-06 | refactor(cli): remove Option from Flags.v8_flags (#8633) | crowlKats | |
2020-12-01 | chore(cli/flags): Use deno compile --output for the out file (#8563) | Nayeem Rahman | |
2020-11-30 | feat: deno compile (#8539) | Luca Casonato | |
2020-11-29 | feat(cli/tools/upgrade): canary support (#8476) | crowlKats | |
2020-11-28 | fix(watcher): watcher doesn't exit when module resolution fails (#8521) | Yusuke Tanaka | |
This commit makes the file watcher continue to work even if module resolution fails at the initial attempt, allowing us to execute `run` or `bundle` subcommand when a script has invalid syntax. In such cases, the watcher observes a single file that is specified as an command line argument. | |||
2020-11-26 | refactor(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-22 | feat(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-22 | feat(unstable): Add deno test --no-run (#8093) | Nayeem Rahman | |
This commit adds new flag to "deno test" subcommand called "--no-run" that allows to preload, cache an type check. | |||
2020-11-19 | refactor(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 | |||
2020-11-16 | refactor(cli): rename fs module to fs_util (#8380) | Bartek Iwańczuk | |
This commit renames "fs" module in "cli/" to "fs_util". This is purely cosmetic change; there were a few places which aliased "crate::fs" to "deno_fs" which was very confusing with "fs" module in ops. | |||
2020-11-14 | feat(lint): support --rules --json (#8384) | Bartek Iwańczuk | |
This commit adds support for "--json" flag in combination with "--rules". List of rules is serialized to JSON and printed. | |||
2020-11-13 | refactor(cli): minor cleanup of main.rs (#8362) | Max Drosdo.www | |
2020-11-09 | refactor(cli): remove unnecessary format! calls (#8315) | KNnut | |
2020-11-08 | chore: remove dead code (#8298) | Bartek Iwańczuk | |
2020-11-06 | refactor(cli): refactor file_fetcher (#8245) | Kitson Kelly | |
2020-11-02 | refactor(cli): remove ProgramState::permissions (#8228) | Bartek Iwańczuk | |
This commit removes ProgramState::permissions field. Having permissions parsed from CLI flags stored on globally accessible state object made it easy to mistakenly use these permissions in situations which required "runtime" permissions. | |||
2020-11-03 | refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220) | Kitson Kelly | |
2020-11-02 | refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192) | Kitson Kelly | |
Fixes #8060 | |||
2020-10-29 | refactor: don't spin up V8 for `deno cache` (#8186) | Luca Casonato | |
2020-10-28 | fix(cli): restore tripleslash lib refs support (#8157) | Kitson Kelly | |
Fixes #8147 | |||
2020-10-26 | fix: Use -rw-r--r-- for cache files (#8132) | Ryan Dahl | |
2020-10-26 | Revert "feat(lint): stabilize "deno lint" subcommand (#8075)" (#8128) | Bartek Iwańczuk | |
This reverts commit c5c48f845a4d25f064c4388fcdd4295317edf155. | |||
2020-10-25 | refactor(run): use new module graph for run --watch (#8085) | Bartek Iwańczuk | |
This commit changes how "deno run --watch" is implemented by migrating to use ModuleGraph2. | |||
2020-10-23 | refactor: use of lock file in ModuleGraph2 (#8087) | Bartek Iwańczuk | |
2020-10-23 | Revert "feat(cli): Add deno cache --test and --worker (#7920)" (#8089) | Bartek Iwańczuk | |
This reverts commit be15cf285dbf3a7b3025d34cb80e87e54a55dd93. | |||
2020-10-23 | feat(cli): Add deno cache --test and --worker (#7920) | Nayeem Rahman | |
2020-10-23 | refactor(cli): move bundle check to new infrastructure (#8071) | Kitson Kelly | |
2020-10-23 | refactor(cli): migrate run and cache to new infrastructure (#7996) | Kitson Kelly | |
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2020-10-22 | feat(lint): stabilize "deno lint" subcommand (#8075) | Bartek Iwańczuk | |
This commit stabilizes "deno lint" by removing the need to pass --unstable flag. --unstable is still required when using --json flag. | |||
2020-10-21 | refactor(cli): use PathBuf instead of String for lint and fmt subcommands ↵ | Akshat Agarwal | |
(#8042) | |||
2020-10-20 | feat(cli): add support for bundle --no-check (#8023) | Kitson Kelly | |
Fixes #6686 | |||
2020-10-19 | fix(cli): Handling of relative importmaps while using watch (#7950) | Absebo | |
2020-10-19 | feat(cli/installer): Add missing flags for deno install (#7601) | Nayeem Rahman | |
This commit adds support for following flags: - deno install --importmap - deno install --no-remote - deno install --lock - deno install --lock-write - deno install --cached-only - deno install --v8-flags - deno install --seed | |||
2020-10-14 | refactor(cli): add tsc2 (#7942) | Kitson Kelly | |
Ref #7225 | |||
2020-10-13 | refactor(cli): rename GlobalState to ProgramState (#7914) | Bartek Iwańczuk | |
2020-10-12 | chore(cli): remove dead code (#7941) | Kitson Kelly | |
2020-10-12 | refactor(cli): move info subcommand over to new module graph (#7892) | Kitson Kelly | |
2020-10-12 | feat(cli): support importmap flag with deno doc subcommand (#7821) | Valentin Anger | |
Fixes #7783 | |||
2020-10-11 | reland JsRuntime/Worker is not a Future (#7924) | Bartek Iwańczuk | |
2020-10-10 | Fix 100% CPU idling problem by reverting #7672 (#7911) | Ryan Dahl | |
* Revert "refactor: Worker is not a Future (#7895)" This reverts commit f4357f0ff9d39411f22504fcc20db6bd5dec6ddb. * Revert "refactor(core): JsRuntime is not a Future (#7855)" This reverts commit d8879feb8c832dbb38649551b1cb0730874f7be6. * Revert "fix(core): module execution with top level await (#7672)" This reverts commit c7c767782538243ded64742dca9b34d6af74d62d. | |||
2020-10-09 | refactor: Worker is not a Future (#7895) | Bartek Iwańczuk | |
This commit rewrites deno::Worker to not implement Future trait. Instead there are two separate methods: - Worker::poll_event_loop() - does single tick of event loop - Worker::run_event_loop() - runs event loop to completion Additionally some cleanup to Worker's field visibility was done. | |||
2020-10-07 | refactor(cli): remove TextDocument (#7850) | Kitson Kelly | |
2020-10-07 | refactor(cli): cleanups to new module graph (#7846) | Kitson Kelly | |