Add vue-vite exports for builder-vite

This commit is contained in:
Michael Shilman 2022-10-03 01:02:22 +08:00
parent 537c8bdb62
commit ed07861e50
3 changed files with 15 additions and 0 deletions

View File

@ -51,8 +51,12 @@
},
"dependencies": {
"@storybook/builder-vite": "7.0.0-alpha.34",
"@storybook/channel-postmessage": "7.0.0-alpha.34",
"@storybook/channel-websocket": "7.0.0-alpha.34",
"@storybook/client-api": "7.0.0-alpha.34",
"@storybook/core-common": "7.0.0-alpha.34",
"@storybook/core-server": "7.0.0-alpha.34",
"@storybook/preview-web": "7.0.0-alpha.34",
"@storybook/vue": "7.0.0-alpha.34",
"magic-string": "^0.26.1",
"vite": "^3.1.3",

View File

@ -1,2 +1,9 @@
// exports for builder-vite
export { createChannel as createPostMessageChannel } from '@storybook/channel-postmessage';
export { createChannel as createWebSocketChannel } from '@storybook/channel-websocket';
export { addons } from '@storybook/addons';
export { composeConfigs, PreviewWeb } from '@storybook/preview-web';
export { ClientApi } from '@storybook/client-api';
export * from '@storybook/vue';
export type { StorybookConfig } from '@storybook/builder-vite';

View File

@ -9124,8 +9124,12 @@ __metadata:
resolution: "@storybook/vue-vite@workspace:frameworks/vue-vite"
dependencies:
"@storybook/builder-vite": 7.0.0-alpha.34
"@storybook/channel-postmessage": 7.0.0-alpha.34
"@storybook/channel-websocket": 7.0.0-alpha.34
"@storybook/client-api": 7.0.0-alpha.34
"@storybook/core-common": 7.0.0-alpha.34
"@storybook/core-server": 7.0.0-alpha.34
"@storybook/preview-web": 7.0.0-alpha.34
"@storybook/vue": 7.0.0-alpha.34
magic-string: ^0.26.1
typescript: ~4.6.3