[KongchangAI]
Concept对等依赖

peerDependencies

A dependency declaration type in npm package management, used to declare the dependencies and version ranges that the current package expects the host environment to provide. It is commonly used for plugin or adapter packages.

Core Facts

Timeline (last 90 days)

Oct 14

Having an adapter package declare a version range in dependencies or peerDependencies that is consistent with the core package is the standard practice for avoiding hidden bugs such as dependency resolution conflicts.

Unverified50%
Sep 11

peerDependencies is a dependency declaration mechanism in npm package management that is not automatically downloaded upon installation but instead requires the host project to provide the specified version of the dependency.

Verified80%

All Facts (2)

Source Articles