deno/cli/npm/managed
David Sherret 83f92474c5
perf(lsp): use lockfile to reduce npm pkg resolution time (#23247)
This functionality was broken. The series of events was:

1. Load the npm resolution from the lockfile.
2. Discover only a subset of the specifiers in the documents.
3. Clear the npm snapshot.
4. Redo npm resolution with the new specifiers (~500ms).

What this now does:

1. Load the npm resolution from the lockfile.
2. Discover only a subset of the specifiers in the documents and take
into account the specifiers from the lockfile.
3. Do not redo resolution (~1ms).
2024-04-05 22:33:01 +00:00
..
resolvers perf: hard link npm cache (#22773) 2024-03-07 13:10:19 -05:00
cache.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
installer.rs feat(lockfile): track JSR and npm dependencies in config file (#22004) 2024-01-22 22:31:12 +01:00
mod.rs feat(lockfile): track JSR and npm dependencies in config file (#22004) 2024-01-22 22:31:12 +01:00
registry.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
resolution.rs perf(lsp): use lockfile to reduce npm pkg resolution time (#23247) 2024-04-05 22:33:01 +00:00
tarball.rs perf(cli): use faster_hex (#22761) 2024-03-07 10:00:43 -07:00