summaryrefslogtreecommitdiff
path: root/cli/main.rs
AgeCommit message (Collapse)Author
2020-09-11refactor(core): JsRuntime initialization (#7415)Bartek Iwańczuk
Removes: - "deno_core::StartupData" - "deno_core::Script" - "deno_core::OwnedScript" Changes to "JsRuntime": - remove "new_with_loader()" - remove "with_heap_limits()" - rename "IsolateOptions" to "RuntimeOptions" and make public - "JsRuntime::new()" takes "RuntimeOptions" as a single param
2020-09-07feat(info): Dependency count and sizes (#6786)KrisChambers
This commit changes "deno info" subcommand logic. - Modules are no longer loaded into V8 isolate - analysis is done using ModuleGraph. - Removed deno_core::Deps structure. - Modules are no longer type-checked and transpiled - "compiled" file is shown only if it is already available. - Added number of unique dependencies for root module. - Changed tree output: - file size is shown next to the dependency - repeated dependencies are marked with "*" - used less spaces in prefix to save terminal width
2020-09-06refactor(core): rename CoreIsolate to JsRuntime (#7373)Bartek Iwańczuk
deno_core/ - rename core_isolate.rs to runtime.rs - rename CoreIsolate to JsRuntime - rename JSError to JsError - rename JSStackFrame to JsStackFrame cli/ - update references from deno_core::CoreIsolate to deno_core::JsRuntime - rename deno_core::JSError to deno_core::JsError - rename fmt_errors::JSError to fmt_errors::JsError
2020-09-06refactor(core): merge CoreIsolate and EsIsolate (#7370)Bartek Iwańczuk
2020-09-06Move JSON ops to deno_core (#7336)Bert Belder
2020-09-05feat(install): bundle before installation (#5276)Yoshiya Hinosawa
2020-09-03support env_logger / RUST_LOG (#7142)tokiedokie
2020-08-31refactor: Compiler config in Rust (#7228)Bartek Iwańczuk
* port tsc_config.rs * cleanup options * bring back allowNonTsExtension * try * fix test * fix test2 * move config for bundling * remove Transpile compile request * remove dead code * remove more dead code * remove checkJs regex * fix * handle config str for runtime APIs * lint * runtimeCompile config in Rust * runtimeCompile and runtimeTranspile config in Rust * fix * remove lint supression * upgrade: jsonc-parser 0.13.0 * remove unneeded to_string() * upgrade: jsonc-parser 0.14.0 * remove AsRef<str>
2020-08-26refactor: remove OpError, use ErrBox everywhere (#7187)Bert Belder
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-08-23fix(doc): stack overflow for .d.ts files (#7167)Bartek Iwańczuk
2020-08-19refactor: move cli/doc/ to separate crate (#7103)Bartek Iwańczuk
2020-08-19Make Rc/Arc wrapper around State/GlobalState visible (#7104)Bert Belder
2020-08-13feat: Add "--json" flag to deno lint (#6940)souldzin
Co-authored-by: JackSkylark <jdslaughter44@gmail.com>
2020-08-12feat: add "--ignore" to deno lint (#6934)Divy Srivastava
2020-08-11doc: Remove detailed / summary distinction (#6818)Valentin Anger
2020-08-10feat(doc): handle imports (#6987)Bartek Iwańczuk
This commit adds additional objects to JSON output of "deno doc" command to facilitate linking between types in different modules.
2020-08-08fix(cli): show error on unrecognized V8 flag, exit on --help (#6980)Bert Belder
2020-08-07Op crate for Web APIs (#6906)Bartek Iwańczuk
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-08-04refactor: remove repeated code in main.rs (#6954)Bartek Iwańczuk
2020-08-03fix(cli): add support for non-UTF8 source files (#6789)Maayan Hanin
Fixes: #5542
2020-07-31upgrade: deno_lint, dprint, swc (#6928)Bartek Iwańczuk
This commit upgrades: deno_lint 0.1.20 dprint-plugin-typescript 0.25.0 swc_ecmascript 0.1.0 SWC is no longer reexported from dprint nor deno_lint.
2020-07-30feat(unstable): add "--ignore" flag to deno fmt (#6890)Divy Srivastava
2020-07-20Remove deno_typescript (#6813)Ryan Dahl
2020-07-16fix: ModuleSpecifier removes relative path parts (#6762)Bartek Iwańczuk
2020-07-12feat(doc): Improve terminal printer (#6594)Valentin Anger
- Add more support for generics - Add the --private flag - displays documentation for not exported and private nodes - Display more attributes like abstract, static and readonly - Display type aliases - Refactor module to use the Display trait - Use a bit more color
2020-07-11chore: upgrade deno_lint, remove direct dprint dep (#6679)Bartek Iwańczuk
This PR removes direct dependency on dprint-plugin-typescript and swc_ecma_visit. Both of these dependencies have been pushed out to deno_lint crate. This should make it a bit easier to do the upgrades and prevent having conflicting crate requirements.
2020-07-08feat(cli): json option for "deno info" (#6372)Emmanuel
2020-07-06feat: deno upgrade --output (#6352)crowlKats
2020-07-05feat(cli): Added support for the --cert flag with 'deno upgrade' (#6609)Jacob Gee-Clarke
2020-07-02refactor: lock file (#6569)Bartek Iwańczuk
- refactor lock file creation - provide deterministic output in lock file (alphabetically sorted) - dynamic imports are checked against lock file
2020-06-30refactor: Improvements to TsCompiler and its tests (#6576)Kitson Kelly
2020-06-29refactor: util functions take slices instead of heap values (#6547)Valentin Anger
2020-06-26Re-land "fix(cli): ipv6 parsing for --allow-net params" (#6472)Bartek Iwańczuk
With some minor adjustments
2020-06-25Revert "fix(cli): ipv6 parsing for --allow-net params (#6453)" (#6458)Bartek Iwańczuk
2020-06-24fix(cli): ipv6 parsing for --allow-net params (#6453)Colin Harrington
Co-authored-by: Liming Jin <jinliming2@gmail.com>
2020-06-24Add ability to output compiler performance information (#6434)Kitson Kelly
2020-06-19refactor(compiler): split code paths for compile and bundle (#6304)Bartek Iwańczuk
* refactor "compile" and "runtimeCompile" in "compiler.ts" and factor out separate methods for "compile" and "bundle" operations * remove noisy debug output from "compiler.ts" * provide "Serialize" implementations for enums in "msg.rs" * rename "analyze_dependencies_and_references" to "pre_process_file" and move it to "tsc.rs" * refactor ModuleGraph to use more concrete types and properly annotate locations where errors occur * remove dead code from "file_fetcher.rs" - "SourceFile.types_url" is no longer needed, as type reference parsing is done in "ModuleGraph" * remove unneeded field "source_path" from ".meta" files stored for compiled source file (towards #6080)
2020-06-18chore(test): move testing utilities to test_util crate (#6360)Bartek Iwańczuk
2020-06-12feat(lint): add --rules flag (#6264)Bartek Iwańczuk
2020-06-12update: deno_lint to v0.1.10 (#6248)Bartek Iwańczuk
* update: deno lint to v0.1.10 * Parallelize "deno lint" subcommand
2020-06-11feat: allow reading the entry file from stdin (#6130)Jaap Aarts
2020-06-10feat(lint): use default globs, upgrade to v0.1.9 (#6222)Bartek Iwańczuk
This commit: * added default file globs so "deno lint" can be run without arguments (just like "deno fmt") * added test for globs in "deno lint" * upgrade "deno_lint" crate to v0.1.9
2020-06-09upgrade: deno_lint v0.1.8 (#6208)Bartek Iwańczuk
2020-06-09feat(doc): display all overloads in cli details view (#6186)uki00a
2020-06-08feat: "deno lint" subcommand (#6125)Bartek Iwańczuk
2020-06-06Add diff for "deno fmt --check" (#5599)Filippo Rossi
2020-06-06feat: deno eval -p (#5682)Ryan Dahl
2020-06-04Revert "feat: format deno bundle output (#5139)" (#6085)Ryan Dahl
This reverts commit 93cf3bd5341d5985201ea0905280082d5a3310f9.
2020-06-01Move create_main_worker to MainWorker::create (#6034)Ryan Dahl
2020-06-01fix(bundle): better size output (#5997)Ali Hasani