ui: Update vulnerable packages + cleanup Storybook config (#26607)
* chore: Upgrade Storybook * chore: Bump package-lock * chore: bump vitest to 4.1.10 * ui: bump fast-uri to 3.1.5 * ui: bump ip-address to 10.4.0 * ui: bump js-yaml to 4.3.1 * ui: bump immutable to 5.1.9 * ui: bump postcss to 8.5.25 * ui: bump brace-expansion to safe versions * ui: bump sharp to 0.35.3 via override * ui: bump body-parser to 2.3.0 * ui: bump vite to 7.3.6 and esbuild to 0.28.1 Assisted-by: Claude Sonnet * ui: bump hono to 4.13.0 * ui: bump dompurify to 3.4.13 * ui: bump @sveltejs/kit to 2.70.2 * ui: bump @modelcontextprotocol/sdk to 1.30.0 * ui: bump valibot to 1.4.2 via override * chore: Remove legacy setup file * refactor: Nits cleanup
This commit is contained in:
@@ -11,7 +11,8 @@ const config: StorybookConfig = {
|
||||
'@chromatic-com/storybook',
|
||||
'@storybook/addon-vitest',
|
||||
'@storybook/addon-a11y',
|
||||
'@storybook/addon-docs'
|
||||
'@storybook/addon-docs',
|
||||
'@storybook/addon-mcp'
|
||||
],
|
||||
framework: '@storybook/sveltekit',
|
||||
viteFinal: async (config) => {
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
import * as a11yAddonAnnotations from '@storybook/addon-a11y/preview';
|
||||
import { setProjectAnnotations } from '@storybook/sveltekit';
|
||||
import * as previewAnnotations from './preview';
|
||||
import { beforeAll } from 'vitest';
|
||||
|
||||
const project = setProjectAnnotations([a11yAddonAnnotations, previewAnnotations]);
|
||||
|
||||
beforeAll(async () => {
|
||||
if (project.beforeAll) {
|
||||
await project.beforeAll();
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user