summaryrefslogtreecommitdiff
path: root/cli/main.rs
AgeCommit message (Collapse)Author
2020-09-16Remove unnecessary serde_derive dependencyRyan Dahl
2020-09-16Revert "feat(install): bundle before installation" (#7522)Bert Belder
This reverts the changes introduced by PR #5276, which made `deno install «script»` automatically bundle the script's dependencies. It broke the `deno install` command for a large number of scripts. This reverts commit 34e98fa59cd70f7ce64e587bef41fac536a3076b. Closes: #7492
2020-09-16refactor(unstable): deno info --json output (#7417)bartOssh
Provide flat JSON structured output. Fix BrokenPipe error when piping out to "head".
2020-09-15cli/msg.rs -> cli/media_type.rsRyan Dahl
2020-09-15refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476)Bert Belder
2020-09-15chore: fix clippy warnings (#7476)Bert Belder
2020-09-14refactor: use ParsedModule and improve MediaTypes enum (#7456)Kitson Kelly
2020-09-13feat(unstable): deno test --coverage (#6901)Casper Beyer
This commit adds basic support for collecting coverage data using "deno test". Currently the report is only a text added to the end of output from "deno test".
2020-09-12refactor: Improve placeholder module names (#7430)Nayeem Rahman
2020-09-12Revert "feat(unstable): Support data: urls (#5157)" (#7432)Bartek Iwańczuk
This reverts commit e3319f34a6ece36eab3138eae83c8d0e18fcc07c.
2020-09-11feat(unstable): Support data: urls (#5157)Valentin Anger
2020-09-11feat(unstable): deno run --watch (#7382)Bartek Iwańczuk
Co-authored-by: Sebastian Seedorf <mail@sebse.de>
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