This commit is contained in:
Norbert de Langen 2022-11-24 21:26:59 +01:00
parent 0cb84fc601
commit bd6f4010ae
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762
6 changed files with 3 additions and 6 deletions

View File

@ -63,7 +63,6 @@
},
"dependencies": {
"@storybook/addon-highlight": "7.0.0-alpha.53",
"@storybook/addons": "7.0.0-alpha.53",
"@storybook/channels": "7.0.0-alpha.53",
"@storybook/client-logger": "7.0.0-alpha.53",
"@storybook/components": "7.0.0-alpha.53",

View File

@ -3,7 +3,6 @@ import { PANEL_ID } from './constants';
import './manager';
jest.mock('@storybook/manager-api');
jest.mock('@storybook/addons');
const mockedApi = api as unknown as jest.Mocked<api.API>;
mockedApi.getAddonState = jest.fn();
const mockedAddons = api.addons as jest.Mocked<typeof api.addons>;

View File

@ -43,6 +43,7 @@
"dependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@joshwooding/vite-plugin-react-docgen-typescript": "0.0.5",
"@storybook/addons": "7.0.0-alpha.53",
"@storybook/client-api": "7.0.0-alpha.53",
"@storybook/client-logger": "7.0.0-alpha.53",
"@storybook/core-common": "7.0.0-alpha.53",

View File

@ -1,6 +1,6 @@
import globalThis from 'global';
import type { PartialStoryFn, PlayFunctionContext } from '@storybook/types';
import { useEffect, useState } from '@storybook/addons';
import { useEffect, useState } from '@storybook/preview-api';
import { within, userEvent } from '@storybook/testing-library';
export default {

View File

@ -53,7 +53,6 @@
},
"devDependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@storybook/addons": "7.0.0-alpha.53",
"@storybook/channel-postmessage": "7.0.0-alpha.53",
"@storybook/channel-websocket": "7.0.0-alpha.53",
"@storybook/channels": "7.0.0-alpha.53",

View File

@ -5124,7 +5124,6 @@ __metadata:
resolution: "@storybook/addon-a11y@workspace:addons/a11y"
dependencies:
"@storybook/addon-highlight": 7.0.0-alpha.53
"@storybook/addons": 7.0.0-alpha.53
"@storybook/channels": 7.0.0-alpha.53
"@storybook/client-logger": 7.0.0-alpha.53
"@storybook/components": 7.0.0-alpha.53
@ -5860,6 +5859,7 @@ __metadata:
dependencies:
"@fal-works/esbuild-plugin-global-externals": ^2.1.2
"@joshwooding/vite-plugin-react-docgen-typescript": 0.0.5
"@storybook/addons": 7.0.0-alpha.53
"@storybook/client-api": 7.0.0-alpha.53
"@storybook/client-logger": 7.0.0-alpha.53
"@storybook/core-common": 7.0.0-alpha.53
@ -6568,7 +6568,6 @@ __metadata:
resolution: "@storybook/manager@workspace:ui/manager"
dependencies:
"@fal-works/esbuild-plugin-global-externals": ^2.1.2
"@storybook/addons": 7.0.0-alpha.53
"@storybook/channel-postmessage": 7.0.0-alpha.53
"@storybook/channel-websocket": 7.0.0-alpha.53
"@storybook/channels": 7.0.0-alpha.53