mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Merge pull request #20459 from storybookjs/cli-react-peer-dep
CLI: Add peer dependency on react
This commit is contained in:
commit
5fc7e5dccb
@ -88,6 +88,10 @@
|
|||||||
"strip-json-comments": "^3.1.1",
|
"strip-json-comments": "^3.1.1",
|
||||||
"typescript": "~4.9.3"
|
"typescript": "~4.9.3"
|
||||||
},
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
||||||
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
||||||
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
|
@ -6264,6 +6264,9 @@ __metadata:
|
|||||||
ts-dedent: ^2.0.0
|
ts-dedent: ^2.0.0
|
||||||
typescript: ~4.9.3
|
typescript: ~4.9.3
|
||||||
util-deprecate: ^1.0.2
|
util-deprecate: ^1.0.2
|
||||||
|
peerDependencies:
|
||||||
|
react: ^16.8.0 || ^17.0.0 || ^18.0.0
|
||||||
|
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
|
||||||
bin:
|
bin:
|
||||||
getstorybook: ./bin/index.js
|
getstorybook: ./bin/index.js
|
||||||
sb: ./bin/index.js
|
sb: ./bin/index.js
|
||||||
|
Loading…
x
Reference in New Issue
Block a user