peerDependencies について

  • 一例
    • eslint-config-weseek 側の peerDependencies は、使う側( growi 本体など)が peerDependencies のライブラリを使うこと(devDependencies に入る)を想定しているという意味合いを持つ
Having a peer dependency means that your package needs a dependency that is the same exact dependency as the person installing your package. This is useful for packages like react that need to have a single copy of react-dom that is also used by the person installing it.

yarn.lock に追加しない方法