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

Storybook addon object not recognised ([object Object]) #882

Open
jb-0 opened this issue Feb 3, 2024 · 0 comments · May be fixed by #878
Open

Storybook addon object not recognised ([object Object]) #882

jb-0 opened this issue Feb 3, 2024 · 0 comments · May be fixed by #878
Labels

Comments

@jb-0
Copy link

jb-0 commented Feb 3, 2024

Bug Description

When using storybook addons, it's possible to specify an addon as an object. Doing so seems to cause depcheck to output the following:

Missing dependencies

Code snippets

Where the dependency is used:

Storybook config:

addons: [
    "@storybook/addon-essentials",
    "@storybook/addon-a11y",
    {
      name: "@storybook/addon-themes",
      options: {},
    },
  ],


Where the dependency is listed in package.json:

devDependencies

Versions

  • node -v:v20.10.0
  • npm -v:10.2.3
  • depcheck --version: 1.4.7

Extra info

PR open #878

@jb-0 jb-0 added the bug label Feb 3, 2024
@jb-0 jb-0 linked a pull request Feb 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant