mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 23:22:10 +08:00
remove references to api
and the 2 deprecated channel packages
This commit is contained in:
parent
cb576dc180
commit
d462df5ce9
@ -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',
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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',
|
||||
];
|
||||
|
||||
|
@ -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",
|
||||
|
@ -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,
|
||||
|
@ -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__',
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user