summaryrefslogtreecommitdiff
path: root/cli/module_graph.rs
AgeCommit message (Collapse)Author
2021-09-13chore: update deno_* crates (#12020)Kitson Kelly
2021-09-11refactor: use import_map crate (#11974)Bartek Iwańczuk
Removes ImportMap implementation from "cli/" and instead uses "import_map" crate
2021-09-08fix(cli): better handling of source maps (#11954)Kitson Kelly
Ref: #11874
2021-09-07refactor(lsp): use deno_ast and cache swc ASTs (#11780)David Sherret
2021-08-27feat(cli): Update to TypeScript 4.4 (#11678)Kitson Kelly
2021-08-11chore: move test files to testdata directory (#11601)David Sherret
2021-08-06refactor: make `ParsedModule` implement `Sync` (#11581)David Sherret
2021-07-30chore: upgrade Rust to 1.54.0 (#11554)Yusuke Tanaka
2021-07-22fix(cli): info now displays type reference deps (#11478)Kitson Kelly
Fixes #11476
2021-07-14chore: upgrade to swc 0.46 (#11402)David Sherret
2021-07-06chore: use parking_lot for synchronization primitives to align with tokio ↵David Sherret
(#11289) parking_lot is already transitively used in tokio via the "full" cargo feature
2021-06-22fix(#10761): graph errors reported as diagnostics for `Deno.emit()` (#10767)Kitson Kelly
Fixes #10761
2021-06-22feat(cli): support "types" when type checking (#10999)Kitson Kelly
Fixes #10677
2021-06-19fix(core/modules): Prepare modules only once per runtime (#11015)Nayeem Rahman
This commit changes module loading implementation in "deno_core" to call "ModuleLoader::prepare" hook only once per entry point. This is done to avoid multiple type checking of the same code in case of duplicated dynamic imports. Relevant code in "cli/module_graph.rs" was updated as well.
2021-06-11refactor(ast): Change AST parsing error to return struct with message and ↵David Sherret
location (#10911) * Remove unused check js emit option. * Improve parse error. * Format.
2021-06-01fix(cli): represent bare imports as module graph error slots (#10804)Nayeem Rahman
Fixes #10795
2021-05-31fix(cli): Don't statically error on dynamic unmapped bare specifiers (#10618)Nayeem Rahman
Fixes #10168 Fixes #10615 Fixes #10616
2021-05-25feat(lsp): diagnostics for deno types and triple-slash refs (#10699)Kitson Kelly
Fixes #9823
2021-05-19fix(runtime): support source maps with Deno.emit() and bundle (#10510)Satya Rohith
Closes: #10413
2021-05-17fix: static import permissions in dynamic importsLuca Casonato
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-05-10refactor(cli): replace loading file for --config flag with generic structure ↵Bartek Iwańczuk
(#10481) Currently file passed to --config file is parsed using TsConfig structure that does multiple things when loading the file. Instead of relying on that structure I've introduced ConfigFile structure that can be updated to sniff out more fields from the config file in the future.
2021-05-10feat: add deno test --watch (#9160)Liam Murphy
This commit implements file watching for deno test. When a file is changed, only the test modules which use it as a dependency are rerun. This is accomplished by reworking the file watching infrastructure to pass the paths which have changed to the resolver, and then constructing a module graph for each test module to check if it contains any changed files.
2021-04-26refactor(cli): rename Deno.emit() bundle options to "module" and "classic" ↵Nayeem Rahman
(#10332)
2021-04-11feat: set useDefineForClassFields to true (#10119)Nayeem Rahman
Fixes: #9773
2021-03-26remove macro_use (#9884)Ryan Dahl
2021-03-25upgrade: Rust 1.51.0 (#9895)Yusuke Tanaka
2021-03-15Revert "fix(cli/module_graph): Set useDefineForClassFields to true" (#9792)Ryan Dahl
Backwards incompatible change cannot be made in-between patch releases. This commit broke std tests https://github.com/denoland/deno_std/runs/2112369372 This reverts commit c4709834b37640fd3c9d492123e6add904546573.
2021-03-15fix(cli/module_graph): Set useDefineForClassFields to true (#9774)Nayeem Rahman
Fixes #9773
2021-03-08fix(cli/ast): Pass importsNotUsedAsValues to swc (#9714)Nayeem Rahman
Fixes #9709
2021-03-01feat(cli): represent type dependencies in info (#9630)Kitson Kelly
Fixes #7927
2021-02-17Make ModuleSpecifier a type alias, not wrapper struct (#9531)Ryan Dahl
2021-02-16feat(cli): Deno.emit supports bundling as IIFE (#9291)Kitson Kelly
Closes #9204
2021-02-05fix(cli/lsp): fix using jsx/tsx when not emitting via tsc (#9407)Kitson Kelly
Closes #9308 Closes #9023 Closes #8993
2021-01-28fix(cli): early abort before type checking on missing modules (#9285)Kitson Kelly
Fixes #9275
2021-01-27fix(cli): correctly determine emit state with redirects (#9287)Kitson Kelly
Fixes #9129
2021-01-18fix(cli): Check permissions for Deno.emit() (#9139)Nayeem Rahman
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-08feat: denort binary (#9041)Luca Casonato
This commit adds new binary target called "denort". It is a "lite" version of "deno" binary that can only execute code embedded inside the binary itself. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-06refactor(cli): remove 'js' module, simplify compiler snapshot (#9020)Bartek Iwańczuk
This commit removes "js" module from "cli". It contained stuff related to TypeScript compiler (snapshot, declaration files) and thus it was moved to "tsc" module.
2021-01-02upgrade: Rust 1.49.0 (#8955)Bartek Iwańczuk
2021-01-01refactor(cli): runtime compiler APIs consolidated to Deno.emit() (#8799)Kitson Kelly
Closes: #4752
2020-12-30fix(cli): info does not panic on missing modules (#8924)Kitson Kelly
Fixes #8918
2020-12-30feat(lsp): add cache command (#8911)Kitson Kelly
2020-12-15fix(cli): make dynamic import errors catchable (#8750)Kitson Kelly
Fixes #6259
2020-12-07feat: add mvp language server (#8515)Kitson Kelly
Resolves #8400
2020-11-27fix(cli): make output of deno info --json deterministic (#8483)William Perron
Fixes #8458
2020-11-25add canary versioning (#8480)crowlKats
2020-11-23tests(cli): add test for improper unicode encoding (#8162)Kitson Kelly
and updates swc_ecma_codegen Closes #8161
2020-11-21upgrade: deno_doc, deno_lint, dprint, swc (#8443)Bartek Iwańczuk
2020-11-10tests(cli): check ignores dynamic import errors (#8323)Kitson Kelly
Closes #6618