0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-08 07:16:56 -05:00
denoland-deno/tests
David Sherret 273ec9fbf2
refactor: add WorkspaceFactory and ResolverFactory (#27766)
Allows easily constructing a `DenoResolver` using the exact same logic
that we use in the CLI (useful for dnt and for external bundlers). This
code is then used in the CLI to ensure the logic is always up-to-date.

```rs
use std::rc::Rc;

use deno_resolver:🏭:ResolverFactory;
use deno_resolver:🏭:WorkspaceFactory;
use sys_traits::impls::RealSys;

let sys = RealSys;
let cwd = sys.env_current_dir()?;
let workspace_factory = Rc::new(WorkspaceFactory::new(sys, cwd, Default::default()));
let resolver_factory = ResolverFactory::new(workspace_factory.clone(), Default::default());
let deno_resolver = resolver_factory.deno_resolver().await?;
```
2025-01-23 18:52:55 -05:00
..
config chore: use @std prefix for internal module specifiers (#24543) 2024-07-25 10:26:54 +10:00
ffi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
integration refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
napi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
node_compat fix(ext/node): add FileHandle#sync (#27677) 2025-01-21 14:52:40 +09:00
registry fix(check/lsp): fix bugs with tsc type resolution, allow npm packages to augment ImportMeta (#27690) 2025-01-16 19:20:04 +00:00
specs feat(compile): show remote modules and metadata size when compiling (#27415) 2025-01-23 16:55:50 +00:00
testdata feat(compile): show remote modules and metadata size when compiling (#27415) 2025-01-23 16:55:50 +00:00
unit feat(unstable): refactor js lint plugin AST (#27615) 2025-01-14 13:31:02 +01:00
unit_node fix(ext/node): reference error in zlib.crc32 (#27777) 2025-01-22 14:31:17 +00:00
util refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
wpt fix(deps): update yanked crates (#27512) 2025-01-20 21:47:14 -08:00
Cargo.toml refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
lib.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
README.md chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00

Deno Integration Tests