Skip to content

Commit

Permalink
fix: install storybook as a peer dep (#29)
Browse files Browse the repository at this point in the history
* Install storybook as a peer dep

* Add change
  • Loading branch information
ehyland authored Dec 13, 2021
1 parent 3dfa555 commit 86b3eca
Show file tree
Hide file tree
Showing 5 changed files with 1,676 additions and 217 deletions.
7 changes: 7 additions & 0 deletions .changeset/soft-chairs-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'bgdk-basic-example': patch
'@bgdk/storybook': patch
'bgdk': patch
---

fix: install storybook as a peer dep
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ bgdk component src/component/ComponentName
- [ ] Add component generator
- [x] Add docs to readme
- [x] Open source
- [ ] Setup releases in CI with [changesets](https://github.com/atlassian/changesets)
- [x] Setup releases in CI with [changesets](https://github.com/atlassian/changesets)
- [x] Break storybook helpers into it's own package
- [x] Config preset for babel
- [ ] Config preset for jest
Expand Down
5 changes: 5 additions & 0 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
},
"devDependencies": {
"@bgdk/storybook": "^0.2.5",
"@storybook/addon-actions": "^6.4.9",
"@storybook/addon-essentials": "^6.4.9",
"@storybook/addon-links": "^6.4.9",
"@storybook/builder-webpack5": "^6.4.9",
"@storybook/manager-webpack5": "^6.4.9",
"@storybook/react": "^6.4.9",
"bgdk": "^0.3.1",
"jest": "^27.4.4",
Expand Down
20 changes: 9 additions & 11 deletions packages/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
"version": "0.2.5",
"description": "Storybook for bgdk apps",
"main": "dist/bgdk-storybook.cjs.js",
"bin": {
"build-storybook": "./node_modules/.bin/build-storybook",
"start-storybook": "./node_modules/.bin/start-storybook",
"storybook-server": "./node_modules/.bin/storybook-server"
},
"files": [
"/dist"
],
Expand Down Expand Up @@ -35,20 +30,23 @@
"directory": "packages/storybook"
},
"peerDependencies": {
"@storybook/addon-actions": "^6.4.9",
"@storybook/addon-essentials": "^6.4.9",
"@storybook/addon-links": "^6.4.9",
"@storybook/builder-webpack5": "^6.4.9",
"@storybook/manager-webpack5": "^6.4.9",
"@storybook/react": "^6.4.9",
"@vanilla-extract/webpack-plugin": "*",
"mini-css-extract-plugin": "*"
},
"devDependencies": {
"@storybook/react": "^6.4.9",
"@vanilla-extract/webpack-plugin": "^2.1.4",
"mini-css-extract-plugin": "^2.4.5"
},
"dependencies": {
"@storybook/addon-actions": "^6.4.9",
"@storybook/addon-essentials": "^6.4.9",
"@storybook/addon-links": "^6.4.9",
"@storybook/builder-webpack5": "^6.4.9",
"@storybook/manager-webpack5": "^6.4.9"
"@storybook/manager-webpack5": "^6.4.9",
"@storybook/react": "^6.4.9",
"@vanilla-extract/webpack-plugin": "^2.1.4",
"mini-css-extract-plugin": "^2.4.5"
}
}
Loading

0 comments on commit 86b3eca

Please sign in to comment.