David Sherret
1a92c39b77
refactor(ast): Change AST parsing error to return struct with message and location ( #10911 )
...
* Remove unused check js emit option.
* Improve parse error.
* Format.
2021-06-11 09:03:42 -04:00
Bartek Iwańczuk
3b220c64f6
chore: upgrade crates ( #10867 )
...
* deno_doc - 0.5.0
* deno_lint - 0.6.0
* dprint-plugin-typescript - 0.46.0
* dprint-plugin-markdown - 0.8.0
* dprint-plugin-json - 0.12.0
* swc_bundler - 0.37.4
* swc_ecmascript - 0.36.0
2021-06-06 18:42:12 +02:00
Satya Rohith
5127bb0d89
fix(runtime): support source maps with Deno.emit() and bundle ( #10510 )
...
Closes: #10413
2021-05-19 14:18:01 +10:00
Casper Beyer
36c5461129
feat(test): add support for type checking documentation ( #10521 )
...
This commit adds support for type checking codeblocks in the JS doc
comments.
2021-05-11 01:54:39 +02:00
Bartek Iwańczuk
ce48b32979
refactor(cli): replace loading file for --config flag with generic structure ( #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-10 18:16:39 +02:00
Nayeem Rahman
8aa0d5f96e
feat: set useDefineForClassFields to true ( #10119 )
...
Fixes: #9773
2021-04-11 07:56:40 +10:00
Bartek Iwańczuk
1c7217e390
chore: upgrade dependencies ( #10094 )
...
This commit upgrades:
- swc_ecmascript
- swc_bundler
- deno_doc
- deno_lint
- dprint-plugin-typescript
2021-04-09 23:35:29 +02:00
Yusuke Tanaka
e7954413e1
upgrade: Rust 1.51.0 ( #9895 )
2021-03-25 19:17:37 +01:00
Kitson Kelly
5ebb401703
feat(lsp): add import completions ( #9821 )
2021-03-25 11:13:37 +11:00
Nayeem Rahman
33eea0400d
fix(cli/ast): Pass importsNotUsedAsValues to swc ( #9714 )
...
Fixes #9709
2021-03-08 06:40:11 +10:00
Ryan Dahl
bb30e9291e
refactor: use Mutex for ErrorBuffer ( #9539 )
...
RwLock should only be used in circumstatnces where it has some benefit.
Multiple concurrent readers is usually an undesirable design bug.
2021-02-18 15:20:52 -05:00
Ryan Dahl
c7dabc99ee
Make ModuleSpecifier a type alias, not wrapper struct ( #9531 )
2021-02-17 13:47:18 -05:00
Bartek Iwańczuk
723c99de8a
chore: upgrade crates ( #9474 )
2021-02-11 17:05:42 +01:00
Yusuke Tanaka
d8fd71afdf
chore: update copyright to 2021 ( #9092 )
2021-01-11 18:13:41 +01:00
Bartek Iwańczuk
1e144ec022
upgrade: deno_doc, deno_lint, dprint, swc ( #8849 )
2020-12-22 00:57:03 +01:00
Luca Casonato
de65312b7f
chore: update swc_ecmascript to 0.15.0 ( #8688 )
2020-12-09 23:09:10 +01:00
Kitson Kelly
301d3e4b68
feat: add mvp language server ( #8515 )
...
Resolves #8400
2020-12-07 21:46:39 +11:00
János Veres
93d9f51d16
fix(cli): add hygiene pass to transpile pipeline ( #8586 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-12-02 20:26:04 +01:00
Bartek Iwańczuk
838d39e2ac
refactor(cli): DRY cli/ast.rs ( #8555 )
...
This commit deduplicates logic for parsing
modules in cli/ast.rs
2020-12-01 21:20:18 +01:00
Liam Murphy
228ecb0acb
refactor(repl): use SWC lexer to highlight and validate ( #8496 )
2020-11-27 20:14:54 +01:00
Bartek Iwańczuk
6743383d2e
upgrade: deno_doc, deno_lint, dprint, swc ( #8292 )
2020-11-08 23:27:36 +01:00
Kitson Kelly
272e9b82eb
fix(cli): inject helpers when transpiling via swc ( #8221 )
...
Fixes #8212
2020-11-02 22:33:43 +11:00
Bartek Iwańczuk
4f57ca0daf
fix: panic in bundler ( #8168 )
...
This commit fixes panic in bundler which was caused
by not setting thread-local slots.
2020-10-30 12:19:49 +01:00
Bartek Iwańczuk
57cad53945
refactor(cli): rewrite Deno.transpileOnly() to use SWC ( #8090 )
...
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-10-26 14:03:03 +01:00
Kitson Kelly
7e2c7fb6c5
refactor(cli): migrate run and cache to new infrastructure ( #7996 )
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-23 11:50:15 +11:00
Kitson Kelly
57e95032c8
feat(cli): add support for bundle --no-check ( #8023 )
...
Fixes #6686
2020-10-20 14:10:42 +11:00
Kitson Kelly
99aa23b8dd
refactor(cli): remove TextDocument ( #7850 )
2020-10-07 22:43:44 +11:00
Kitson Kelly
c489589e2b
refactor: new module graph used for no check ( #7621 )
2020-09-25 08:31:17 +10:00
Ryan Dahl
b2fa903d64
cli/msg.rs -> cli/media_type.rs
2020-09-15 11:55:51 -04:00
Bert Belder
f5b40c918c
refactor: use the 'anyhow' crate instead of 'ErrBox' ( #7476 )
2020-09-15 01:50:52 +02:00
Kitson Kelly
5248a711ff
chore: add some traits to ast.rs ( #7479 )
2020-09-14 23:59:49 +02:00
Kitson Kelly
a6f34d4722
refactor: use ParsedModule and improve MediaTypes enum ( #7456 )
2020-09-14 14:27:44 +02:00