Skip to content

Commit

Permalink
Merge pull request #23179 from storybookjs/chaks/fix-ts-deps-react
Browse files Browse the repository at this point in the history
Dependencies: Move `typescript` from devDependencies  to peerDependencies
  • Loading branch information
ndelangen authored Jul 10, 2023
2 parents 2abdc48 + 7a40ca9 commit 4292d59
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions code/frameworks/react-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@
"@types/node": "^16.0.0"
},
"devDependencies": {
"jest-specific-snapshot": "^8.0.0",
"typescript": "~4.9.3"
"jest-specific-snapshot": "^8.0.0"
},
"peerDependencies": {
"@babel/core": "^7.22.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
"typescript": "*"
},
"peerDependenciesMeta": {
"@babel/core": {
Expand Down
6 changes: 3 additions & 3 deletions code/renderers/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@
"@types/util-deprecate": "^1.0.0",
"expect-type": "^0.15.0",
"jest-specific-snapshot": "^8.0.0",
"require-from-string": "^2.0.2",
"typescript": "~4.9.3"
"require-from-string": "^2.0.2"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
"typescript": "*"
},
"peerDependenciesMeta": {
"typescript": {
Expand Down
4 changes: 2 additions & 2 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7044,11 +7044,11 @@ __metadata:
"@storybook/react": 7.1.0-beta.2
"@types/node": ^16.0.0
jest-specific-snapshot: ^8.0.0
typescript: ~4.9.3
peerDependencies:
"@babel/core": ^7.22.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
typescript: "*"
peerDependenciesMeta:
"@babel/core":
optional: true
Expand Down Expand Up @@ -7086,11 +7086,11 @@ __metadata:
require-from-string: ^2.0.2
ts-dedent: ^2.0.0
type-fest: ^3.11.0
typescript: ~4.9.3
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
typescript: "*"
peerDependenciesMeta:
typescript:
optional: true
Expand Down

0 comments on commit 4292d59

Please sign in to comment.