storybookjs/storybook

[Bug]: Please try de-duplicating these dependencies by running pnpm dedupe

Open

#24 734 ouverte le 6 nov. 2023

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)TypeScript (10 058 forks)batch import
automigrationsbughelp wantedpnpmsev:S4

Métriques du dépôt

Stars
 (89 909 stars)
Métriques de merge PR
 (Merge moyen 7j 22h) (184 PRs mergées en 30 j)

Description

Describe the bug

When running pnpm dlx sb upgrade, I get a migration summary of the following:

│   If you'd like to run the migrations again, you can do so by running 'npx storybook@next automigrate'                                  │
│                                                                                                                                         │
│   The automigrations try to migrate common patterns in your project, but might not contain everything needed to migrate to the latest   ││   version of Storybook.                                                                                                                 │
│                                                                                                                                         │
│   Please check the changelog and migration guide for manual migrations and more information:                                            ││   https://storybook.js.org/migration-guides/7.0                                                                                         │
│   And reach out on Discord if you need help: https://discord.gg/storybook                                                               │
│                                                                                                                                         │
│   ─────────────────────────────────────────────────                                                                                     │
│                                                                                                                                         │
│   You can find more information for a given dependency by running pnpm list --depth=1 <package-name>                                    │
│                                                                                                                                         │
│   Please try de-duplicating these dependencies by running pnpm dedupe

But, It didn't actually list out any duplicates.

To Reproduce

No response

System

Storybook Environment Info:

  System:
    OS: macOS 14.0
    CPU: (12) arm64 Apple M2 Max
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.16.0 - ~/Library/Caches/fnm_multishells/74712_1698693097514/bin/node
    npm: 9.5.1 - ~/Library/Caches/fnm_multishells/74712_1698693097514/bin/npm
    pnpm: 8.8.0 - ~/Library/Caches/fnm_multishells/74712_1698693097514/bin/pnpm <----- active
  Browsers:
    Safari: 17.0
  npmPackages:
    @storybook/addon-a11y: 7.6.0-alpha.4 => 7.6.0-alpha.4
    @storybook/addon-essentials: 7.6.0-alpha.4 => 7.6.0-alpha.4
    @storybook/addon-interactions: 7.6.0-alpha.4 => 7.6.0-alpha.4
    @storybook/jest: ^0.2.3 => 0.2.3
    @storybook/react: 7.6.0-alpha.4 => 7.6.0-alpha.4
    @storybook/react-vite: 7.6.0-alpha.4 => 7.6.0-alpha.4
    @storybook/test-runner: ^0.14.0-next.2 => 0.14.0-next.2
    @storybook/testing-library: ^0.2.2 => 0.2.2
    @storybook/types: 7.6.0-alpha.4 => 7.6.0-alpha.4
    chromatic: ^6.17.3 => 6.24.1
    eslint-plugin-storybook: ^0.6.15 => 0.6.15
    storybook: 7.6.0-alpha.4 => 7.6.0-alpha.4

Additional context

I've used pnpm.overrides to avoid duplicates already. Maybe that's why this is getting triggered?

Guide contributeur