Skip to content

Commit c41e8f2

Browse files
committed
chore(deps): bump storybook to 9.1.13 DEV-888
Squashed commit of the following: commit 8835a10 Merge: 425c33a 3a1c852 Author: Leszek Pietrzak <[email protected]> Date: Mon Sep 22 16:03:21 2025 +0100 Merge branch 'main' into leszek/bump-storybook-version commit 425c33a Author: Leszek <[email protected]> Date: Mon Sep 22 16:55:21 2025 +0200 fix types in usage query commit b6cab6e Author: Leszek <[email protected]> Date: Mon Sep 22 14:34:35 2025 +0200 try bumping tsconfig lib to es2022 commit 2b6a8ec Author: Leszek <[email protected]> Date: Mon Sep 22 14:28:01 2025 +0200 npm update rebuilt msw-mocks file :+1: commit 29a0019 Author: Leszek <[email protected]> Date: Mon Sep 22 14:27:44 2025 +0200 biome ignore package.json commit a03e266 Author: Leszek <[email protected]> Date: Mon Sep 22 13:56:56 2025 +0200 delete unneeded patch commit 595bee4 Author: Leszek <[email protected]> Date: Mon Sep 22 13:47:39 2025 +0200 rebuild package-lock with "npm update" commit bd02dcc Author: Leszek <[email protected]> Date: Mon Sep 22 13:40:19 2025 +0200 run biome commit a056520 Author: Leszek <[email protected]> Date: Mon Sep 22 10:51:22 2025 +0200 biome fixes commit e388567 Author: Leszek <[email protected]> Date: Mon Sep 22 10:49:24 2025 +0200 biome missing dep hack commit 0e67d73 Merge: 7d4d222 db47424 Author: Leszek Pietrzak <[email protected]> Date: Fri Sep 19 11:57:22 2025 +0100 Merge branch 'main' into leszek/bump-storybook-version commit 7d4d222 Merge: 60170b6 1cdd31f Author: Leszek <[email protected]> Date: Wed Sep 17 22:39:43 2025 +0200 Merge branch 'main' into leszek/bump-storybook-version commit 60170b6 Merge: fa60e3f 3ca8946 Author: Leszek Pietrzak <[email protected]> Date: Mon Aug 18 10:16:57 2025 +0200 Merge branch 'main' into leszek/bump-storybook-version commit fa60e3f Merge: f779d34 e2d3329 Author: Leszek Pietrzak <[email protected]> Date: Thu Aug 14 10:59:26 2025 +0200 Merge branch 'main' into leszek/bump-storybook-version commit f779d34 Author: Leszek <[email protected]> Date: Tue Aug 12 20:41:45 2025 +0200 add @typescript-eslint/parser commit bcf2565 Author: Leszek <[email protected]> Date: Tue Aug 12 20:04:29 2025 +0200 add missing @storybook/types commit 11b9748 Author: Leszek <[email protected]> Date: Tue Aug 12 19:15:11 2025 +0200 remove old comment, bump versions again, chane terserplugin setup commit 38ddb86 Merge: 0cd36cb 9c7f6ec Author: Leszek Pietrzak <[email protected]> Date: Tue Aug 12 17:52:39 2025 +0200 Merge branch 'main' into leszek/bump-storybook-version commit 0cd36cb Merge: 43d9254 7d2dd72 Author: Leszek Pietrzak <[email protected]> Date: Mon Aug 11 17:27:57 2025 +0200 Merge branch 'main' into leszek/bump-storybook-version commit 43d9254 Merge: 5c4843f 23f7f34 Author: Leszek Pietrzak <[email protected]> Date: Mon Aug 11 11:50:16 2025 +0200 Merge branch 'main' into leszek/bump-storybook-version commit 5c4843f Merge: 687d527 47bc86f Author: Leszek Pietrzak <[email protected]> Date: Mon Aug 11 11:21:49 2025 +0200 Merge branch 'main' into leszek/bump-storybook-version commit 687d527 Author: Leszek <[email protected]> Date: Fri Aug 8 12:09:01 2025 +0200 add missing package commit ec6473d Merge: 83c7394 5b407ec Author: Leszek <[email protected]> Date: Fri Aug 8 12:02:13 2025 +0200 Merge branch 'main' into leszek/bump-storybook-version commit 83c7394 Author: Leszek <[email protected]> Date: Fri Aug 8 11:52:18 2025 +0200 bump storybook version(s)
1 parent f84df20 commit c41e8f2

File tree

8 files changed

+964
-741
lines changed

8 files changed

+964
-741
lines changed

.github/workflows/biome.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@ jobs:
4444
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
4545
run: npm install
4646

47+
# HACK: Sometimes this error happens:
48+
# ```
49+
# Error: Cannot find module '@biomejs/cli-linux-x64/biome'
50+
# ```
51+
# This package is only being installed with `npm install` if you're on Linux host. It's not installable on other
52+
# OSs.
53+
- name: Install missing Linux biome dependency
54+
run: npm install @biomejs/cli-linux-x64
55+
4756
# Check for Biome formatting errors
4857
- name: Check Biome formatting, import order and linter
4958
run: npm run lint:biome

.storybook/main.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@ module.exports = {
99
addons: [
1010
'@storybook/addon-links',
1111
'@storybook/addon-a11y',
12-
// NB:
13-
// 'storybook-addon-swc' may improve build speed in the future.
14-
// - At time of writing, the build performance gains are negated because it
15-
// switches to a slower refresh plugin and also causes other compatibility
16-
// issues in Storybook 6.
17-
// - Testing with React 16.14.0 and Storybook 7 (beta) seemed to perform
18-
// well.
19-
'storybook-dark-mode',
12+
'@storybook-community/storybook-dark-mode',
2013
'@storybook/addon-webpack5-compiler-swc',
2114
'storybook-addon-remix-react-router',
2215
'@storybook/addon-docs',
@@ -100,11 +93,6 @@ function applySpeedTweaks(config) {
10093
// Use swc to make the Terser step faster
10194
if (config.mode === 'production') {
10295
const TerserPlugin = require('terser-webpack-plugin')
103-
config.optimization.minimizer = [
104-
new TerserPlugin({
105-
minify: TerserPlugin.swcMinify,
106-
terserOptions: {},
107-
}),
108-
]
96+
config.optimization.minimizer = [new TerserPlugin({ parallel: 1 })]
10997
}
11098
}

.storybook/preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import '../jsapp/scss/main.scss'
22
import '#/bemComponents'
33
import '@mantine/core/styles.css'
44
import { MantineProvider, useMantineColorScheme } from '@mantine/core'
5+
import { DARK_MODE_EVENT_NAME } from '@storybook-community/storybook-dark-mode'
56
import type { Preview } from '@storybook/react'
67
import * as mswAddon from 'msw-storybook-addon'
78
import { useEffect } from 'react'
8-
import { DARK_MODE_EVENT_NAME } from 'storybook-dark-mode'
99
import { addons } from 'storybook/preview-api'
1010
import environmentMock from '#/endpoints/environment.mocks'
1111
import meMock from '#/endpoints/me.mocks'

biome.jsonc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"kobo/apps/openrosa/apps/logger/fixtures/*",
1616
"kpi/static/js/swagger/swagger-ui-bundle.js",
1717
"kpi/static/js/swagger/swagger-ui-standalone-preset.js",
18-
"msw-mocks/*"
18+
"msw-mocks/*",
19+
"package.json"
1920
]
2021
},
2122
"vcs": {

0 commit comments

Comments
 (0)