summaryrefslogtreecommitdiff
path: root/cli/tools
AgeCommit message (Collapse)Author
2022-08-22perf: cache swc dependency analysis and don't hold onto `ParsedSource`s in ↵David Sherret
memory (#15502)
2022-08-21chore: use Rust 1.63.0 (#15464)Mathias Lafeldt
2022-08-20feat: add "deno init" subcommand (#15469)Leo Kettmeir
This adds an init subcommand to that creates a project starter similar to cargo init. ``` $ deno init my_project Project initialized Run these commands to get started: cd my_project deno run main.ts deno run main_test.ts $ deno run main.ts Add 2 + 3 5 $ cat main.ts export function add(a: number, b: number): number { return a + b; } if (import.meta.main) { console.log("Add 2 + 3", add(2, 3)); } $ cat main_test.ts import { assertEquals } from "https://deno.land/std@0.151.0/testing/asserts.ts"; import { add } from "./main.ts"; Deno.test(function addTest() { assertEquals(add(2, 3), 5); }); ``` Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-08-11refactor(cli): consolidate most MainWorker related code to the same place ↵David Sherret
(#15459)
2022-08-10feat: add initial internal npm client and dependency resolver (#15446)David Sherret
2022-08-10fix(permissions): ignore empty values (#15447)Leo Kettmeir
2022-08-10feat(repl): add color to functions for syntax highlighting (#15434)sigmaSd
2022-08-04fix(test): output parallel test results independently (#15399)Nayeem Rahman
2022-08-04fix(vendor): existing import map with bare specifier in remote (#15390)David Sherret
2022-08-03fix(vendor): error on dynamic imports that fail to load instead of panicking ↵David Sherret
(#15391)
2022-08-02fix(test): race condition for cancelled tests (#15233)Nayeem Rahman
2022-07-26chore: update jsonc_parser to 0.20 (#15316)David Sherret
2022-07-20fix(coverage): do not verify emit source hash for coverage (#15260)David Sherret
2022-07-19feat: emit files on demand and fix racy emit (#15220)David Sherret
2022-07-18feat(cli): support configuring the test tool in the config file (#15079)Roj
2022-07-18chore(repl): update rustyline to 10.0.0 (#15232)sigmaSd
2022-07-15refactor: allocate IDs for tests (#14729)Nayeem Rahman
2022-07-12perf: use emit from swc instead of tsc (#15118)David Sherret
2022-07-11fix(coverage): better handling of multi-byte characters (#15159)David Sherret
2022-07-11refactor: rename run_basic to run_local (#15068)cuobiezi
2022-07-01refactor: extract `deno_graph::create_graph` use to common function (#15009)David Sherret
2022-07-01chore: use Rust 1.62.0 (#15028)Bartek Iwańczuk
2022-06-29fix(vendor): ignore import map in output directory instead of erroring (#14998)David Sherret
2022-06-29refactor: rename `RootConfig` to `CliOptions` (#15007)David Sherret
2022-06-28refactor: add `RootConfig` (#14985)David Sherret
2022-06-28feat(web): add beforeunload event (#14830)Colin Ihrig
This commit adds the 'beforeunload' event. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-06-27refactor: create `args` folder (#14982)David Sherret
2022-06-24fix: don't error if Deno.bench() or Deno.test() are used in run subcommand ↵Bartek Iwańczuk
(#14946)
2022-06-23fix(fmt): ignore node_modules directory (#14943)Bartek Iwańczuk
2022-06-22fix(repl): use spaces for tab handler on windows (#14931)sigmaSd
There is a bug in rustyline with tabs on Windows, so we insert spaces for now.
2022-06-21chore: fix pty_tab_handler test on windows (#14927)David Sherret
2022-06-20fix(repl): accept tab when previous character is whitespace (#14898)sigmaSd
2022-06-20refactor: add `EmitCache` trait (#14925)David Sherret
2022-06-18fix(fmt): should fail `--check` on parse error (#14907)David Sherret
2022-06-15fix(check): use "moduleDetection": "force" (#14875)Nayeem Rahman
2022-06-15feat(repl): Add key binding to force a new line (#14536)sigmaSd
This commit adds key binding for "ctrl+s" combination that will force a new line in REPL.
2022-06-14feat(test): update test summary report (#14629)Mark Ladyshau
2022-06-14feat(vendor): support using an existing import map (#14836)David Sherret
2022-06-13feat: no type-check by default (#14691)Bartek Iwańczuk
This commit changes default default behavior of type checking for several subcommands. Instead of type checking and reporting type errors only for local files, the type checking is skipped entirely. Type checking can still be enabled using the "--check" flag. Following subcomands are affected: - deno cache - deno install - deno eval - deno run
2022-06-09feat(fmt): support formatting cjs, cts, mjs, and mts files (#14837)David Sherret
2022-06-08feat(task): add `--cwd` flag for configuring the working directory (#14823)Kayla Washburn
2022-05-30refactor(bench): Allocate IDs for benches (#14757)Nayeem Rahman
2022-05-23fix(vendor): handle relative imports when mapped local folder name differs ↵David Sherret
from remote's (#14465)
2022-05-22fix(coverage): do not report transpiled files with no lines (#14699)Colin Ihrig
This commit omits files from the coverage report that have no lines of code to report coverage for. Fixes: https://github.com/denoland/deno/issues/14683
2022-05-20refactor: upgrade to deno_ast 0.15 (#14680)David Sherret
2022-05-17feat: subcommands type-check only local files by default (#14623)Bartek Iwańczuk
This commit changes default mode of type-checking to "local" and adds "--check" flag to following subcommands: - deno bench - deno bundle - deno cache - deno compile - deno eval - deno install - deno test
2022-05-13feat: add --no-config flag (#14555)Bartek Iwańczuk
This flag disables loading of configuration file, ie. it will not be automatically discovered and loaded. Of course this flag conflicts with "--config" flag and they cannot be used together.
2022-05-13chore: update to rust 1.60.0 & update Cargo.lock (#14260)Luca Casonato
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-05-10fix: do not panic on `TestOutputPipe::flush` when receiver dropped (#14560)David Sherret
2022-05-10chore: fix flaky steps_output_within - part 2 (#14562)David Sherret