Skip to content

Commit

Permalink
Upgrade to storybook v8.0.5 (#1318)
Browse files Browse the repository at this point in the history
## What are you changing?

- upgrade storybook to v8.0.5
- remove [deprecated
`@storybook/addons`](https://www.npmjs.com/package/@storybook/addons)

## Why?

I naively thought an upgrade might fix the [accessibility
scan](#1121 (comment))
issue. Alas it did not. However I took the opportunity to remove a
deprecated package whilst I was here, which was causing version matching
issues.
  • Loading branch information
jamesmockett authored Apr 2, 2024
2 parents 64b0d3e + 69ae495 commit b33fa79
Show file tree
Hide file tree
Showing 4 changed files with 263 additions and 406 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { addons } from '@storybook/addons';
import { addons } from '@storybook/manager-api';
import { theme } from './theme';

addons.setConfig({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { addons } from '@storybook/addons';
import { addons } from '@storybook/manager-api';
import { theme } from './theme';

addons.setConfig({
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
"@nx/eslint-plugin": "18.0.7",
"@nx/jest": "18.0.7",
"@nx/workspace": "18.0.7",
"@storybook/addon-a11y": "8.0.0",
"@storybook/addon-docs": "8.0.0",
"@storybook/addon-essentials": "8.0.0",
"@storybook/addon-links": "8.0.0",
"@storybook/addon-viewport": "8.0.0",
"@storybook/addons": "7.6.5",
"@storybook/react": "8.0.0",
"@storybook/react-webpack5": "8.0.0",
"@storybook/theming": "8.0.0",
"@storybook/addon-a11y": "8.0.5",
"@storybook/addon-docs": "8.0.5",
"@storybook/addon-essentials": "8.0.5",
"@storybook/addon-links": "8.0.5",
"@storybook/addon-viewport": "8.0.5",
"@storybook/manager-api": "^8.0.5",
"@storybook/react": "8.0.5",
"@storybook/react-webpack5": "8.0.5",
"@storybook/theming": "8.0.5",
"@swc-node/register": "1.9.0",
"@swc/core": "1.4.0",
"@swc/helpers": "^0.5.2",
Expand All @@ -59,7 +59,7 @@
"react-dom": "18.2.0",
"require-from-string": "2.0.2",
"sort-package-json": "2.8.0",
"storybook": "8.0.0",
"storybook": "8.0.5",
"ts-jest": "29.1.1",
"tsconfig-paths-webpack-plugin": "4.1.0",
"typescript": "5.3.3",
Expand Down
Loading

0 comments on commit b33fa79

Please sign in to comment.