Skip to content

Commit ea55232

Browse files
Remove devdeps and change import path
1 parent 77dac1f commit ea55232

File tree

4 files changed

+250
-26
lines changed

4 files changed

+250
-26
lines changed

dotcom-rendering/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"@playwright/test": "1.52.0",
4949
"@sentry/browser": "10.10.0",
5050
"@storybook/addon-webpack5-compiler-swc": "4.0.1",
51+
"@storybook/addon-docs": "9.1.10",
5152
"@storybook/react-webpack5": "9.1.10",
5253
"@svgr/webpack": "8.1.0",
5354
"@swc/cli": "0.7.7",
@@ -113,6 +114,7 @@
113114
"eslint-plugin-react": "7.33.2",
114115
"eslint-plugin-react-hooks": "4.6.0",
115116
"eslint-plugin-ssr-friendly": "1.3.0",
117+
"eslint-plugin-storybook": "9.1.10",
116118
"eslint-plugin-unicorn": "48.0.1",
117119
"eslint-stats": "1.0.1",
118120
"express": "5.1.0",
@@ -175,9 +177,5 @@
175177
"webpack-node-externals": "3.0.0",
176178
"webpack-sources": "3.2.3",
177179
"zod": "3.22.4"
178-
},
179-
"devDependencies": {
180-
"eslint-plugin-storybook": "9.1.10",
181-
"@storybook/addon-docs": "9.1.10"
182180
}
183181
}

dotcom-rendering/src/components/AdSlot.web.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import type { SerializedStyles } from '@emotion/react';
22
import { css } from '@emotion/react';
33
import { remSpace, textSans14 } from '@guardian/source/foundations';
44
import type { Meta, StoryObj } from '@storybook/react-webpack5';
5-
import { within } from 'storybook/test';
65
import { createRoot } from 'react-dom/client';
6+
import { within } from 'storybook/test';
77
import {
88
centreColumnDecorator,
99
rightColumnDecorator,

dotcom-rendering/src/components/EditionSwitcherBanner.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import '@testing-library/jest-dom';
2-
import { userEvent } from '@storybook/test';
32
import { act, render, screen } from '@testing-library/react';
3+
import { userEvent } from 'storybook/test';
44
import { EditionSwitcherBanner } from './EditionSwitcherBanner.importable';
55

66
describe('EditionSwitcherBanner', () => {

0 commit comments

Comments
 (0)