mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
fix peer dep for vite-react by bundling in a fix for "@joshwooding/vite-plugin-react-docgen-typescript"
This commit is contained in:
parent
a2b8fb9356
commit
37fd1f0ec5
@ -51,16 +51,18 @@
|
||||
"prep": "../../../scripts/prepare/bundle.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@joshwooding/vite-plugin-react-docgen-typescript": "^0.0.5",
|
||||
"@rollup/pluginutils": "^4.2.0",
|
||||
"@storybook/builder-vite": "7.0.0-beta.12",
|
||||
"@storybook/react": "7.0.0-beta.12",
|
||||
"@vitejs/plugin-react": "^3.0.0",
|
||||
"ast-types": "^0.14.2",
|
||||
"magic-string": "^0.26.1",
|
||||
"glob": "^7.2.0",
|
||||
"glob-promise": "^4.2.0",
|
||||
"magic-string": "^0.27.0",
|
||||
"react-docgen": "6.0.0-alpha.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@joshwooding/vite-plugin-react-docgen-typescript": "0.0.0-20221218231544",
|
||||
"@types/node": "^16.0.0",
|
||||
"typescript": "~4.9.3",
|
||||
"vite": "^4.0.0"
|
||||
|
@ -32,6 +32,7 @@ export const viteFinal: StorybookConfig['viteFinal'] = async (config, { presets
|
||||
|
||||
if (reactDocgenOption === 'react-docgen-typescript' && typescriptPresent) {
|
||||
plugins.push(
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
require('@joshwooding/vite-plugin-react-docgen-typescript')({
|
||||
...reactDocgenTypescriptOptions,
|
||||
// We *need* this set so that RDT returns default values in the same format as react-docgen
|
||||
|
@ -41,7 +41,6 @@
|
||||
"prep": "../../../scripts/prepare/bundle.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@joshwooding/vite-plugin-react-docgen-typescript": "0.0.5",
|
||||
"@storybook/client-logger": "7.0.0-beta.12",
|
||||
"@storybook/core-common": "7.0.0-beta.12",
|
||||
"@storybook/csf-plugin": "7.0.0-beta.12",
|
||||
|
@ -3491,19 +3491,21 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@joshwooding/vite-plugin-react-docgen-typescript@npm:0.0.5, @joshwooding/vite-plugin-react-docgen-typescript@npm:^0.0.5":
|
||||
version: 0.0.5
|
||||
resolution: "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.0.5"
|
||||
"@joshwooding/vite-plugin-react-docgen-typescript@npm:0.0.0-20221218231544":
|
||||
version: 0.0.0-20221218231544
|
||||
resolution: "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.0.0-20221218231544"
|
||||
dependencies:
|
||||
"@rollup/pluginutils": ^4.2.1
|
||||
glob: ^7.2.0
|
||||
glob-promise: ^4.2.0
|
||||
magic-string: ^0.26.1
|
||||
react-docgen-typescript: ^2.1.1
|
||||
peerDependencies:
|
||||
typescript: ">= 4.3.x"
|
||||
vite: ">2.0.0-0"
|
||||
checksum: 075dc5a98122e66ef4203550fb4050a283a0c889d55cce729219b0707ddc703162c07dafd188363e398bdbd5c3604aa9b310d845c37402dffb284ff1669394e1
|
||||
vite: ^3.0.0
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 98e96b97f3020ce56924d0fea3fbab728bdda92b7958c54cbfe508e996fc59020ac5b4a865603cc11ed876e5366133e75875f8664ac2d962aeedf62e732a9e3d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -5166,7 +5168,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rollup/pluginutils@npm:^4.2.0, @rollup/pluginutils@npm:^4.2.1":
|
||||
"@rollup/pluginutils@npm:^4.2.0":
|
||||
version: 4.2.1
|
||||
resolution: "@rollup/pluginutils@npm:4.2.1"
|
||||
dependencies:
|
||||
@ -6002,7 +6004,6 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/builder-vite@workspace:lib/builder-vite"
|
||||
dependencies:
|
||||
"@joshwooding/vite-plugin-react-docgen-typescript": 0.0.5
|
||||
"@storybook/client-logger": 7.0.0-beta.12
|
||||
"@storybook/core-common": 7.0.0-beta.12
|
||||
"@storybook/csf-plugin": 7.0.0-beta.12
|
||||
@ -7102,14 +7103,16 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/react-vite@workspace:frameworks/react-vite"
|
||||
dependencies:
|
||||
"@joshwooding/vite-plugin-react-docgen-typescript": ^0.0.5
|
||||
"@joshwooding/vite-plugin-react-docgen-typescript": 0.0.0-20221218231544
|
||||
"@rollup/pluginutils": ^4.2.0
|
||||
"@storybook/builder-vite": 7.0.0-beta.12
|
||||
"@storybook/react": 7.0.0-beta.12
|
||||
"@types/node": ^16.0.0
|
||||
"@vitejs/plugin-react": ^3.0.0
|
||||
ast-types: ^0.14.2
|
||||
magic-string: ^0.26.1
|
||||
glob: ^7.2.0
|
||||
glob-promise: ^4.2.0
|
||||
magic-string: ^0.27.0
|
||||
react-docgen: 6.0.0-alpha.3
|
||||
typescript: ~4.9.3
|
||||
vite: ^4.0.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user