storybookjs / eslint-plugin-storybook

🎗Official ESLint plugin for Storybook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Latest version of `@typescript-eslint/experimental-utils` breaks the ast-utils import

tombakerjr opened this issue · comments

Describe the bug
The maintainers of @typescript-eslint/experimental-utils renamed the package to @typescript-eslint/utils in this release https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/experimental-utils/CHANGELOG.md#5100-2022-01-17, which seems to break the following imports in this plugin:

I believe this can be fixed by switching to what appears to be the intended import: https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/utils/src/index.ts#L1

To Reproduce
Steps to reproduce the behavior:

  1. Run yarn upgrade
  2. Attempt to run yarn build-storybook
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Additional context
Add any other context about the problem here.

This should be fixed in v0.5.6. Thanks for your work @tombakerjr !!