mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 18:12:48 +03:00
Update imports in relation to the 8.3 release
This commit is contained in:
parent
a0359486ad
commit
3c4cda739f
@ -4,11 +4,11 @@ import type { StorybookConfig } from '@storybook/sveltekit';
|
||||
const config: StorybookConfig = {
|
||||
stories: ['../src/stories/**/*.mdx', '../src/stories/**/*.stories.@(js|jsx|mjs|ts|tsx|svelte)'],
|
||||
addons: [
|
||||
getAbsolutePath('@storybook/addon-links'),
|
||||
getAbsolutePath('@storybook/addon-essentials'),
|
||||
getAbsolutePath('storybook-dark-mode'),
|
||||
getAbsolutePath('@storybook/experimental-addon-vitest'),
|
||||
],
|
||||
getAbsolutePath('@storybook/addon-links'),
|
||||
getAbsolutePath('@storybook/addon-essentials'),
|
||||
getAbsolutePath('storybook-dark-mode'),
|
||||
getAbsolutePath('@storybook/experimental-addon-test')
|
||||
],
|
||||
framework: {
|
||||
name: getAbsolutePath('@storybook/sveltekit'),
|
||||
options: {}
|
||||
|
@ -31,7 +31,7 @@
|
||||
"@storybook/addon-essentials": "^8.3.0",
|
||||
"@storybook/addon-links": "^8.3.0",
|
||||
"@storybook/blocks": "^8.3.0",
|
||||
"@storybook/experimental-addon-vitest": "^8.3.0-beta.1",
|
||||
"@storybook/experimental-addon-test": "^8.3.0",
|
||||
"@storybook/svelte": "^8.3.0",
|
||||
"@storybook/sveltekit": "^8.3.0",
|
||||
"@sveltejs/adapter-static": "catalog:svelte",
|
||||
|
@ -1,24 +1,21 @@
|
||||
import { defineWorkspace } from 'vitest/config';
|
||||
import { storybookTest } from '@storybook/experimental-addon-vitest/plugin';
|
||||
import { storybookSveltekitPlugin } from '@storybook/sveltekit/vite'
|
||||
import { storybookTest } from '@storybook/experimental-addon-test/vitest-plugin';
|
||||
import { storybookSveltekitPlugin } from '@storybook/sveltekit/vite-plugin';
|
||||
|
||||
export default defineWorkspace([
|
||||
'vite.config.ts',
|
||||
{
|
||||
extends: 'vite.config.ts',
|
||||
plugins: [
|
||||
storybookTest({ storybookScript: 'pnpm storybook' }),
|
||||
storybookSveltekitPlugin()
|
||||
],
|
||||
test: {
|
||||
browser: {
|
||||
enabled: true,
|
||||
headless: true,
|
||||
name: 'chromium',
|
||||
provider: 'playwright',
|
||||
},
|
||||
include: ['**/*.stories.?(m)[jt]s?(x)'],
|
||||
setupFiles: ['./.storybook/vitest.setup.ts'],
|
||||
},
|
||||
},
|
||||
'vite.config.ts',
|
||||
{
|
||||
extends: 'vite.config.ts',
|
||||
plugins: [storybookTest({ storybookScript: 'pnpm storybook' }), storybookSveltekitPlugin()],
|
||||
test: {
|
||||
browser: {
|
||||
enabled: true,
|
||||
headless: true,
|
||||
name: 'chromium',
|
||||
provider: 'playwright'
|
||||
},
|
||||
include: ['**/*.stories.?(m)[jt]s?(x)'],
|
||||
setupFiles: ['./.storybook/vitest.setup.ts']
|
||||
}
|
||||
}
|
||||
]);
|
||||
|
@ -350,9 +350,9 @@ importers:
|
||||
'@storybook/blocks':
|
||||
specifier: ^8.3.0
|
||||
version: 8.3.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.3)
|
||||
'@storybook/experimental-addon-vitest':
|
||||
specifier: ^8.3.0-beta.1
|
||||
version: 8.3.0-beta.1(@vitest/browser@2.0.5(playwright@1.46.1)(typescript@5.4.5)(vitest@2.0.5)(webdriverio@8.40.2))(storybook@8.3.3)(vitest@2.0.5(@types/node@22.3.0)(@vitest/browser@2.0.5)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@24.1.1))
|
||||
'@storybook/experimental-addon-test':
|
||||
specifier: ^8.3.0
|
||||
version: 8.3.3(@vitest/browser@2.0.5(playwright@1.46.1)(typescript@5.4.5)(vitest@2.0.5)(webdriverio@8.40.2))(storybook@8.3.3)(vitest@2.0.5(@types/node@22.3.0)(@vitest/browser@2.0.5)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@24.1.1))
|
||||
'@storybook/svelte':
|
||||
specifier: ^8.3.0
|
||||
version: 8.3.3(storybook@8.3.3)(svelte@5.0.0-next.243)
|
||||
@ -1551,11 +1551,11 @@ packages:
|
||||
'@storybook/csf@0.1.11':
|
||||
resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==}
|
||||
|
||||
'@storybook/experimental-addon-vitest@8.3.0-beta.1':
|
||||
resolution: {integrity: sha512-56E3pGJGgQ2peF47i0HBFvjXfc6zZeCo4xe2Bv1qk5R6C9HraW6IiNozhiZ9x3lDbu4yohs6NRFIPVNR0pFH1A==}
|
||||
'@storybook/experimental-addon-test@8.3.3':
|
||||
resolution: {integrity: sha512-YGGd2UDyy7Jxf3dEIkgQkl+HSl6mUFuiQPobQh492eGM+h1XwTzLofSINUXRx9FbkeUdFl2yj/ug9VMoeZQWBA==}
|
||||
peerDependencies:
|
||||
'@vitest/browser': ^2.0.0
|
||||
storybook: ^8.3.0-beta.1
|
||||
storybook: ^8.3.3
|
||||
vitest: ^2.0.0
|
||||
|
||||
'@storybook/global@5.0.0':
|
||||
@ -7379,7 +7379,7 @@ snapshots:
|
||||
dependencies:
|
||||
type-fest: 2.19.0
|
||||
|
||||
'@storybook/experimental-addon-vitest@8.3.0-beta.1(@vitest/browser@2.0.5(playwright@1.46.1)(typescript@5.4.5)(vitest@2.0.5)(webdriverio@8.40.2))(storybook@8.3.3)(vitest@2.0.5(@types/node@22.3.0)(@vitest/browser@2.0.5)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@24.1.1))':
|
||||
'@storybook/experimental-addon-test@8.3.3(@vitest/browser@2.0.5(playwright@1.46.1)(typescript@5.4.5)(vitest@2.0.5)(webdriverio@8.40.2))(storybook@8.3.3)(vitest@2.0.5(@types/node@22.3.0)(@vitest/browser@2.0.5)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@24.1.1))':
|
||||
dependencies:
|
||||
'@storybook/csf': 0.1.11
|
||||
'@vitest/browser': 2.0.5(playwright@1.46.1)(typescript@5.4.5)(vitest@2.0.5)(webdriverio@8.40.2)
|
||||
|
Loading…
Reference in New Issue
Block a user