summaryrefslogtreecommitdiff
path: root/cli/program_state.rs
AgeCommit message (Collapse)Author
2020-12-21feat(unstable): record raw coverage into a directory (#8642)Casper Beyer
2020-12-15fix(cli): make dynamic import errors catchable (#8750)Kitson Kelly
Fixes #6259
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-12refactor(cli): more options on Worker (#8724)Bartek Iwańczuk
2020-12-11refactor(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-11-16fix(cli): local sources are not cached in memory (#8328)Kitson Kelly
Fixes #4743 Closes #5253 Fixes #5631 Fixes #6116 Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2020-11-06refactor(cli): refactor file_fetcher (#8245)Kitson Kelly
2020-11-02refactor(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-03refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220)Kitson Kelly
2020-11-02refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192)Kitson Kelly
Fixes #8060
2020-10-28fix(cli): restore tripleslash lib refs support (#8157)Kitson Kelly
Fixes #8147
2020-10-27fix(cli): restore permission check on workers (#8123)Kitson Kelly
Fixes #8120
2020-10-23refactor: use of lock file in ModuleGraph2 (#8087)Bartek Iwańczuk
2020-10-23refactor(cli): migrate run and cache to new infrastructure (#7996)Kitson Kelly
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-20chore: Rename --importmap to --import-map (#7032)Nayeem Rahman
--importmap still works as an alias to --import-map but is not visible in CLI help output.
2020-10-19feat(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-13refactor(cli): rename GlobalState to ProgramState (#7914)Bartek Iwańczuk