remove references to api and the 2 deprecated channel packages

This commit is contained in:
Norbert de Langen 2023-07-10 15:14:51 +02:00
parent cb576dc180
commit d462df5ce9
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762
13 changed files with 9 additions and 34 deletions

View File

@ -14,8 +14,6 @@ const INCLUDE_CANDIDATES = [
'@storybook/addon-docs',
'@storybook/addon-essentials/docs/mdx-react-shim',
'@storybook/channels',
'@storybook/channel-postmessage',
'@storybook/channel-websocket',
'@storybook/client-api',
'@storybook/client-logger',
'@storybook/core/client',

View File

@ -57,8 +57,6 @@
"dependencies": {
"@babel/core": "^7.22.0",
"@storybook/addons": "7.1.0-beta.2",
"@storybook/api": "7.1.0-beta.2",
"@storybook/channel-postmessage": "7.1.0-beta.2",
"@storybook/channels": "7.1.0-beta.2",
"@storybook/client-api": "7.1.0-beta.2",
"@storybook/client-logger": "7.1.0-beta.2",

View File

@ -49,7 +49,6 @@
"dependencies": {
"@storybook/addons": "7.1.0-beta.2",
"@storybook/builder-vite": "7.1.0-beta.2",
"@storybook/channel-postmessage": "7.1.0-beta.2",
"@storybook/client-api": "7.1.0-beta.2",
"@storybook/core-server": "7.1.0-beta.2",
"@storybook/html": "7.1.0-beta.2",

View File

@ -108,8 +108,8 @@ const allowList = [
'@storybook/csf',
// see this file for more info: code/lib/preview/src/globals/types.ts
'@storybook/addons',
'@storybook/channel-postmessage',
'@storybook/channel-websocket',
'@storybook/channel-postmessage', // @deprecated: remove in 8.0
'@storybook/channel-websocket', // @deprecated: remove in 8.0
'@storybook/channels',
'@storybook/client-api',
'@storybook/client-logger',
@ -123,7 +123,7 @@ const allowList = [
'@storybook/components',
'@storybook/router',
'@storybook/theming',
'@storybook/api',
'@storybook/api', // @deprecated: remove in 8.0
'@storybook/manager-api',
];

View File

@ -67,7 +67,6 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channel-postmessage": "7.1.0-beta.2",
"@storybook/channels": "7.1.0-beta.2",
"@storybook/client-logger": "7.1.0-beta.2",
"@storybook/core-events": "7.1.0-beta.2",

View File

@ -16,8 +16,8 @@ import type { globals } from './types';
// Here we map the name of a module to their VALUE in the global scope.
export const values: Required<Record<keyof typeof globals, any>> = {
'@storybook/channel-postmessage': CHANNEL_POSTMESSAGE,
'@storybook/channel-websocket': CHANNEL_WEBSOCKET,
'@storybook/channel-postmessage': CHANNEL_POSTMESSAGE, // @deprecated: remove in 8.0
'@storybook/channel-websocket': CHANNEL_WEBSOCKET, // @deprecated: remove in 8.0
'@storybook/channels': CHANNELS,
'@storybook/client-logger': CLIENT_LOGGER,
'@storybook/core-events': CORE_EVENTS,

View File

@ -1,8 +1,8 @@
// Here we map the name of a module to their NAME in the global scope.
export const globals = {
'@storybook/addons': '__STORYBOOK_MODULE_ADDONS__',
'@storybook/channel-postmessage': '__STORYBOOK_MODULE_CHANNEL_POSTMESSAGE__',
'@storybook/channel-websocket': '__STORYBOOK_MODULE_CHANNEL_WEBSOCKET__',
'@storybook/channel-postmessage': '__STORYBOOK_MODULE_CHANNEL_POSTMESSAGE__', // @deprecated: remove in 8.0
'@storybook/channel-websocket': '__STORYBOOK_MODULE_CHANNEL_WEBSOCKET__', // @deprecated: remove in 8.0
'@storybook/channels': '__STORYBOOK_MODULE_CHANNELS__',
'@storybook/client-api': '__STORYBOOK_MODULE_CLIENT_API__',
'@storybook/client-logger': '__STORYBOOK_MODULE_CLIENT_LOGGER__',

View File

@ -53,8 +53,6 @@
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@storybook/addon-designs": "^7.0.0",
"@storybook/addons": "7.1.0-beta.2",
"@storybook/api": "7.1.0-beta.2",
"@storybook/channel-postmessage": "7.1.0-beta.2",
"@storybook/channels": "7.1.0-beta.2",
"@storybook/client-logger": "7.1.0-beta.2",
"@storybook/components": "7.1.0-beta.2",

View File

@ -5778,7 +5778,7 @@ __metadata:
languageName: unknown
linkType: soft
"@storybook/api@7.1.0-beta.2, @storybook/api@workspace:*, @storybook/api@workspace:deprecated/manager-api-shim":
"@storybook/api@workspace:*, @storybook/api@workspace:deprecated/manager-api-shim":
version: 0.0.0-use.local
resolution: "@storybook/api@workspace:deprecated/manager-api-shim"
dependencies:
@ -5937,8 +5937,6 @@ __metadata:
dependencies:
"@babel/core": ^7.22.0
"@storybook/addons": 7.1.0-beta.2
"@storybook/api": 7.1.0-beta.2
"@storybook/channel-postmessage": 7.1.0-beta.2
"@storybook/channels": 7.1.0-beta.2
"@storybook/client-api": 7.1.0-beta.2
"@storybook/client-logger": 7.1.0-beta.2
@ -5997,7 +5995,7 @@ __metadata:
languageName: unknown
linkType: soft
"@storybook/channel-postmessage@7.1.0-beta.2, @storybook/channel-postmessage@workspace:*, @storybook/channel-postmessage@workspace:deprecated/channel-postmessage":
"@storybook/channel-postmessage@workspace:*, @storybook/channel-postmessage@workspace:deprecated/channel-postmessage":
version: 0.0.0-use.local
resolution: "@storybook/channel-postmessage@workspace:deprecated/channel-postmessage"
dependencies:
@ -6427,7 +6425,6 @@ __metadata:
dependencies:
"@storybook/addons": 7.1.0-beta.2
"@storybook/builder-vite": 7.1.0-beta.2
"@storybook/channel-postmessage": 7.1.0-beta.2
"@storybook/client-api": 7.1.0-beta.2
"@storybook/core-server": 7.1.0-beta.2
"@storybook/html": 7.1.0-beta.2
@ -6562,8 +6559,6 @@ __metadata:
"@fal-works/esbuild-plugin-global-externals": ^2.1.2
"@storybook/addon-designs": ^7.0.0
"@storybook/addons": 7.1.0-beta.2
"@storybook/api": 7.1.0-beta.2
"@storybook/channel-postmessage": 7.1.0-beta.2
"@storybook/channels": 7.1.0-beta.2
"@storybook/client-logger": 7.1.0-beta.2
"@storybook/components": 7.1.0-beta.2
@ -6940,7 +6935,6 @@ __metadata:
resolution: "@storybook/preview-api@workspace:lib/preview-api"
dependencies:
"@jest/globals": ^29.5.0
"@storybook/channel-postmessage": 7.1.0-beta.2
"@storybook/channels": 7.1.0-beta.2
"@storybook/client-logger": 7.1.0-beta.2
"@storybook/core-common": 7.1.0-beta.2

View File

@ -30,13 +30,10 @@
"@storybook/addon-viewport": "portal:../../code/addons/viewport",
"@storybook/addons": "portal:../../code/deprecated/addons",
"@storybook/angular": "portal:../../code/frameworks/angular",
"@storybook/api": "portal:../../code/lib/api",
"@storybook/blocks": "portal:../../code/lib/blocks",
"@storybook/builder-manager": "portal:../../code/builders/builder-manager",
"@storybook/builder-vite": "portal:../../code/builders/builder-vite",
"@storybook/builder-webpack5": "portal:../../code/builders/builder-webpack5",
"@storybook/channel-postmessage": "portal:../../code/lib/channel-postmessage",
"@storybook/channel-websocket": "portal:../../code/lib/channel-websocket",
"@storybook/channels": "portal:../../code/lib/channels",
"@storybook/cli": "portal:../../code/lib/cli",
"@storybook/client-api": "portal:../../code/deprecated/client-api",

View File

@ -34,8 +34,6 @@
"@storybook/builder-manager": "portal:../../code/builders/builder-manager",
"@storybook/builder-vite": "portal:../../code/builders/builder-vite",
"@storybook/builder-webpack5": "portal:../../code/builders/builder-webpack5",
"@storybook/channel-postmessage": "portal:../../code/lib/channel-postmessage",
"@storybook/channel-websocket": "portal:../../code/lib/channel-websocket",
"@storybook/channels": "portal:../../code/lib/channels",
"@storybook/cli": "portal:../../code/lib/cli",
"@storybook/client-api": "portal:../../code/deprecated/client-api",

View File

@ -33,13 +33,10 @@
"@storybook/addon-viewport": "portal:../../code/addons/viewport",
"@storybook/addons": "portal:../../code/deprecated/addons",
"@storybook/angular": "portal:../../code/frameworks/angular",
"@storybook/api": "portal:../../code/lib/api",
"@storybook/blocks": "portal:../../code/lib/blocks",
"@storybook/builder-manager": "portal:../../code/builders/builder-manager",
"@storybook/builder-vite": "portal:../../code/builders/builder-vite",
"@storybook/builder-webpack5": "portal:../../code/builders/builder-webpack5",
"@storybook/channel-postmessage": "portal:../../code/lib/channel-postmessage",
"@storybook/channel-websocket": "portal:../../code/lib/channel-websocket",
"@storybook/channels": "portal:../../code/lib/channels",
"@storybook/cli": "portal:../../code/lib/cli",
"@storybook/client-api": "portal:../../code/deprecated/client-api",

View File

@ -26,13 +26,10 @@
"@storybook/addon-viewport": "portal:../../code/addons/viewport",
"@storybook/addons": "portal:../../code/deprecated/addons",
"@storybook/angular": "portal:../../code/frameworks/angular",
"@storybook/api": "portal:../../code/lib/api",
"@storybook/blocks": "portal:../../code/lib/blocks",
"@storybook/builder-manager": "portal:../../code/builders/builder-manager",
"@storybook/builder-vite": "portal:../../code/builders/builder-vite",
"@storybook/builder-webpack5": "portal:../../code/builders/builder-webpack5",
"@storybook/channel-postmessage": "portal:../../code/lib/channel-postmessage",
"@storybook/channel-websocket": "portal:../../code/lib/channel-websocket",
"@storybook/channels": "portal:../../code/lib/channels",
"@storybook/cli": "portal:../../code/lib/cli",
"@storybook/client-api": "portal:../../code/deprecated/client-api",