Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc: Add missing dependencies #9965

Merged
merged 2 commits into from
Mar 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 30 additions & 3 deletions addons/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"dependencies": {
"@babel/generator": "^7.8.4",
"@babel/parser": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@egoist/vue-to-react": "^1.1.0",
"@jest/transform": "^25.1.0",
Expand All @@ -53,6 +54,7 @@
"@storybook/core-events": "6.0.0-alpha.20",
"@storybook/csf": "0.0.1",
"@storybook/postinstall": "6.0.0-alpha.20",
"@storybook/node-logger": "6.0.0-alpha.20",
"@storybook/source-loader": "6.0.0-alpha.20",
"@storybook/theming": "6.0.0-alpha.20",
"acorn": "^7.1.0",
Expand All @@ -76,28 +78,53 @@
"vue-docgen-loader": "^1.4.0"
},
"devDependencies": {
"@angular/core": "^8.2.8",
"@emotion/styled": "^10.0.17",
"@emotion/core": "^10.0.20",
"@babel/core": "^7.8.4",
"@storybook/react": "6.0.0-alpha.20",
"@storybook/web-components": "6.0.0-alpha.20",
"@types/doctrine": "^0.0.3",
"@types/enzyme": "^3.10.3",
"@types/jest": "^25.1.1",
"@types/prop-types": "^15.5.9",
"@types/util-deprecate": "^1.0.0",
"babel-loader": "^8.0.6",
"babel-plugin-react-docgen": "^4.1.0",
"cross-spawn": "^7.0.1",
"fs-extra": "^8.1.0",
"jest": "^25.1.0",
"jest-specific-snapshot": "^2.0.0",
"lit-element": "^2.2.1",
"lit-html": "^1.0.0",
"prettier": "^1.18.2",
"require-from-string": "^2.0.2",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-is": "^16.12.0",
"rxjs": "^6.5.4",
"styled-components": "^5.0.1",
"tmp": "^0.1.0",
"web-component-analyzer": "^1.0.3"
"web-component-analyzer": "^1.0.3",
"webpack": "^4.33.0",
"zone.js": "^0.10.2"
},
"peerDependencies": {
"@babel/core": "^7.0.0-0",
"babel-loader": "^8.0.0",
"react": "^16.9.0",
"react": ">=16.3.0",
"react-dom": "*",
"react-is": "^16.8.0"
"react-is": "^16.8.0",
"vue": "^2.6.10",
"webpack": ">=4"
},
"peerDependenciesMeta": {
"vue": {
"optional": true
},
"webpack": {
"optional": true
}
},
"publishConfig": {
"access": "public"
Expand Down
1 change: 0 additions & 1 deletion addons/docs/postinstall/presets.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import fs from 'fs';
import { presetsAddPreset, getFrameworks } from '@storybook/postinstall';
// eslint-disable-next-line import/no-extraneous-dependencies
import { logger } from '@storybook/node-logger';

export default function transformer(file, api) {
Expand Down
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
1 change: 0 additions & 1 deletion lib/addons/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import global from 'global';
// eslint-disable-next-line import/no-extraneous-dependencies
import { ReactElement } from 'react';
import { Channel } from '@storybook/channels';
import { API } from '@storybook/api';
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
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