1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/cli/tests/testdata/npm/registry/@denotest
David Sherret cbb3f85433
feat(unstable/npm): support peer dependencies (#16561)
This adds support for peer dependencies in npm packages.

1. If not found higher in the tree (ancestor and ancestor siblings),
peer dependencies are resolved like a dependency similar to npm 7.
2. Optional peer dependencies are only resolved if found higher in the
tree.
3. This creates "copy packages" or duplicates of a package when a
package has different resolution due to peer dependency resolution—see
https://pnpm.io/how-peers-are-resolved. Unlike pnpm though, duplicates
of packages will have `_1`, `_2`, etc. added to the end of the package
version in the directory in order to minimize the chance of hitting the
max file path limit on Windows. This is done for both the local
"node_modules" directory and also the global npm cache. The files are
hard linked in this case to reduce hard drive space.

This is a first pass and the code is definitely more inefficient than it
could be.

Closes #15823
2022-11-08 14:17:24 -05:00
..
bin/1.0.0 fix(npm): binary entrypoint for .js or no extension (#15900) 2022-09-14 10:41:47 -04:00
builtin-module-module/1.0.0 fix(ext/node): fix builtin module module (#15904) 2022-09-17 20:35:32 +09:00
check-error/1.0.0 feat(unstable/npm): initial type checking of npm specifiers (#16332) 2022-10-21 15:20:18 +00:00
child-process-fork/1.0.0 feat(npm): functionality to support child_process.fork (#15891) 2022-09-28 13:04:16 -04:00
cjs-default-export/1.0.0 feat(unstable/npm): initial type checking of npm specifiers (#16332) 2022-10-21 15:20:18 +00:00
cjs-local-global-decls/1.0.0 fix(npm): add console global for node environment (#16519) 2022-11-02 19:08:09 -04:00
cjs-module-export-assignment/1.0.0 chore(npm): add explicit tests for module.exports assignment with type checking (#16435) 2022-10-27 17:54:46 -04:00
cjs-module-export-assignment-number/1.0.0 chore(npm): add explicit tests for module.exports assignment with type checking (#16435) 2022-10-27 17:54:46 -04:00
cjs-reexport-collision/1.0.0 fix(npm): handle cjs re-exports with the same name as an export (#15626) 2022-08-26 14:34:35 -04:00
cjs-this-in-exports/1.0.0 fix(npm): remove export binding to match node (#15837) 2022-09-10 11:38:11 -04:00
conditional-exports/1.0.0 fix(npm): conditional exports with wildcards (#15652) 2022-08-29 19:15:20 +02:00
dual-cjs-esm/1.0.0 fix(npm): support cjs resolution of package subpath with package.json (#15855) 2022-09-12 15:47:54 -04:00
env-var-re-export/1.0.0 fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
esm-import-cjs-default/1.0.0 feat(unstable/npm): initial type checking of npm specifiers (#16332) 2022-10-21 15:20:18 +00:00
globals/1.0.0 feat(unstable/npm): initial type checking of npm specifiers (#16332) 2022-10-21 15:20:18 +00:00
peer-dep-test-child feat(unstable/npm): support peer dependencies (#16561) 2022-11-08 14:17:24 -05:00
peer-dep-test-grandchild/1.0.0 feat(unstable/npm): support peer dependencies (#16561) 2022-11-08 14:17:24 -05:00
peer-dep-test-peer feat(unstable/npm): support peer dependencies (#16561) 2022-11-08 14:17:24 -05:00
require-added-nm-folder/1.0.0 feat(npm): add flag for creating and resolving npm packages to a local node_modules folder (#15971) 2022-09-22 11:17:02 -04:00
types-ambient/1.0.0 feat(unstable/npm): initial type checking of npm specifiers (#16332) 2022-10-21 15:20:18 +00:00