Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React: Fix default export docgen for React.FC and forwardRef #22024

Merged
merged 1 commit into from
Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions code/presets/create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"dependencies": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.630821.0",
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0",
"@storybook/types": "7.1.0-alpha.0",
"@types/babel__core": "^7.1.7",
"babel-plugin-react-docgen": "^4.1.0",
Expand All @@ -59,7 +59,6 @@
"devDependencies": {
"@storybook/node-logger": "7.1.0-alpha.0",
"@types/node": "^16.0.0",
"@types/semver": "^7.3.6",
"typescript": "~4.9.3"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion code/presets/react-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@storybook/docs-tools": "7.1.0-alpha.0",
"@storybook/node-logger": "7.1.0-alpha.0",
"@storybook/react": "7.1.0-alpha.0",
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.630821.0",
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0",
"@types/node": "^16.0.0",
"@types/semver": "^7.3.4",
"babel-plugin-add-react-displayname": "^0.0.5",
Expand Down
15 changes: 7 additions & 8 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6713,11 +6713,10 @@ __metadata:
dependencies:
"@pmmmwh/react-refresh-webpack-plugin": ^0.5.1
"@storybook/node-logger": 7.1.0-alpha.0
"@storybook/react-docgen-typescript-plugin": 1.0.6--canary.9.630821.0
"@storybook/react-docgen-typescript-plugin": 1.0.6--canary.9.0c3f3b7.0
"@storybook/types": 7.1.0-alpha.0
"@types/babel__core": ^7.1.7
"@types/node": ^16.0.0
"@types/semver": ^7.3.6
babel-plugin-react-docgen: ^4.1.0
pnp-webpack-plugin: ^1.7.0
semver: ^7.3.5
Expand Down Expand Up @@ -6769,7 +6768,7 @@ __metadata:
"@storybook/docs-tools": 7.1.0-alpha.0
"@storybook/node-logger": 7.1.0-alpha.0
"@storybook/react": 7.1.0-alpha.0
"@storybook/react-docgen-typescript-plugin": 1.0.6--canary.9.630821.0
"@storybook/react-docgen-typescript-plugin": 1.0.6--canary.9.0c3f3b7.0
"@types/node": ^16.0.0
"@types/semver": ^7.3.4
babel-plugin-add-react-displayname: ^0.0.5
Expand Down Expand Up @@ -6967,9 +6966,9 @@ __metadata:
languageName: unknown
linkType: soft

"@storybook/react-docgen-typescript-plugin@npm:1.0.6--canary.9.630821.0":
version: 1.0.6--canary.9.630821.0
resolution: "@storybook/react-docgen-typescript-plugin@npm:1.0.6--canary.9.630821.0"
"@storybook/react-docgen-typescript-plugin@npm:1.0.6--canary.9.0c3f3b7.0":
version: 1.0.6--canary.9.0c3f3b7.0
resolution: "@storybook/react-docgen-typescript-plugin@npm:1.0.6--canary.9.0c3f3b7.0"
dependencies:
debug: ^4.1.1
endent: ^2.0.1
Expand All @@ -6981,7 +6980,7 @@ __metadata:
peerDependencies:
typescript: ">= 4.x"
webpack: ">= 4"
checksum: e444a6f2ef67a631ebd35f78a1637c2adbb964d5063a4a088ccf3027c65ca2430826906c70e4972049ef1603aa01ce9c38393704fc2d6de293a627cc40ddc3b2
checksum: 505a728f36df3f519f4985bdf18f2078ea18a1a8f7f837fc831f971363fb7643a182f01a6857a9729ac5a1246d370526fca5a19017f82e7493af4ca945cb7235
languageName: node
linkType: hard

Expand Down Expand Up @@ -8774,7 +8773,7 @@ __metadata:
languageName: node
linkType: hard

"@types/semver@npm:^7.3.12, @types/semver@npm:^7.3.4, @types/semver@npm:^7.3.6":
"@types/semver@npm:^7.3.12, @types/semver@npm:^7.3.4":
version: 7.3.13
resolution: "@types/semver@npm:7.3.13"
checksum: 73295bb1fee46f8c76c7a759feeae5a3022f5bedfdc17d16982092e4b33af17560234fb94861560c20992a702a1e1b9a173bb623a96f95f80892105f5e7d25e3
Expand Down