Skip to content

Commit

Permalink
Bump @joshwooding/vite-plugin-react-docgen-typescript to 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding committed Jul 25, 2022
1 parent a4f17ea commit 2962b33
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/builder-vite/package.json
Expand Up @@ -13,7 +13,7 @@
},
"homepage": "https://github.com/storybookjs/builder-vite/#readme",
"dependencies": {
"@joshwooding/vite-plugin-react-docgen-typescript": "0.0.4",
"@joshwooding/vite-plugin-react-docgen-typescript": "0.0.5",
"@storybook/core-common": "^6.4.3",
"@storybook/mdx1-csf": "^0.0.4",
"@storybook/node-logger": "^6.4.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/builder-vite/vite-config.ts
Expand Up @@ -178,7 +178,7 @@ export async function pluginConfig(options: ExtendedOptions, _type: PluginConfig
}

if (reactDocgen === 'react-docgen-typescript' && typescriptPresent) {
plugins.push(require('@joshwooding/vite-plugin-react-docgen-typescript').default(reactDocgenTypescriptOptions));
plugins.push(require('@joshwooding/vite-plugin-react-docgen-typescript')(reactDocgenTypescriptOptions));
} else if (reactDocgen) {
const { reactDocgen } = await import('./plugins/react-docgen');
// Needs to run before the react plugin, so add to the front
Expand Down
18 changes: 17 additions & 1 deletion yarn.lock
Expand Up @@ -2005,6 +2005,22 @@ __metadata:
languageName: node
linkType: hard

"@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"
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: e722b472413bf67e879bdd3969a43223e161b2d2b634848b7a88c89ddb507ad331959808ff7e17b6513527e797aae4aad973dda0bd3c7ab3348ebc691ab76b83
languageName: node
linkType: hard

"@jridgewell/gen-mapping@npm:^0.1.0":
version: 0.1.1
resolution: "@jridgewell/gen-mapping@npm:0.1.1"
Expand Down Expand Up @@ -2856,7 +2872,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/builder-vite@workspace:packages/builder-vite"
dependencies:
"@joshwooding/vite-plugin-react-docgen-typescript": 0.0.4
"@joshwooding/vite-plugin-react-docgen-typescript": 0.0.5
"@storybook/core-common": ^6.4.3
"@storybook/mdx1-csf": ^0.0.4
"@storybook/mdx2-csf": ^0.0.3
Expand Down

0 comments on commit 2962b33

Please sign in to comment.