Bartek Iwańczuk
8ae17026cb
feat: Add "deno check" subcommand for type checking ( #14072 )
...
This commit adds new "deno check" subcommand.
Currently it is an alias for "deno cache" with the difference that remote
modules don't emit TS diagnostics by default.
Prints warning for "deno run" subcommand if "--check" flag is not present
and there's no "--no-check" flag. Adds "DENO_FUTURE_CHECK" env
variable that allows to opt into new behavior now.
2022-04-11 01:12:51 +02:00
David Sherret
1c37ac3352
chore(tests): use custom temp dir creation for the tests ( #14153 )
2022-04-01 11:15:37 -04:00
David Sherret
6268a1a6fd
chore: replace .expect("...")
calls with .unwrap()
in test code ( #14081 )
2022-03-22 15:10:00 -04:00
Zheyu Zhang
5490cfed20
feat(cli): add "--no-clear-screen" flag ( #13454 )
...
This commit adds "--no-clear-screen" flag which can be used
with "--watch" flag to disable clearing of terminal screen on
each file change.
2022-01-31 17:39:39 +01:00
Ryan Dahl
1fb5858009
chore: update copyright to 2022 ( #13306 )
...
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07 22:09:52 -05:00
Kitson Kelly
8547a37132
chore: update deno_graph and deno_doc ( #13173 )
2021-12-22 14:25:06 +01:00
Nayeem Rahman
9ffc7edc23
refactor(cli): use GraphData for check and emit ( #12960 )
2021-12-16 21:45:41 +11:00
Jesper van den Ende
5a3ded6611
feat(watch): support watching external files ( #13087 )
2021-12-15 16:04:43 -05:00
Bartek Iwańczuk
13d7d57227
feat(watcher): clear screen on each restart ( #12613 )
...
This commit adds automatic clearing of terminal screen after
restarting execution on file change.
2021-12-11 01:12:25 +01:00
David Sherret
f530189c50
fix(watch): mitigate race condition between file write by other process and watch read ( #13038 )
2021-12-09 20:24:37 -05:00
David Sherret
2794d0b7a2
fix(fmt/lint): strip unc paths on Windows when displaying file paths in lint and fmt ( #12606 )
2021-11-01 16:22:08 -04:00
Zheyu Zhang
3fb23ab772
fix(cli): linter/formater watches current directory without args ( #12550 )
2021-10-30 19:20:56 +02:00
Zheyu Zhang
85a2943435
fix(cli): lint/format all discoverd files on each change ( #12518 )
2021-10-30 09:59:53 +02:00
Kitson Kelly
a7baf5f2bb
refactor: integrate deno_graph into CLI ( #12369 )
2021-10-11 08:26:22 +11:00
CGQAQ
c555b31d40
feat(lint): add support for --watch flag ( #11983 )
2021-10-05 23:07:38 +02:00
Ryan Dahl
da25bbff88
refactor: clean up watcher tests ( #12200 )
2021-09-23 15:12:22 -04:00
Casper Beyer
a3fd4bb998
fix(cli): dispatch unload event on watch drop ( #11696 )
2021-08-24 22:34:09 +02:00
Casper Beyer
71e558c71c
test: re-enable test watch tests and mark as flaky ( #11669 )
2021-08-18 15:35:24 +02:00
Bartek Iwańczuk
fd94575576
test: mark run_watch test as flaky ( #11668 )
2021-08-12 13:51:27 +02:00
David Sherret
15a763152f
chore: move test files to testdata directory ( #11601 )
2021-08-11 10:20:47 -04:00
Casper Beyer
9b89668065
fix(cli): make --doc work with --watch ( #11183 )
2021-07-10 01:15:15 +02:00
David Sherret
098a7c8886
chore: split up integration_tests.rs into separate files ( #11131 )
2021-06-27 13:27:36 -04:00