mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-25 02:26:14 +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 = {
|
const config: StorybookConfig = {
|
||||||
stories: ['../src/stories/**/*.mdx', '../src/stories/**/*.stories.@(js|jsx|mjs|ts|tsx|svelte)'],
|
stories: ['../src/stories/**/*.mdx', '../src/stories/**/*.stories.@(js|jsx|mjs|ts|tsx|svelte)'],
|
||||||
addons: [
|
addons: [
|
||||||
getAbsolutePath('@storybook/addon-links'),
|
getAbsolutePath('@storybook/addon-links'),
|
||||||
getAbsolutePath('@storybook/addon-essentials'),
|
getAbsolutePath('@storybook/addon-essentials'),
|
||||||
getAbsolutePath('storybook-dark-mode'),
|
getAbsolutePath('storybook-dark-mode'),
|
||||||
getAbsolutePath('@storybook/experimental-addon-vitest'),
|
getAbsolutePath('@storybook/experimental-addon-test')
|
||||||
],
|
],
|
||||||
framework: {
|
framework: {
|
||||||
name: getAbsolutePath('@storybook/sveltekit'),
|
name: getAbsolutePath('@storybook/sveltekit'),
|
||||||
options: {}
|
options: {}
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
"@storybook/addon-essentials": "^8.3.0",
|
"@storybook/addon-essentials": "^8.3.0",
|
||||||
"@storybook/addon-links": "^8.3.0",
|
"@storybook/addon-links": "^8.3.0",
|
||||||
"@storybook/blocks": "^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/svelte": "^8.3.0",
|
||||||
"@storybook/sveltekit": "^8.3.0",
|
"@storybook/sveltekit": "^8.3.0",
|
||||||
"@sveltejs/adapter-static": "catalog:svelte",
|
"@sveltejs/adapter-static": "catalog:svelte",
|
||||||
|
@ -1,24 +1,21 @@
|
|||||||
import { defineWorkspace } from 'vitest/config';
|
import { defineWorkspace } from 'vitest/config';
|
||||||
import { storybookTest } from '@storybook/experimental-addon-vitest/plugin';
|
import { storybookTest } from '@storybook/experimental-addon-test/vitest-plugin';
|
||||||
import { storybookSveltekitPlugin } from '@storybook/sveltekit/vite'
|
import { storybookSveltekitPlugin } from '@storybook/sveltekit/vite-plugin';
|
||||||
|
|
||||||
export default defineWorkspace([
|
export default defineWorkspace([
|
||||||
'vite.config.ts',
|
'vite.config.ts',
|
||||||
{
|
{
|
||||||
extends: 'vite.config.ts',
|
extends: 'vite.config.ts',
|
||||||
plugins: [
|
plugins: [storybookTest({ storybookScript: 'pnpm storybook' }), storybookSveltekitPlugin()],
|
||||||
storybookTest({ storybookScript: 'pnpm storybook' }),
|
test: {
|
||||||
storybookSveltekitPlugin()
|
browser: {
|
||||||
],
|
enabled: true,
|
||||||
test: {
|
headless: true,
|
||||||
browser: {
|
name: 'chromium',
|
||||||
enabled: true,
|
provider: 'playwright'
|
||||||
headless: true,
|
},
|
||||||
name: 'chromium',
|
include: ['**/*.stories.?(m)[jt]s?(x)'],
|
||||||
provider: 'playwright',
|
setupFiles: ['./.storybook/vitest.setup.ts']
|
||||||
},
|
}
|
||||||
include: ['**/*.stories.?(m)[jt]s?(x)'],
|
}
|
||||||
setupFiles: ['./.storybook/vitest.setup.ts'],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
]);
|
]);
|
||||||
|
@ -350,9 +350,9 @@ importers:
|
|||||||
'@storybook/blocks':
|
'@storybook/blocks':
|
||||||
specifier: ^8.3.0
|
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)
|
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':
|
'@storybook/experimental-addon-test':
|
||||||
specifier: ^8.3.0-beta.1
|
specifier: ^8.3.0
|
||||||
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))
|
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':
|
'@storybook/svelte':
|
||||||
specifier: ^8.3.0
|
specifier: ^8.3.0
|
||||||
version: 8.3.3(storybook@8.3.3)(svelte@5.0.0-next.243)
|
version: 8.3.3(storybook@8.3.3)(svelte@5.0.0-next.243)
|
||||||
@ -1551,11 +1551,11 @@ packages:
|
|||||||
'@storybook/csf@0.1.11':
|
'@storybook/csf@0.1.11':
|
||||||
resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==}
|
resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==}
|
||||||
|
|
||||||
'@storybook/experimental-addon-vitest@8.3.0-beta.1':
|
'@storybook/experimental-addon-test@8.3.3':
|
||||||
resolution: {integrity: sha512-56E3pGJGgQ2peF47i0HBFvjXfc6zZeCo4xe2Bv1qk5R6C9HraW6IiNozhiZ9x3lDbu4yohs6NRFIPVNR0pFH1A==}
|
resolution: {integrity: sha512-YGGd2UDyy7Jxf3dEIkgQkl+HSl6mUFuiQPobQh492eGM+h1XwTzLofSINUXRx9FbkeUdFl2yj/ug9VMoeZQWBA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@vitest/browser': ^2.0.0
|
'@vitest/browser': ^2.0.0
|
||||||
storybook: ^8.3.0-beta.1
|
storybook: ^8.3.3
|
||||||
vitest: ^2.0.0
|
vitest: ^2.0.0
|
||||||
|
|
||||||
'@storybook/global@5.0.0':
|
'@storybook/global@5.0.0':
|
||||||
@ -7379,7 +7379,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
type-fest: 2.19.0
|
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:
|
dependencies:
|
||||||
'@storybook/csf': 0.1.11
|
'@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)
|
'@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