storybookjs / addon-postcss

This Storybook addon can be used to run the PostCSS preprocessor against your stories.
MIT License
20 stars 22 forks source link

[Bug] Webpack isn't marked as a transitive peer dependency #34

Open JamesYeoman opened 2 years ago

JamesYeoman commented 2 years ago

Describe the bug

Using the berry version of yarn, with the improved install logging that is default on the berry version, addon-postcss is being flagged as not providing webpack, which is a peer dependency for css-loader, postcss-loader, and style-loader.

Yarn even makes the error codes clickable to open the yarn docs page for the error code.

Steps to reproduce the behavior

Using the berry version of yarn, install @storybook/addon-postcss

Expected behavior

This package should declare webpack as a peer dependency, making it possible for yarn to hoist peer dependencies

Screenshots and/or logs

image

Environment