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

Update dependencies #19

Open JohnAlbin opened 3 years ago

JohnAlbin commented 3 years ago

Updates version of PostCSS and webpack loaders

productdevbook commented 3 years ago

@phated

twhitbeck commented 2 years ago

yo @JohnAlbin @phated can we get an update on why this hasn't been merged?

jkklapp commented 2 years ago

Bump

patrick-mcdougle commented 2 years ago

Can we also add the peerDependency that yarn 2 needs to prevent these warnings:

➤ YN0002: │ @storybook/addon-postcss@npm:2.0.0 doesn't provide webpack (pb2910), requested by css-loader ➤ YN0002: │ @storybook/addon-postcss@npm:2.0.0 doesn't provide webpack (pec374), requested by postcss-loader ➤ YN0002: │ @storybook/addon-postcss@npm:2.0.0 doesn't provide webpack (pe4518), requested by style-loader

peerDependencies: {
  webpack: '^4.0.0 || ^5.0.0'
}

Since this package depends on the 3 loaders above which have webpack as peerDependencies and does not provide it, it should forward the peerDependencies on to the next consumer. See https://github.com/yarnpkg/berry/issues/3 for further details.

Yash-Singh1 commented 2 years ago

@knightly-bot build this