DEV: Add peer dependencies (PR #13132)

Fixes yarn warnings.

GitHub