Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Migrate to storybook@6.4.x #2249

Merged
merged 3 commits into from
May 7, 2022
Merged

Migrate to storybook@6.4.x #2249

merged 3 commits into from
May 7, 2022

Conversation

veado
Copy link
Collaborator

@veado veado commented May 7, 2022

TL;DR

storybook is still broken due lack of React 18 support in latest storybook@6.4.x.

Details

Error: An unexpected error occurred: "ENAMETOOLONG: name too long, unlink '/home/{user}/.cache/yarn/v6/npm-@storybook-react-docgen-typescript-plugin-1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0-3103532ff494fb7dc3cf835f10740ecf6a26c0f9-integrity/node_modules/@storybook/react-docgen-typescript-plugin'".

veado added 3 commits May 6, 2022 17:52
- Remove `addon-background|controls|knobs` in favour
of using `addon-essentials|interactions|links|node-logger` (as same as `npx
sb init` is adding addons) - see https://storybook.js.org/docs/react/get-started/install
- Comment usage of knobs in stories (will be fixed with another PR -
storybook needs to run before - see
https://github.com/thorchain/asgardex-electron/issues/2248)
@veado veado self-assigned this May 7, 2022
@veado veado merged commit 5bf0984 into develop May 7, 2022
@veado veado deleted the issue-2228-6/pt7 branch May 7, 2022 11:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant