Skip to content

Commit 87dbd99

Browse files
authored
chore(deps): bump npm packages to Storybook 11 and patch advisories (#1237)
Supersedes #1236
1 parent 2a13604 commit 87dbd99

6 files changed

Lines changed: 1131 additions & 1738 deletions

File tree

‎.storybook/main.ts‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import babel from "@rolldown/plugin-babel";
2+
import { defineMain } from "@storybook/react-vite/node";
23
import { reactCompilerPreset } from "@vitejs/plugin-react";
34
import { mergeConfig } from "vite";
45

5-
import type { StorybookConfig } from "@storybook/react-vite";
6-
7-
const config: StorybookConfig = {
6+
export default defineMain({
87
stories: ["../packages/*/src/**/*.stories.@(ts|tsx)"],
98
addons: [
109
"@storybook/addon-a11y",
@@ -22,6 +21,4 @@ const config: StorybookConfig = {
2221
plugins: [babel({ presets: [reactCompilerPreset()] })],
2322
});
2423
},
25-
};
26-
27-
export default config;
24+
});

‎.storybook/preview.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,13 @@ const preview: Preview = {
115115
root?.style.removeProperty("min-height");
116116
},
117117
afterEach: fitRootToPortals,
118+
initialGlobals: {
119+
theme: "dark",
120+
uiStyle: "modern",
121+
},
118122
globalTypes: {
119123
theme: {
120124
description: "Global theme for components",
121-
defaultValue: "dark",
122125
toolbar: {
123126
title: "Theme",
124127
icon: "circlehollow",
@@ -141,7 +144,6 @@ const preview: Preview = {
141144
},
142145
uiStyle: {
143146
description: "packages/ui styling baseline",
144-
defaultValue: "modern",
145147
toolbar: {
146148
title: "UI style",
147149
icon: "beaker",

‎package.json‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -851,12 +851,12 @@
851851
"semver": "^7.8.6",
852852
"strip-ansi": "^7.2.0",
853853
"ua-parser-js": "^1.0.41",
854-
"ws": "^8.23.0",
854+
"ws": "^8.23.1",
855855
"zod": "^4.6.7"
856856
},
857857
"devDependencies": {
858858
"@coder/pixel-storybook": "0.3.0",
859-
"@eslint-react/eslint-plugin": "^5.30.6",
859+
"@eslint-react/eslint-plugin": "^5.30.7",
860860
"@eslint/markdown": "^9.0.0",
861861
"@repo/mocks": "workspace:*",
862862
"@rolldown/plugin-babel": "catalog:",
@@ -893,19 +893,19 @@
893893
"dayjs": "^1.11.23",
894894
"electron": "44.9.1",
895895
"esbuild": "^0.28.2",
896-
"eslint": "^10.15.0",
896+
"eslint": "^10.16.0",
897897
"eslint-import-resolver-typescript": "^4.4.5",
898898
"eslint-plugin-import-x": "^4.18.1",
899-
"eslint-plugin-oxlint": "^1.95.0",
899+
"eslint-plugin-oxlint": "^1.96.0",
900900
"eslint-plugin-package-json": "^1.14.0",
901-
"eslint-plugin-storybook": "^10.6.9",
901+
"eslint-plugin-storybook": "^11.0.0",
902902
"jsdom": "^31.0.1",
903903
"memfs": "^4.80.1",
904-
"oxfmt": "^0.80.0",
905-
"oxlint": "^1.95.0",
906-
"oxlint-plugin-eslint": "^1.95.0",
907-
"oxlint-tsgolint": "^7.0.2008",
908-
"playwright-core": "^1.65.1",
904+
"oxfmt": "^0.81.0",
905+
"oxlint": "^1.96.0",
906+
"oxlint-plugin-eslint": "^1.96.0",
907+
"oxlint-tsgolint": "^7.0.2009",
908+
"playwright-core": "^1.65.2",
909909
"react": "catalog:",
910910
"react-dom": "catalog:",
911911
"storybook": "catalog:",
@@ -919,7 +919,7 @@
919919
"extensionPack": [
920920
"ms-vscode-remote.remote-ssh"
921921
],
922-
"packageManager": "pnpm@12.23.0+sha512.02da94ffaf133f46074322afe552f90d40b5f71ae259aefbccdacc5085b1d617e98d65e0131f5748b9b67445978ee5055d7d59a473f1eef0d504854fefcd5975",
922+
"packageManager": "pnpm@12.25.1+sha512.a6c677d7034d3d79af136f33db33cd6d4133d73fa565a06bd64a8f096d2537dd87a08d68e18ff377771ff51c18e2ec31be03b44670eb19e241890eae3aed016a",
923923
"engines": {
924924
"vscode": "^1.105.0",
925925
"node": ">= 22"

‎packages/webview-shared/createWebviewConfig.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function createWebviewConfig(
2525
reportCompressedSize: false,
2626
// Webviews load as a single bundle; code-splitting doesn't apply
2727
chunkSizeWarningLimit: 600,
28-
rollupOptions: {
28+
rolldownOptions: {
2929
// HTML is generated by the extension with CSP headers
3030
input: resolve(dirname, entry),
3131
output: {

0 commit comments

Comments
 (0)