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

Dependency updates: webpack, babel, react #1008

Merged
merged 7 commits into from
May 10, 2017
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
5 changes: 3 additions & 2 deletions examples/cra-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"react-scripts": "0.9.5"
},
"dependencies": {
"react": "^15.4.2",
"react-dom": "^15.4.2"
"react": "^15.5.4",
"react-dom": "^15.5.4",
"prop-types": "^15.5.9"
},
"scripts": {
"start": "react-scripts start",
Expand Down
5 changes: 3 additions & 2 deletions examples/cra-storybook/src/stories/Button.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';

const buttonStyles = {
border: '1px solid #eee',
Expand All @@ -17,8 +18,8 @@ const Button = ({ children, onClick }) => (
);

Button.propTypes = {
children: React.PropTypes.string.isRequired,
onClick: React.PropTypes.func,
children: PropTypes.string.isRequired,
onClick: PropTypes.func,
};

export default Button;
4 changes: 2 additions & 2 deletions examples/test-cra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"test": "react-scripts test --env=jsdom"
},
"dependencies": {
"react": "^15.4.2",
"react-dom": "^15.4.2"
"react": "^15.5.4",
"react-dom": "^15.5.4"
},
"devDependencies": {
"@kadira/storybook": "file:../../packages/react-storybook",
Expand Down
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"packages": [
"packages/*",
"examples/*"
]
],
"concurrency": 1
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "storybook",
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.13.0",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.4.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"codecov": "^2.1.0",
"enzyme": "^2.8.2",
"enzyme-to-json": "^1.5.1",
Expand All @@ -20,7 +20,7 @@
"jest": "^20.0.0",
"jest-enzyme": "^3.1.0",
"lerna": "2.0.0-rc.4",
"prettier": "^1.1.0",
"prettier": "^1.3.0",
"react": "^15.5.4",
"react-addons-test-utils": "^15.5.1",
"react-dom": "^15.5.4",
Expand Down
6 changes: 3 additions & 3 deletions packages/addon-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-test-renderer": "^15.5.4",
"shelljs": "^0.7.3"
"shelljs": "^0.7.7"
},
"dependencies": {
"deep-equal": "^1.0.1",
"json-stringify-safe": "^5.0.1",
"prop-types": "^15.5.7",
"react-inspector": "^1.1.0"
"prop-types": "^15.5.8",
"@storybook/react-inspector": "^1.2.1"
},
"peerDependencies": {
"@kadira/storybook-addons": "*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import Inspector from 'react-inspector';
import Inspector from '@storybook/react-inspector';
import style from './style';

class ActionLogger extends Component {
Expand Down
12 changes: 6 additions & 6 deletions packages/addon-comments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,27 @@
"storybook-remote": "start-storybook -p 3006"
},
"dependencies": {
"babel-runtime": "^6.11.6",
"babel-runtime": "^6.23.0",
"deep-equal": "^1.0.1",
"events": "^1.1.1",
"insert-css": "^1.0.0",
"marked": "^0.3.6",
"moment": "^2.15.1",
"prop-types": "^15.5.7",
"moment": "^2.18.1",
"prop-types": "^15.5.8",
"react-render-html": "^0.1.6",
"react-textarea-autosize": "^4.0.5"
"react-textarea-autosize": "^4.3.0"
},
"devDependencies": {
"@kadira/storybook": "*",
"@kadira/storybook-addons": "*",
"@kadira/storybook-database-cloud": "*",
"@kadira/storybook-deployer": "*",
"@kadira/storybook-ui": "*",
"git-url-parse": "^6.0.1",
"git-url-parse": "^6.2.2",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-test-renderer": "^15.5.4",
"shelljs": "^0.7.4"
"shelljs": "^0.7.7"
},
"peerDependencies": {
"@kadira/storybook-addons": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/addon-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@kadira/storybook": "*",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"shelljs": "^0.7.3"
"shelljs": "^0.7.7"
},
"peerDependencies": {
"@kadira/storybook-addons": "*",
Expand Down
6 changes: 3 additions & 3 deletions packages/addon-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@kadira/storybook": "*",
"git-url-parse": "^6.0.1",
"git-url-parse": "^6.2.2",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-storybook-addon-backgrounds": "0.0.7",
Expand All @@ -25,9 +25,9 @@
"react-dom": "*"
},
"dependencies": {
"babel-runtime": "^6.5.0",
"babel-runtime": "^6.23.0",
"markdown-to-react-components": "^0.2.1",
"prop-types": "^15.5.7",
"prop-types": "^15.5.8",
"react-addons-create-fragment": "^15.5.3"
},
"main": "dist/index.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/addon-info/src/components/PropVal.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function previewProp(val) {
}

