1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 00:59:24 -05:00
denoland-deno/cli/npm/managed/resolvers
David Sherret c6d1b0a1cc
fix(byonm): resolve npm deps of jsr deps (#25399)
This allows using npm deps of jsr deps without having to add them to the
root package.json.

Works by taking the package requirement and scanning the
`node_modules/.deno` directory for the best matching package, so it
relies on deno's node_modules structure.

Additionally to make the transition from package.json to deno.json
easier, Deno now:

1. Installs npm deps in a deno.json at the same time as installing npm
deps from a package.json.
2. Uses the alias in the import map for `node_modules/<alias>` for
better package.json compatiblity.
2024-09-04 14:00:44 +00:00
..
local feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
common.rs refactor: decouple node resolution from deno_core (#24724) 2024-07-25 19:08:14 -04:00
global.rs refactor: decouple node resolution from deno_core (#24724) 2024-07-25 19:08:14 -04:00
local.rs fix(byonm): resolve npm deps of jsr deps (#25399) 2024-09-04 14:00:44 +00:00
mod.rs fix(byonm): resolve npm deps of jsr deps (#25399) 2024-09-04 14:00:44 +00:00