summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
AgeCommit message (Collapse)Author
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-05feat: Implement WebSocket API (#7051)crowlKats
2020-09-03support env_logger / RUST_LOG (#7142)tokiedokie
2020-09-02Remove unnecessary stdout pipes in tests (#7322)Ryan Dahl
2020-08-31feat(lint): Add support for reading input from stdin (#7263)Yusuke Tanaka
2020-08-28Move benchmarks to Rust (#7134)Valentin Anger
All benchmarks are done in Rust and can be invoked with `cargo bench`. Currently this has it's own "harness" that behaves like `./tools/benchmark.py` did. Because of this tests inside `cli/bench` are currently not run. This should be switched to the language provided harness once the `#[bench]` attribute has been stabilized.
2020-08-26fix(cli): revert "never type check deno info #6978" (#7199)Luca Casonato
2020-08-23fix(doc): stack overflow for .d.ts files (#7167)Bartek Iwańczuk
2020-08-18refactor: permissions (#7074)Nayeem Rahman
2020-08-18Fix nightly and Windows-only clippy warnings (#7095)Bert Belder
2020-08-14Enable WebAssembly.instantiateStreaming (#7043)Casper Beyer
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-10Remove unnecessary drop calls (#7007)Ryan Dahl
2020-08-10feat: Stabilize Deno.mainModule (#6993)Nayeem Rahman
2020-08-08test(cli/inspector_port_collision): skip test on WSL (#6991)Bert Belder
2020-08-08test(cli/inspector_port_collision): fail rather than hang (#6991)Bert Belder
2020-08-08fix(cli): show error on unrecognized V8 flag, exit on --help (#6980)Bert Belder
2020-08-07fix(deno info): Never type check (#6978)Nayeem Rahman
2020-08-03feat: hash file names in gen cache (#6911)Luca Casonato
2020-07-30feat(unstable): add "--ignore" flag to deno fmt (#6890)Divy Srivastava
2020-07-24fix: deno-types directive should have higher precedence than ↵Bartek Iwańczuk
X-TypeScript-Types header (#6761)
2020-07-23refactor: remove more compiler runtime code (#6841)Bartek Iwańczuk
2020-07-19Port internal TS code to JS (#6793)Bartek Iwańczuk
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-07-17fix: providing empty source code for missing compiled files (#6760)Bartek Iwańczuk
This commit adds a fallback mechanism for absent compiled source file. Because imported type declaration files are not emitted by TS compiler and their imports are not elided users often hit "No such file or directory" error. With this commit in such situation an empty source file will be provided to V8 with a warning to the user suggesting using "import type"/ "export type" syntax instead.
2020-07-15fix: panic for runtime error in TS compiler (#6758)Bartek Iwańczuk
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-13fix(cli): don't panic when no "HOME" env var is set (#6728)Maayan Hanin
2020-07-13fix(Deno.ppid): improve error message when --unstable is missing (#6717)uki00a
2020-07-12feat(cli): add DENO_CERT environment variable (#6370)Oscar Linde
2020-07-11chore: reenable ignored integration tests (#6703)Bartek Iwańczuk
2020-07-09fix(cli): panic when stdio is null on windows (#6528)Maayan Hanin
Fixes: #6409
2020-07-08feat(cli): json option for "deno info" (#6372)Emmanuel
2020-07-08feat: add --no-check option (#6456)Kitson Kelly
This commit adds a "--no-check" option to following subcommands: - "deno cache" - "deno info" - "deno run" - "deno test" The "--no-check" options allows to skip type checking step and instead directly transpiles TS sources to JS sources. This solution uses `ts.transpileModule()` API and is just an interim solution before implementing it fully in Rust.
2020-07-07feat: add lockfile support to bundle (#6624)Takahiko Inayama
2020-07-06fix: Deno.setRaw shouldn't panic on ENOTTY (#6630)uki00a
2020-07-06feat: deno upgrade --output (#6352)crowlKats
2020-07-05chore: re-enable tests using media_types (#6642)Bartek Iwańczuk
2020-07-04chore: port http_server.py to rust (#6364)Ryan Dahl
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-29fix(cli/upgrade): upgrade fails on Windows with space in temp path (#6522)Andrey Filatkin
2020-06-26'Compile' messages changed to 'Check' messages (#6504)Ryan Dahl
2020-06-26fix: Omit buildinfo when --reload passed (#6489)Kitson Kelly
2020-06-25Restore stats for incremental compile (#6474)Kitson Kelly
2020-06-24Incremental compilation for TypeScript (#6428)Bartek Iwańczuk
This commit adds incremental compilation capabilities to internal TS compiler. Instead of using "ts.createProgram()" API for compilation step (during deno startup), "ts.createIncrementalProgram()" API is used instead. Thanks to TS' ".tsbuildinfo" file that already stores all necessary metadata for compilation I was able to remove our own invention that is ".graph" file. ".tsbuildinfo" file is stored alongside compiled source and is used to cache-bust outdated dependencies, facilitated by the "version" field. The value for "version" field is computed in Rust during loading of module graph and is basically a hash of the file contents. Please keep in mind that incremental compilation is only used for initial compilation (or dynamic imports compilation) - bundling and runtime compiler APIs haven't been changed at all. Due to problems with source map I changed compilation settings to inline source map (inlineSourceMap instead of sourceMap).
2020-06-24Add ability to output compiler performance information (#6434)Kitson Kelly
2020-06-19fix: "deno test" should respect NO_COLOR=true (#6371)uki00a
2020-06-19build: lint cli/tests/unit using deno lint (#6327)Alan Gou
2020-06-18chore(test): move testing utilities to test_util crate (#6360)Bartek Iwańczuk
2020-06-17chore: move fmt test to integration tests (#6340)Bartek Iwańczuk