summaryrefslogtreecommitdiff
path: root/cli/tsc.rs
AgeCommit message (Collapse)Author
2021-02-18fix(lsp): handle data URLs properly (#9522)Kitson Kelly
Fixes #9514 Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-02-17Make ModuleSpecifier a type alias, not wrapper struct (#9531)Ryan Dahl
2021-02-12fix(lsp): properly handle static assets (#9476)Kitson Kelly
2021-01-29fix(cli): add lib dom.asynciterable (#9288)Kitson Kelly
Fixes #9218
2021-01-28fix(cli): early abort before type checking on missing modules (#9285)Kitson Kelly
Fixes #9275
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-06refactor: move WebSocket API to an op_crate (#9026)Luca Casonato
2021-01-06feat(cli): support data urls (#8866)Kitson Kelly
Closes: #5059 Co-authored-by: Valentin Anger <syrupthinker@gryphno.de>
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.
2020-12-30feat(lsp): add cache command (#8911)Kitson Kelly
2020-12-16refactor(lsp): optimise static assets (#8771)Kitson Kelly
Fixes #8158
2020-12-07feat: add mvp language server (#8515)Kitson Kelly
Resolves #8400
2020-11-24feat(cli): update to TypeScript 4.1 (#7573)Kitson Kelly
2020-11-10fix(cli): allow root modules be .mjs/.cjs (#8310)Kitson Kelly
Fixes #6176
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-30fix(cli/fmt): Strip "\\?\" prefix when displaying Windows paths (#8135)Nayeem Rahman
2020-10-28fix(cli): restore tripleslash lib refs support (#8157)Kitson Kelly
Fixes #8147
2020-10-27fix(cli): restore permission check on workers (#8123)Kitson Kelly
Fixes #8120
2020-10-26refactor(cli): rewrite Deno.transpileOnly() to use SWC (#8090)Bartek Iwańczuk
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-10-23refactor(cli): move bundle check to new infrastructure (#8071)Kitson Kelly
2020-10-23BREAKING(cli/tsc): Enable isolatedModules by default (#8050)Nayeem Rahman
2020-10-23refactor(cli): migrate run and cache to new infrastructure (#7996)Kitson Kelly
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-21feat(cli): add types for WeakRef/FinalizationRegistry (#8056)Kitson Kelly
Fixes #8051
2020-10-19feat(cli/installer): Add missing flags for deno install (#7601)Nayeem Rahman
This commit adds support for following flags: - deno install --importmap - deno install --no-remote - deno install --lock - deno install --lock-write - deno install --cached-only - deno install --v8-flags - deno install --seed
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-07refactor(cli): remove TextDocument (#7850)Kitson Kelly
2020-10-03feat(unstable): revert "enable importsNotUsedAsValues by default #7413" (#7800)Nayeem Rahman
This reverts commit fbb18d40d3cfd0d24262e8e73b97f22770734572.
2020-10-01refactor: add concept of 'legacy' compiler to enable non-breaking ↵Kitson Kelly
refactoring (#7762)
2020-09-29refactor: improve graph and tsc_config (#7747)Kitson Kelly
2020-09-26refactor: combine MainWorker::new and MainWorker::create (#7693)Bartek Iwańczuk
* combine MainWorker::new and MainWorker::create * remove compiler_starts fields * make op_state types explicit for readability
2020-09-26refactor: use JsRuntime to implement TSC (#7691)Bartek Iwańczuk
This commits removes "CompilerWorker" in favor of using "JsRuntime". "cli/ops/compiler.rs" has been removed in favor of inline registration of ops in "cli/tsc.rs"
2020-09-25refactor: new module graph used for no check (#7621)Kitson Kelly
2020-09-21refactor: use futures and serde_json from deno_core (#7614)Bartek Iwańczuk
2020-09-20refactor: remove CliState, use OpState, add CliModuleLoader (#7588)Bartek Iwańczuk
- remove "CliState.workers" and "CliState.next_worker_id", instead store them on "OpState" using type aliases. - remove "CliState.global_timer" and "CliState.start_time", instead store them on "OpState" using type aliases. - remove "CliState.is_internal", instead pass it to Worker::new - move "CliState::permissions" to "OpState" - move "CliState::main_module" to "OpState" - move "CliState::global_state" to "OpState" - move "CliState::check_unstable()" to "GlobalState" - change "cli_state()" to "global_state()" - change "deno_core::ModuleLoader" trait to pass "OpState" to callbacks - rename "CliState" to "CliModuleLoader"
2020-09-16Re-export deno_core::url (#7525)Ryan Dahl
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
2020-09-15cli/msg.rs -> cli/media_type.rsRyan Dahl
2020-09-14Rename deno::state::State to deno::state::CliState (#7480)Ryan Dahl
2020-09-15refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476)Bert Belder
2020-09-14refactor: use ParsedModule and improve MediaTypes enum (#7456)Kitson Kelly
2020-09-12refactor: improve tsc diagnostics (#7420)Kitson Kelly
2020-09-12refactor: Improve placeholder module names (#7430)Nayeem Rahman
2020-09-12Revert "feat(unstable): Support data: urls (#5157)" (#7432)Bartek Iwańczuk
This reverts commit e3319f34a6ece36eab3138eae83c8d0e18fcc07c.
2020-09-11feat(unstable): Support data: urls (#5157)Valentin Anger
2020-09-11feat(unstable): enable importsNotUsedAsValues by default (#7413)Luca Casonato
2020-09-11refactor(core): JsRuntime initialization (#7415)Bartek Iwańczuk
Removes: - "deno_core::StartupData" - "deno_core::Script" - "deno_core::OwnedScript" Changes to "JsRuntime": - remove "new_with_loader()" - remove "with_heap_limits()" - rename "IsolateOptions" to "RuntimeOptions" and make public - "JsRuntime::new()" takes "RuntimeOptions" as a single param
2020-09-10Use gotham-like state for ops (#7385)Ryan Dahl
Provides a concrete state type that can be dynamically added. This is necessary for op crates. * renames BasicState to OpState * async ops take `Rc<RefCell<OpState>>` * sync ops take `&mut OpState` * removes `OpRegistry`, `OpRouter` traits * `get_error_class_fn` moved to OpState * ResourceTable moved to OpState
2020-09-09upgrade: swc, deno_doc, deno_lint, dprint (#7402)Bartek Iwańczuk
- deno_doc - 0.1.6 - deno_lint - 0.1.29 - dprint-plugin-typescript 0.31.1 - swc_ecmascript 0.7.3
2020-09-09fix(op_crates/web): Use "deno:" URLs for internal script specifiers (#7383)Nayeem Rahman