adevinta / spark

✨ Simple, Modular & Accessible UI Components for your React Applications
https://sparkui.vercel.app
MIT License
51 stars 16 forks source link

fix(internal-utils): update rollup config and include external peer dependencies to avoid potential dependency mismatches at the call site #2185

Closed acd02 closed 1 month ago

acd02 commented 1 month ago

Inside the react-children-utilities util package, we reference React, but we didn't declare it as a dependency in the package.json.

We also didn't include it in the rollup config, which could cause some version dependency mismatches at the call site