summaryrefslogtreecommitdiff
path: root/cli/module_graph.rs
AgeCommit message (Collapse)Author
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
2020-11-10fix(cli): allow root modules be .mjs/.cjs (#8310)Kitson Kelly
Fixes #6176
2020-11-10fix(cli): allow declaration emits for Deno.compile() (#8303)Kitson Kelly
Fixes #8289
2020-11-09fix(cli): do not write tsbuildinfo when diagnostics are emitted (#8311)Kitson Kelly
Fixes #8309
2020-11-08upgrade: deno_doc, deno_lint, dprint, swc (#8292)Bartek Iwańczuk
2020-11-08fix(cli): ensure that transitory dependencies are emitted (#8275)Kitson Kelly
Fixes #8111
2020-11-07fix(cli): allow remapping to locals for import map (#8262)Kitson Kelly
Fixes #7723
2020-11-07fix(cli): properly handle type checking root modules with type defini… (#8263)Kitson Kelly
2020-11-06fix(cli): correct libs sent to tsc for unstable worker (#8260)Kitson Kelly
Fixes #8257
2020-11-03refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220)Kitson Kelly
2020-11-02refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192)Kitson Kelly
Fixes #8060
2020-10-14refactor(cli): add tsc2 (#7942)Kitson Kelly
Ref #7225
2020-10-13refactor(cli): rename GlobalState to ProgramState (#7914)Bartek Iwańczuk
2020-10-12chore(cli): remove dead code (#7941)Kitson Kelly
2020-10-07refactor(cli): remove TextDocument (#7850)Kitson Kelly