Skip to content

Commit

Permalink
Merge pull request #255 from storybookjs/revert-253-valentin/remove-r…
Browse files Browse the repository at this point in the history
…eact-peer-dependency

Revert "Remove react peer dependency"
  • Loading branch information
valentinpalkovic authored Feb 12, 2025
2 parents b10f73b + 8aea436 commit a6f9e3f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 20 deletions.
34 changes: 16 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 12 additions & 2 deletions packages/storybook-addon-designs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@
"release": "npm run prepublishOnly && auto shipit",
"test": "echo 'No tests' && exit 0"
},
"dependencies": {
"@figspec/react": "^1.0.0"
},
"devDependencies": {
"@auto-it/released": "^11.1.1",
"@figspec/react": "^1.0.0",
"@storybook/components": "^8.0.0",
"@storybook/core-events": "^8.0.0",
"@storybook/manager-api": "^8.0.0",
Expand All @@ -61,7 +63,9 @@
"peerDependencies": {
"@storybook/blocks": "^8.0.0 || ^8.1.0-0 || ^8.2.0-0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0",
"@storybook/components": "^8.0.0 || ^8.1.0-0 || ^8.2.0-0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0",
"@storybook/theming": "^8.0.0 || ^8.1.0-0 || ^8.2.0-0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0"
"@storybook/theming": "^8.0.0 || ^8.1.0-0 || ^8.2.0-0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@storybook/blocks": {
Expand All @@ -72,6 +76,12 @@
},
"@storybook/theming": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"publishConfig": {
Expand Down

0 comments on commit a6f9e3f

Please sign in to comment.