Skip to content

Commit

Permalink
chore(lib): add some missing dependencies
Browse files Browse the repository at this point in the history
Used `npx @yarnpkg/doctor .` to have the list of all missing deps.
Added them with version range already used in the workspace to avoid downloading new dep (that's why yarn.lock is not modified)
  • Loading branch information
gaetanmaisse committed Mar 1, 2020
1 parent b9e37d2 commit 85d8f7b
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/addons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@types/util-deprecate": "^1.0.0"
},
"peerDependencies": {
"react": "*",
"react-dom": "*"
},
"publishConfig": {
Expand Down
4 changes: 3 additions & 1 deletion lib/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
},
"devDependencies": {
"@types/lodash": "^4.14.149",
"@types/semver": "^6.0.0"
"@types/semver": "^6.0.0",
"flush-promises": "^1.0.2",
"qs": "^6.6.0"
},
"peerDependencies": {
"react-dom": "*"
Expand Down
1 change: 1 addition & 0 deletions lib/client-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"util-deprecate": "^1.0.2"
},
"peerDependencies": {
"react": "*",
"react-dom": "*"
},
"publishConfig": {
Expand Down
7 changes: 6 additions & 1 deletion lib/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,15 @@
"ts-dedent": "^1.1.1"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@storybook/react": "6.0.0-alpha.20",
"@storybook/addon-actions": "6.0.0-alpha.20",
"@types/react-syntax-highlighter": "^11.0.2",
"babel-loader": "^8.0.6",
"enzyme": "^3.9.0",
"jest": "^25.1.0",
"jest-enzyme": "^7.0.2"
"jest-enzyme": "^7.0.2",
"webpack": "^4.38.0"
},
"peerDependencies": {
"react": "*",
Expand Down
1 change: 1 addition & 0 deletions lib/postinstall/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
},
"devDependencies": {
"@hypnosphi/jscodeshift": "^0.6.4",
"jest": "^25.1.0",
"jest-specific-snapshot": "^2.0.0"
},
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions lib/source-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"regenerator-runtime": "^0.13.3"
},
"peerDependencies": {
"react": "*",
"react-dom": "*"
},
"publishConfig": {
Expand Down
5 changes: 5 additions & 0 deletions lib/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,16 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@storybook/addon-actions": "6.0.0-alpha.20",
"@storybook/addon-knobs": "6.0.0-alpha.20",
"@storybook/react": "6.0.0-alpha.20",
"@testing-library/react": "^9.2.0",
"babel-loader": "^8.0.6",
"corejs-upgrade-webpack-plugin": "^3.0.1",
"enzyme": "^3.11.0",
"flush-promises": "^1.0.2",
"storybook-chromatic": "^3.5.0",
"terser-webpack-plugin": "^2.3.4",
"webpack": "^4.33.0"
},
Expand Down

0 comments on commit 85d8f7b

Please sign in to comment.