Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: new-frameworks automigration triggered for no reason #29521

Open
valentinpalkovic opened this issue Nov 4, 2024 · 0 comments
Open

[Bug]: new-frameworks automigration triggered for no reason #29521

valentinpalkovic opened this issue Nov 4, 2024 · 0 comments

Comments

@valentinpalkovic
Copy link
Contributor

Describe the bug

When upgrading a project which uses @storybook/experimental-nextjs-vite via npx storybook@next upgrade, the new-framework automigration gets triggered, although the configuration already uses the latest framework configuration.

// ./storybook/main.ts
import type { StorybookConfig } from "@storybook/experimental-nextjs-vite";

const config: StorybookConfig = {
  stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
  addons: [
    "@storybook/addon-onboarding",
    "@storybook/addon-links",
    "@storybook/addon-essentials",
    "@chromatic-com/storybook",
    "@storybook/addon-interactions",
  ],
  framework: {
    name: "@storybook/experimental-nextjs-vite",
    options: {},
  },
  features: {
    experimentalRSC: true,
  },
  staticDirs: ["../public"],
};

export default config;

Reproduction link

Reproduction steps

No response

System

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants