Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 19, 2026

Storybook 10 consolidated packages and changed import paths. The Dependabot upgrade broke 109 TypeScript imports.

Changes

  • Removed deprecated packages now part of core storybook:

    • @storybook/addon-actions, @storybook/addon-essentials, @storybook/addon-interactions, @storybook/blocks, @storybook/manager-api, @storybook/theming
  • Updated import paths to Storybook 10 API:

    // Before
    import { addons } from "@storybook/manager-api";
    import { themes } from "@storybook/theming";
    import { action } from "@storybook/addon-actions";
    
    // After
    import { addons } from "storybook/manager-api";
    import { themes } from "storybook/theming";
    import { action } from "storybook/actions";
    import { Addon_TypesEnum } from "storybook/internal/types";
  • Updated TypeScript config to support ESM exports:

    • Changed moduleResolution: "node""bundler" in .storybook/tsconfig.json and src/stories/tsconfig.json
  • Migrated autodocs configuration:

    • Removed deprecated docs.autodocs from main.ts
    • Added tags: ["autodocs"] to preview.ts

Note

The stricter bundler module resolution exposes 11 pre-existing type incompatibilities between React 19 and @vscode-elements/react-elements in view components. These are unrelated to Storybook and should be addressed separately.

Original prompt

Fix the failing GitHub Actions workflow Lint
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 60471938827
Job URL: https://github.com/github/vscode-codeql/actions/runs/21032549853/job/60471938827


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: d10c <9970661+d10c@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow Lint Fix Storybook 10 compatibility after Dependabot upgrade Jan 19, 2026
Copilot AI requested a review from d10c January 19, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants