Yiyu Lin
9161e1cacf
refactor(cli,ext,ops): cleanup regex
with lazy-regex
( #17296 )
...
- bump deps: the newest `lazy-regex` need newer `oncecell` and
`regex`
- reduce `unwrap`
- remove dep `lazy_static`
- make more regex cached
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-04-18 17:41:50 +02:00
David Sherret
f981becf3e
perf(check): faster source hashing ( #18534 )
2023-04-01 17:34:08 -04:00
David Sherret
253b556e6f
perf(check): type check local files only when not using --all
( #18329 )
...
Closes #18171
2023-03-21 18:19:42 -04:00
David Sherret
2fcf1f14cf
feat: TypeScript 5.0.2 (except decorators) ( #18294 )
...
This upgrades TypeScript to 5.0.2, but does not have ES decorator
support because swc does not support that yet.
2023-03-21 15:46:40 +00:00
David Sherret
8db853514c
fix(check): regression where config "types" entries caused type checking errors ( #18124 )
...
Closes #18117
Closes #18121 (this is just over 10ms faster in a directory one up from
the root folder)
cc @nayeemrmn
2023-03-11 11:43:45 -05:00
Nayeem Rahman
273777f7d9
fix(check): include dts files in tsc roots ( #18026 )
2023-03-05 12:47:04 -05:00
David Sherret
a6ca4d0d61
refactor: use deno_graph for npm specifiers ( #17858 )
...
This changes npm specifiers to be handled by deno_graph and resolved to
an npm package name and version when the specifier is encountered. It
also slightly changes how npm specifier resolution occurs—previously it
would collect all the npm specifiers and resolve them all at once, but
now it resolves them on the fly as they are encountered in the module
graph.
https://github.com/denoland/deno_graph/pull/232
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-02-22 14:15:25 -05:00
David Sherret
b3e88e0681
refactor: deno_graph 0.43 upgrade ( #17692 )
2023-02-09 22:00:23 -05:00
Bartek Iwańczuk
fc2e00152b
feat: support node built-in module imports ( #17264 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2023-01-24 09:05:54 -05:00
David Sherret
654e177c91
refactor(deno_graph): remove unused Resolved::Ok#kind usage ( #17504 )
...
See https://github.com/denoland/deno_graph/pull/205 for more details.
2023-01-24 08:23:19 -05:00
Yiyu Lin
896dd56b7a
refactor(cli,core,ext,rt): remove some unnecessary clone
or malloc
( #17274 )
2023-01-05 14:29:50 -05:00
Yiyu Lin
319f607476
chore(cli,ext,rt): remove some unnecessary clone
or malloc
( #17261 )
2023-01-04 13:20:36 +01:00
David Sherret
10e4b2e140
chore: update copyright year to 2023 ( #17247 )
...
Yearly tradition of creating extra noise in git.
2023-01-02 21:00:42 +00:00
David Sherret
dcb4ffb93a
refactor: move dts files, diagnostics.rs, and tsc.rs to tsc folder ( #16820 )
2022-11-25 18:29:48 -05:00
David Sherret
bcfe279fba
feat(unstable/npm): initial type checking of npm specifiers ( #16332 )
2022-10-21 15:20:18 +00:00
David Sherret
387300aed0
refactor: extract out check code from emit ( #15729 )
...
Closes #15535
2022-09-02 10:54:40 -04:00