Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-20 | feat: auto-discover package.json for npm dependencies (#17272) | Bartek Iwańczuk | |
This commits adds auto-discovery of "package.json" file when running "deno run" and "deno task" subcommands. In case of "deno run" the "package.json" is being looked up starting from the directory of the script that is being run, stopping early if "deno.json(c)" file is found (ie. FS tree won't be traversed "up" from "deno.json"). When "package.json" is discovered the "--node-modules-dir" flag is implied, leading to creation of local "node_modules/" directory - we did that, because most tools relying on "package.json" will expect "node_modules/" directory to be present (eg. Vite). Additionally "dependencies" and "devDependencies" specified in the "package.json" are downloaded on startup. This is a stepping stone to supporting bare specifier imports, but the actual integration will be done in a follow up commit. --------- Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2023-02-14 | feat: Deprecate 'deno bundle' subcommand (#17695) | Bartek Iwańczuk | |
This commit adds a deprecation warning when using "deno bundle" subcommand and removes it from the output of "deno help". | |||
2023-02-03 | refactor: reland "preserve ProcState::file_fetcher between restarts" (#17636) | Nayeem Rahman | |
Just some watcher init step that I thought would be "cloned over" but needs to be done again on reset. | |||
2023-01-30 | Revert "fix(watch): preserve `ProcState::file_fetcher` between restarts ↵ | Bartek Iwańczuk | |
(#15466) (#17591) This reverts commit 3545bff678f20c3fdf17fe6b26f96cf1b74f917c. | |||
2023-01-27 | chore: upgrade to Rust 1.67 (#17548) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-01-13 | tests: move integration tests to a single module (#17380) | Bartek Iwańczuk | |
Effectively reverts changes done in https://github.com/denoland/deno/pull/16816 | |||
2022-11-26 | tests: move integration tests to separate modules (#16816) | Bartek Iwańczuk | |
2022-11-24 | fix(ext/flash): graceful server startup/shutdown with unsettled promises in ↵ | Yusuke Tanaka | |
mind (#16616) This PR resets the revert commit made by #16610, bringing back #16383 which attempts to fix the issue happening when we use the flash server with `--watch` option enabled. Also, some code changes are made to pass the regression test added in #16610. | |||
2022-11-18 | chore: use Rust 1.65.0 (#16688) | Aaron O'Mullan | |
2022-11-13 | fix(ext/flash): revert #16383 (graceful server startup/shutdown) (#16610) | Yoshiya Hinosawa | |
#16383 made some of Node compat test cases flaky in deno_std (and when it fails it causes segfaults). See https://github.com/denoland/deno_std/issues/2882 for details | |||
2022-11-11 | fix(ext/flash): graceful server startup/shutdown (#16383) | Divy Srivastava | |
Fixes https://github.com/denoland/deno/issues/16267 Co-authored-by: Yusuke Tanaka <yusuktan@maguro.dev> | |||
2022-10-30 | test: disable run_watch_external_watch_files on macOS (#16477) | Bartek Iwańczuk | |
This test has hung a lot recently on macOS. I am not sure if this is because of a bug in the test or because of the macOS runner that is extremely slow and flaky in general. | |||
2022-09-19 | refactor: move out test files from root testdata directory into sub ↵ | David Sherret | |
directories (#15949) | |||
2022-09-06 | fix(watch): ignore unload errors on drop (#15782) | Nayeem Rahman | |
2022-07-13 | fix(cli): Improve error message in watch mode (#15184) | 2shiori17 | |
2022-06-21 | chore(test_util): add new string assertion macros (#14928) | David Sherret | |
2022-06-14 | feat(test): update test summary report (#14629) | Mark Ladyshau | |
2022-06-13 | feat: 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-08 | fix: watch dynamic imports in --watch (#14775) | Bartek Iwańczuk | |
Fix dynamic imports being watched in the watcher when using `--watch`. | |||
2022-04-21 | fix(watcher): don't clear screen on start (#14351) | Bartek Iwańczuk | |
2022-04-11 | feat: Add "deno check" subcommand for type checking (#14072) | Bartek Iwańczuk | |
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-01 | chore(tests): use custom temp dir creation for the tests (#14153) | David Sherret | |
2022-03-22 | chore: replace `.expect("...")` calls with `.unwrap()` in test code (#14081) | David Sherret | |
2022-01-31 | feat(cli): add "--no-clear-screen" flag (#13454) | Zheyu Zhang | |
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-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-12-22 | chore: update deno_graph and deno_doc (#13173) | Kitson Kelly | |
2021-12-16 | refactor(cli): use GraphData for check and emit (#12960) | Nayeem Rahman | |
2021-12-15 | feat(watch): support watching external files (#13087) | Jesper van den Ende | |
2021-12-11 | feat(watcher): clear screen on each restart (#12613) | Bartek Iwańczuk | |
This commit adds automatic clearing of terminal screen after restarting execution on file change. | |||
2021-12-09 | fix(watch): mitigate race condition between file write by other process and ↵ | David Sherret | |
watch read (#13038) | |||
2021-11-01 | fix(fmt/lint): strip unc paths on Windows when displaying file paths in lint ↵ | David Sherret | |
and fmt (#12606) | |||
2021-10-30 | fix(cli): linter/formater watches current directory without args (#12550) | Zheyu Zhang | |
2021-10-30 | fix(cli): lint/format all discoverd files on each change (#12518) | Zheyu Zhang | |
2021-10-11 | refactor: integrate deno_graph into CLI (#12369) | Kitson Kelly | |
2021-10-05 | feat(lint): add support for --watch flag (#11983) | CGQAQ | |
2021-09-23 | refactor: clean up watcher tests (#12200) | Ryan Dahl | |
2021-08-24 | fix(cli): dispatch unload event on watch drop (#11696) | Casper Beyer | |
2021-08-18 | test: re-enable test watch tests and mark as flaky (#11669) | Casper Beyer | |
2021-08-12 | test: mark run_watch test as flaky (#11668) | Bartek Iwańczuk | |
2021-08-11 | chore: move test files to testdata directory (#11601) | David Sherret | |
2021-07-10 | fix(cli): make --doc work with --watch (#11183) | Casper Beyer | |
2021-06-27 | chore: split up integration_tests.rs into separate files (#11131) | David Sherret | |