feat(editor): Update storybook to 7.5.2 (no-changelog) (#7601)

Github issue / Community forum post (link here to close automatically):
This commit is contained in:
Alex Grozav 2023-11-03 14:14:51 +02:00 committed by GitHub
parent 2aa7f6375a
commit 135f9214f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1271 additions and 805 deletions

View file

@ -1,17 +1,21 @@
import { dirname, join } from 'path';
import type { StorybookConfig } from '@storybook/vue3-vite';
function getAbsolutePath(value: string): string {
return dirname(require.resolve(join(value, 'package.json'))).toString();
}
const config: StorybookConfig = {
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx|mdx)'],
addons: [
'@storybook/addon-styling',
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-a11y',
'storybook-dark-mode',
getAbsolutePath('@storybook/addon-links'),
getAbsolutePath('@storybook/addon-essentials'),
getAbsolutePath('@storybook/addon-a11y'),
getAbsolutePath('storybook-dark-mode'),
],
staticDirs: ['../public'],
framework: {
name: '@storybook/vue3-vite',
name: getAbsolutePath('@storybook/vue3-vite') as '@storybook/vue3-vite',
options: {},
},
core: {

View file

@ -41,15 +41,14 @@
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/vue-fontawesome": "^3.0.3",
"@storybook/addon-a11y": "^7.1.1",
"@storybook/addon-actions": "^7.1.1",
"@storybook/addon-docs": "^7.1.1",
"@storybook/addon-essentials": "^7.1.1",
"@storybook/addon-links": "^7.1.1",
"@storybook/addon-a11y": "^7.5.2",
"@storybook/addon-actions": "^7.5.2",
"@storybook/addon-docs": "^7.5.2",
"@storybook/addon-essentials": "^7.5.2",
"@storybook/addon-links": "^7.5.2",
"@storybook/addon-postcss": "3.0.0-alpha.1",
"@storybook/addon-styling": "^1.3.4",
"@storybook/vue3": "^7.1.1",
"@storybook/vue3-vite": "^7.1.1",
"@storybook/vue3": "^7.5.2",
"@storybook/vue3-vite": "^7.5.2",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/user-event": "^14.4.3",
"@testing-library/vue": "^7.0.0",
@ -62,9 +61,11 @@
"autoprefixer": "^10.4.14",
"core-js": "^3.31.0",
"jsdom": "21.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.64.1",
"sass-loader": "^13.3.2",
"storybook": "^7.1.1",
"storybook": "^7.5.2",
"storybook-addon-themes": "^6.1.0",
"storybook-dark-mode": "^3.0.1"
},

View file

File diff suppressed because it is too large Load diff