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

Warning appears in terminal when using @storybook/addon-postcss with Storybook 7.0.2 #45

Open justtoconfirm opened 1 year ago

justtoconfirm commented 1 year ago

Describe the bug

Warning in the CLI when using @storybook/addon-postcss with the latest version of Storybook version 7.0.2. Warning in the terminal:

Attention: We've detected that you're using the following addons in versions which are known to be incompatible with Storybook 7

Currently using: @storybook/addon-postcss@2.0.0

Steps to reproduce the behavior

  1. Install or update all Storybook packages to the latest version of 7.0.2.
  2. Amend the Storybook main.js file, as this has now changed, to ensure the Storybook configuration is correct.
  3. Amend the scripts in the package.json file to run Storybook.
  4. Warning should appear within the terminal.

Expected behavior

Warning is not showing within the terminal.

Environment

Additional context

Storybook does run without issues, but the warning appears within the terminal.

danni-popova commented 1 year ago

I can confirm the same happening for me.

justtoconfirm commented 1 year ago

Bumped the package(s) version to 7.0.5 and the warning still appears.

amerllica commented 1 year ago

I've got the same issue and nothing be found to fix this issue.

VasiliyTelyatnikovTakeda commented 1 year ago

The issue same for me and I rolled back to 6.5

Foxious commented 1 year ago

from this project's README:

DEPRECATED: This package in unmaintained and deprecated in favor of @storybook/addon-styling

I changed to addon-styling and my storybook install works again

TappDS commented 1 year ago

Any fixes for this?

Foxious commented 1 year ago

Any fixes for this?

addon-postcss is deprecated, use @storybook/addon-styling instead

adbutterfield commented 10 months ago

Any fixes for this?

addon-postcss is deprecated, use @storybook/addon-styling instead

Look like addon-styling is also deprecated: https://github.com/storybookjs/addon-styling

gandhirahul commented 9 months ago

@storybook/addon-styling: This addon is officially deprecated. But it's split into two separate addons, @storybook/addon-styling-webpack and @storybook/addon-themes.

yarn add @storybook/addon-styling-webpack @storybook/addon-themes

You can read more here: https://storybook.js.org/addons/@storybook/addon-styling