if (!braceWrap) return content;
return <span>{{ content }}</span>;
return <span>{content}</span>;
}

export default class PropVal extends React.Component {
Expand Down
6 changes: 3 additions & 3 deletions packages/addon-knobs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"raw-loader": "^0.5.1",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"style-loader": "^0.13.1",
"style-loader": "^0.17.0",
"typescript": "^2.2.2",
"typescript-definition-tester": "^0.0.5"
},
Expand All @@ -37,8 +37,8 @@
"moment": "^2.18.1",
"prop-types": "^15.5.8",
"react-color": "^2.11.4",
"react-datetime": "^2.8.9",
"react-textarea-autosize": "^4.0.5"
"react-datetime": "^2.8.10",
"react-textarea-autosize": "^4.3.0"
},
"main": "dist/index.js",
"typings": "./storybook-addon-knobs.d.ts"
Expand Down
73 changes: 37 additions & 36 deletions packages/addon-notes/package.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,38 @@
{
"name": "@kadira/storybook-addon-notes",
"version": "1.0.1",
"description": "Write notes for your Storybook stories.",
"repository": {
"type": "git",
"url": "https://github.com/kadirahq/storybook-addon-notes.git"
},
"license": "MIT",
"scripts": {
"prepublish": "node ../../scripts/prepublish.js",
"storybook": "start-storybook -p 9010",
"publish-storybook": "bash .scripts/publish_storybook.sh"
},
"devDependencies": {
"@kadira/storybook": "*",
"@types/react": "^15.0.23",
"git-url-parse": "^6.0.1",
"react": "^15.3.2",
"react-addons-test-utils": "^15.5.1",
"react-dom": "^15.3.2"
},
"peerDependencies": {
"react": "*",
"@kadira/storybook-addons": "*"
},
"dependencies": {
"babel-runtime": "^6.5.0"
},
"main": "dist/index.js",
"keywords": [
"react",
"storybook",
"addon"
],
"typings": "./storybook-addon-notes.d.ts"
}
"name": "@kadira/storybook-addon-notes",
"version": "1.0.1",
"description": "Write notes for your Storybook stories.",
"repository": {
"type": "git",
"url": "https://github.com/kadirahq/storybook-addon-notes.git"
},
"license": "MIT",
"scripts": {
"prepublish": "node ../../scripts/prepublish.js",
"storybook": "start-storybook -p 9010",
"publish-storybook": "bash .scripts/publish_storybook.sh"
},
"devDependencies": {
"@kadira/storybook": "*",
"git-url-parse": "^6.2.2",
"react": "^15.5.4",
"react-addons-test-utils": "^15.5.1",
"react-dom": "^15.5.4"
},
"peerDependencies": {
"react": "*",
"@kadira/storybook-addons": "*"
},
"dependencies": {
"babel-runtime": "^6.23.0"
},
"optionalDependencies": {
"@types/react": "^15.0.24"
},
"main": "dist/index.js",
"keywords": [
"react",
"storybook",
"addon"
]
}
2 changes: 1 addition & 1 deletion packages/addons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
},
"homepage": "https://github.com/kadirahq/storybook-addons#readme",
"devDependencies": {
"shelljs": "^0.7.3"
"shelljs": "^0.7.7"
}
}
2 changes: 1 addition & 1 deletion packages/channel-websocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"license": "MIT",
"devDependencies": {
"shelljs": "^0.7.3"
"shelljs": "^0.7.7"
},
"dependencies": {
"@kadira/storybook-channel": "^1.0.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/channel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"license": "MIT",
"devDependencies": {
"shelljs": "^0.7.3"
"shelljs": "^0.7.7"
}
}
8 changes: 4 additions & 4 deletions packages/react-native-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"@kadira/storybook-addons": "*",
"@kadira/storybook-channel-websocket": "*",
"@kadira/storybook-ui": "*",
"autoprefixer": "^6.7.7",
"autoprefixer": "^7.0.1",
"babel-core": "^6.24.1",
"babel-loader": "^6.4.1",
"babel-loader": "^7.0.0",
"babel-plugin-syntax-async-functions": "^6.13.0",
"babel-plugin-syntax-trailing-function-commas": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
Expand All @@ -63,9 +63,9 @@
"file-loader": "^0.11.1",
"json-loader": "^0.5.4",
"json5": "^0.5.1",
"postcss-loader": "^1.3.3",
"postcss-loader": "^2.0.3",
"shelljs": "^0.7.7",
"style-loader": "^0.16.1",
"style-loader": "^0.17.0",
"url-loader": "^0.5.8",
"uuid": "^3.0.1",
"webpack": "^2.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-storybook/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@kadira/storybook": "file:../"
},
"dependencies": {
"prop-types": "^15.5.7",
"prop-types": "^15.5.8",
"react": "^15.5.4",
"react-dom": "^15.5.4"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/react-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"@kadira/storybook-channel-postmsg": "*",
"@kadira/storybook-ui": "*",
"airbnb-js-shims": "^1.1.1",
"autoprefixer": "^6.7.7",
"autoprefixer": "^7.0.1",
"babel-core": "^6.24.1",
"babel-loader": "^6.4.1",
"babel-loader": "^7.0.0",
"babel-plugin-react-docgen": "^1.4.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
Expand All @@ -48,15 +48,15 @@
"json-stringify-safe": "^5.0.1",
"json5": "^0.5.1",
"lodash.pick": "^4.4.0",
"postcss-loader": "1.3.3",
"postcss-loader": "^2.0.3",
"prop-types": "^15.5.8",
"qs": "^6.4.0",
"react-modal": "^1.7.6",
"redux": "^3.6.0",
"request": "^2.81.0",
"serve-favicon": "^2.4.2",
"shelljs": "^0.7.7",
"style-loader": "0.16.1",
"style-loader": "^0.17.0",
"url-loader": "^0.5.8",
"uuid": "^3.0.1",
"webpack": "^2.4.1",
Expand Down
12 changes: 6 additions & 6 deletions packages/storybook-ui/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
"devDependencies": {
"babel-core": "^6.0.20",
"babel-eslint": "^4.1.3",
"babel-loader": "^6.0.1",
"babel-preset-es2015": "^6.0.15",
"babel-preset-react": "^6.0.15",
"babel-preset-stage-0": "^6.0.15",
"babel-loader": "^7.0.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"eslint": "^1.10.3",
"eslint-plugin-react": "^3.6.2",
"webpack": "^1.12.2",
"webpack-dev-server": "^1.12.1"
},
"dependencies": {
"keycode": "^2.1.2",
"react": "^15.0.1",
"react-dom": "^15.0.1"
"react": "^15.5.4",
"react-dom": "^15.5.4"
}
}
4 changes: 2 additions & 2 deletions packages/storybook-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"react-dom": "*"
},
"dependencies": {
"@storybook/react-inspector": "^1.2.1",
"@storybook/react-fuzzy": "^0.4.0",
"babel-runtime": "^6.23.0",
"deep-equal": "^1.0.1",
"events": "^1.1.1",
Expand All @@ -29,8 +31,6 @@
"podda": "^1.2.2",
"prop-types": "^15.5.8",
"qs": "^6.4.0",
"react-fuzzy": "^0.3.3",
"react-inspector": "^1.1.2",
"react-komposer": "^2.0.0",
"react-modal": "^1.7.6",
"react-split-pane": "^0.1.63",
Expand Down
Loading