Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2020-10-06 | refactor(cli/repl): tightly integrate event loop (#7834) | Casper Beyer | |
2020-10-03 | fix(cli/repl): put the thread to sleep when idle (#7804) | Casper Beyer | |
2020-10-02 | refactor(repl): use an inspector session (#7763) | Casper Beyer | |
This ports the REPL over to Rust and makes use of an inspector session to run a REPL on top of any isolate which lets make full use of rustylines various things like validators and completors without having to introduce a bunch of hard to test internal ops and glue code. An accidental but good side effect of this is that the multiple line input we previously had is now an editable multi-line input prompt that is correctly stored in the history as a single entry. | |||
2020-09-28 | fix(cli/test): do not start inspector server when collecting coverage (#7718) | Casper Beyer | |
2020-09-28 | refactor: move op state registration to workers (#7696) | Bartek Iwańczuk | |
2020-09-27 | fix: Use $deno$test.ts instead of .deno.test.ts (#7717) | Nayeem Rahman | |
2020-09-26 | refactor: combine MainWorker::new and MainWorker::create (#7693) | Bartek Iwańczuk | |
* combine MainWorker::new and MainWorker::create * remove compiler_starts fields * make op_state types explicit for readability | |||
2020-09-25 | refactor: new module graph used for no check (#7621) | Kitson Kelly | |
2020-09-23 | fix(cli/coverage): print lines with no coverage to stdout (#7640) | Casper Beyer | |
2020-09-23 | fix(watch): watch importmap file for changes (#7580) | bartOssh | |
2020-09-22 | fix(logger): change log level to which prefix added (#7582) | Yusuke Tanaka | |