summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
AgeCommit message (Collapse)Author
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
2020-06-15fix(compiler): JSX compilation and provide better error message (#6300)Bartek Iwańczuk
2020-06-12feat: Add TestDefinition::only (#5793)Nayeem Rahman
2020-06-12make std deno-lint clean (#6240)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-06-11fix: WebAssembly runtime error propagation (#6137)Casper Beyer
Currently WebAssembly runtime errors don't propagate up to the user as they use urls to denote where the error occurred which get caught by the source-map pipeline which doesn't support the wasm scheme.
2020-06-11feat: allow reading the entry file from stdin (#6130)Jaap Aarts
2020-06-10feat: Add Deno.mainModule (#6180)John Gardner
2020-06-10feat(lint): use default globs, upgrade to v0.1.9 (#6222)Bartek Iwańczuk
This commit: * added default file globs so "deno lint" can be run without arguments (just like "deno fmt") * added test for globs in "deno lint" * upgrade "deno_lint" crate to v0.1.9
2020-06-10fix: several regressions in TS compiler (#6177)Bartek Iwańczuk
This commit fixes several regressions in TS compiler: * double compilation of same module during same process run * compilation of JavaScript entry point with non-JS imports * unexpected skip of emit during compilation Additional checks were added to ensure "allowJs" setting is used in TS compiler if JavaScript has non-JS dependencies.
2020-06-10fix: handle @deno-types in export {} (#6202)Bartek Iwańczuk
* fix: handle @deno-types in export {} * lint * fix tests * fmt * fix test
2020-06-09upgrade: deno_lint v0.1.8 (#6208)Bartek Iwańczuk
2020-06-09feat(doc): display all overloads in cli details view (#6186)uki00a
2020-06-08test: fixed initial `[WILDCARD]` not matching empty the on first line (#5420)Jack Kelly
2020-06-06feat: deno eval -p (#5682)Ryan Dahl
2020-06-05ci: upgrade to Rust 1.44.0 (#6113)Bert Belder
2020-06-02Fix REPL BorrowMutError panic (#6055)Ryan Dahl