Add partial pnpm support per vite frameworks

This commit is contained in:
Michael Shilman 2022-09-30 01:26:57 +08:00
parent 625894830a
commit 58aa1c2fd0
2 changed files with 13 additions and 0 deletions

View File

@ -51,8 +51,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.34",
"@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-server": "7.0.0-alpha.34",
"@storybook/node-logger": "7.0.0-alpha.34",
"@storybook/preview-web": "7.0.0-alpha.34",
"@storybook/web-components": "7.0.0-alpha.34",
"@vitejs/plugin-vue": "^3.0.3",
"magic-string": "^0.26.1",

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/web-components';
export type { StorybookConfig } from '@storybook/builder-vite';