1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/tests/specs/npm
Nathan Whitaker a379009bfd
fix(cli): Prefer npm bin entries provided by packages closer to the root (#24024)
Fixes #24012.

In the case of multiple packages providing a binary with a same name, we
were basically leaving the results undefined (since we set up things in
parallel, and whichever got set up first won). In addition, we were
warning about these cases, even though it's a situation that's expected
to occur.

Instead, in the case of a collision in the binary names, we prefer the
binary provided by the package with the least depth in the dependency
tree.

While I was at it, I also took moved more code to `bin_entries.rs` since
it was starting to get a bit cluttered.
2024-05-29 17:45:22 -07:00
..
adding_npm_dep_in_dynamic_import perf: skip npm install if graph has no new packages (#24017) 2024-05-28 16:24:07 -04:00
bin_entries_prefer_closer fix(cli): Prefer npm bin entries provided by packages closer to the root (#24024) 2024-05-29 17:45:22 -07:00
check_pkg_json_import chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
cjs_internal_types_default_export fix(lsp): improved cjs tracking (#23374) 2024-04-15 17:50:52 -04:00
conditional_exports chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
conditional_exports_node_modules_dir chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
es_module chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
future_auto_install_no_package_json FUTURE: override byonm with nodeModulesDir setting (#23222) 2024-04-05 10:34:51 -04:00
future_node_modules_dir_setting FUTURE: override byonm with nodeModulesDir setting (#23222) 2024-04-05 10:34:51 -04:00
local_dir_no_duplicate_resolution perf: analyze cjs exports and emit typescript in parallel (#23856) 2024-05-18 11:42:03 -04:00
lock_file_integrity_failure feat(vendor): support modifying remote files in vendor folder without checksum errors (#23979) 2024-05-28 14:58:43 -04:00
npmrc FUTURE: initial support for .npmrc file (#23560) 2024-05-23 23:26:23 +02:00
npmrc_bad_token FUTURE: initial support for .npmrc file (#23560) 2024-05-23 23:26:23 +02:00
npmrc_basic_auth FUTURE: initial support for .npmrc file (#23560) 2024-05-23 23:26:23 +02:00
npmrc_deno_json FUTURE: initial support for .npmrc file (#23560) 2024-05-23 23:26:23 +02:00
npmrc_not_next_to_package_json FUTURE: initial support for .npmrc file (#23560) 2024-05-23 23:26:23 +02:00
require_resolve_bad_paths_global_cache chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00