Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Mar 26, 2019
1 parent d2d181d commit abfbbb5
Show file tree
Hide file tree
Showing 18 changed files with 408 additions and 423 deletions.
10 changes: 5 additions & 5 deletions core/docz-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"@babel/core": "7.4.0",
"@babel/polyfill": "7.4.0",
"@babel/runtime": "^7.4.0",
"@babel/runtime": "^7.4.2",
"@mdx-js/loader": "^0.20.3",
"@sindresorhus/slugify": "^0.9.0",
"@svgr/webpack": "^4.1.0",
Expand All @@ -32,7 +32,7 @@
"babel-preset-react-app": "^7.0.2",
"cache-loader": "^2.0.1",
"chalk": "^2.4.2",
"chokidar": "^2.1.2",
"chokidar": "^2.1.5",
"common-tags": "^1.8.0",
"detect-port": "^1.3.0",
"docz-utils": "^1.0.0-rc.2",
Expand Down Expand Up @@ -75,7 +75,7 @@
"url-loader": "^1.1.2",
"webpack": "^4.29.6",
"webpack-bundle-analyzer": "^3.1.0",
"webpack-chain": "^5.2.2",
"webpack-chain": "^5.2.4",
"webpack-dev-server": "^3.2.1",
"webpack-hot-client": "^4.1.1",
"webpack-manifest-plugin": "^2.0.4",
Expand All @@ -97,8 +97,8 @@
"all-contributors-cli": "^6.2.0",
"commitizen": "^3.0.7",
"cpy": "^7.1.0",
"rollup": "^1.6.0",
"rollup": "^1.7.3",
"ts-jest": "^24.0.0",
"typescript": "^3.3.3333"
"typescript": "^3.3.4000"
}
}
2 changes: 1 addition & 1 deletion core/docz-rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"gzip-size": "^5.0.0",
"lodash": "^4.17.11",
"log-update": "^3.1.0",
"rollup": "^1.6.0",
"rollup": "^1.7.3",
"rollup-plugin-babel": "^4.3.2"
}
}
16 changes: 8 additions & 8 deletions core/docz-theme-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@
},
"dependencies": {
"@reach/router": "^1.2.1",
"@tippy.js/react": "^2.1.1",
"codemirror": "^5.44.0",
"@tippy.js/react": "^2.1.2",
"codemirror": "^5.45.0",
"copy-text-to-clipboard": "^2.0.0",
"docz": "^1.0.0-rc.3",
"facepaint": "^1.2.1",
"hotkeys-js": "^3.4.4",
"hotkeys-js": "^3.6.0",
"lodash": "^4.17.11",
"polished": "^3.0.3",
"polished": "^3.1.0",
"prop-types": "15.7.2",
"re-resizable": "^4.11.0",
"react": "^16.8.4",
"react": "^16.8.5",
"react-codemirror2": "^5.1.0",
"react-dom": "^16.8.4",
"react-dom": "^16.8.5",
"react-feather": "^1.1.6",
"react-live": "^1.12.0",
"react-live": "^2.0.0",
"react-perfect-scrollbar": "^1.4.4",
"styled-components": "^4.1.3"
"styled-components": "^4.2.0"
},
"peerDependencies": {
"react": "^16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion core/docz-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@babel/generator": "^7.4.0",
"@babel/parser": "^7.4.0",
"@babel/parser": "^7.4.2",
"@babel/traverse": "^7.4.0",
"art-template": "^4.13.2",
"codesandboxer-fs": "^1.0.1",
Expand Down
8 changes: 4 additions & 4 deletions core/docz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"lodash": "^4.17.11",
"match-sorter": "^2.3.0",
"prop-types": "^15.7.2",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react": "^16.8.5",
"react-dom": "^16.8.5",
"ulid": "^2.3.0",
"yargs": "^13.2.2"
},
Expand All @@ -50,13 +50,13 @@
"@types/lodash.flatten": "^4.4.6",
"@types/lodash.flattendepth": "^4.7.6",
"@types/lodash.get": "^4.4.6",
"@types/node": "^11.11.4",
"@types/node": "^11.12.0",
"@types/reach__router": "^1.2.3",
"@types/react": "^16.8.8",
"babel-preset-react-app": "^7.0.2",
"jest": "^24.5.0",
"lint-staged": "^8.1.5",
"rollup": "^1.6.0",
"rollup": "^1.7.3",
"tslint": "^5.14.0"
}
}
12 changes: 6 additions & 6 deletions core/gatsby-theme-docz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,29 @@
"@mdx-js/tag": "^0.20.3",
"babel-plugin-export-metadata": "^1.0.0-rc.2",
"change-case": "^3.1.0",
"chokidar": "^2.1.2",
"chokidar": "^2.1.5",
"docz": "^1.0.0-rc.3",
"docz-core": "^1.0.0-rc.3",
"docz-theme-default": "^1.0.0-rc.3",
"docz-utils": "^1.0.0-rc.2",
"fs-extra": "^7.0.1",
"gatsby": "^2.2.5",
"gatsby": "^2.3.2",
"gatsby-mdx": "^0.4.4",
"gatsby-plugin-compile-es6-packages": "^1.0.6",
"gatsby-plugin-manifest": "^2.0.24",
"gatsby-plugin-react-helmet": "^3.0.10",
"gatsby-plugin-react-helmet": "^3.0.11",
"gatsby-plugin-root-import": "^2.0.5",
"gatsby-plugin-styled-components": "^3.0.7",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react": "^16.8.5",
"react-dom": "^16.8.5",
"react-helmet": "^5.2.0",
"rehype-docz": "^1.0.0-rc.2",
"rehype-slug": "^2.0.2",
"remark-docz": "^1.0.0-rc.2",
"remark-frontmatter": "^1.3.1",
"styled-components": "^4.1.3",
"styled-components": "^4.2.0",
"yargs": "^13.2.2"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
},
"dependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"styled-components": "^4.1.3"
"react": "^16.8.5",
"react-dom": "^16.8.5",
"styled-components": "^4.2.0"
},
"devDependencies": {
"docz": "^1.0.0-rc.3"
Expand Down
28 changes: 28 additions & 0 deletions examples/basic/test/Alert.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import React, { Fragment } from 'react'
import styled from 'styled-components'
import t from 'prop-types'

const kinds = {
info: '#5352ED',
positive: '#2ED573',
negative: '#FF4757',
warning: '#FFA502',
}

const AlertStyled = styled('div')`
padding: 15px 20px;
background: white;
border-radius: 3px;
color: white;
background: ${({ kind = 'info' }) => kinds[kind]};
`

export const Alert = props => <AlertStyled {...props} />

Alert.propTypes = {
kind: t.oneOf(['info', 'positive', 'negative', 'warning']),
}

Alert.defaultProps = {
kind: 'info',
}
40 changes: 40 additions & 0 deletions examples/basic/test/Alert.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Alert
menu: Components
---

import { Playground, Props } from 'docz'
import { Alert } from './Alert'

# Alert

## Properties

<Props of={Alert} />

## Basic usage

<Playground>
<Alert>Some message</Alert>
</Playground>

## Using different kinds

<Playground>
<Alert kind="info">Some message</Alert>
<Alert kind="positive">Some message</Alert>
<Alert kind="negative">Some message</Alert>
<Alert kind="warning">Some message</Alert>
</Playground>

## Use with children as a function

<Playground>
{() => {
const message = 'Hello world'

return (
<Alert>{message}</Alert>
)
}}
</Playground>
6 changes: 3 additions & 3 deletions examples/flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
},
"dependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"styled-components": "^4.1.3"
"react": "^16.8.5",
"react-dom": "^16.8.5",
"styled-components": "^4.2.0"
},
"devDependencies": {
"@babel/preset-flow": "^7.0.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-react": "7.x",
"gatsby": "^2.2.2",
"gatsby-mdx": "^0.4.3",
"gatsby": "^2.3.2",
"gatsby-mdx": "^0.4.4",
"gatsby-plugin-eslint": "^2.0.4",
"gatsby-theme-docz": "^1.0.0-rc.3"
}
Expand Down
10 changes: 5 additions & 5 deletions examples/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"dependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.4",
"react-art": "^16.8.4",
"react-dom": "^16.8.4",
"react-native-web": "^0.11.1",
"styled-components": "^4.1.3"
"react": "^16.8.5",
"react-art": "^16.8.5",
"react-dom": "^16.8.5",
"react-native-web": "^0.11.2",
"styled-components": "^4.2.0"
},
"devDependencies": {
"@babel/core": "^7.4.0",
Expand Down
6 changes: 3 additions & 3 deletions examples/styled-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
},
"dependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"styled-components": "^4.1.3"
"react": "^16.8.5",
"react-dom": "^16.8.5",
"styled-components": "^4.2.0"
},
"devDependencies": {
"docz": "^1.0.0-rc.3"
Expand Down
8 changes: 4 additions & 4 deletions examples/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"dependencies": {
"docz": "^1.0.0-rc.3",
"docz-core": "^1.0.0-rc.3",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"styled-components": "^4.1.3"
"react": "^16.8.5",
"react-dom": "^16.8.5",
"styled-components": "^4.2.0"
},
"devDependencies": {
"@types/react": "^16.8.8",
"@types/react-dom": "^16.8.2"
"@types/react-dom": "^16.8.3"
}
}
2 changes: 1 addition & 1 deletion other-packages/babel-plugin-export-metadata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.1",
"@babel/preset-env": "^7.4.2",
"@babel/template": "^7.4.0",
"babel-core": "7.0.0-bridge.0",
"lodash": "^4.17.11"
Expand Down
4 changes: 2 additions & 2 deletions other-packages/load-cfg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
"tslint": "tslint --project ."
},
"dependencies": {
"@babel/preset-env": "^7.4.1",
"@babel/preset-env": "^7.4.2",
"@babel/register": "^7.4.0",
"find-up": "^3.0.0",
"fs-extra": "^7.0.1",
"lodash": "^4.17.11"
},
"devDependencies": {
"@types/node": "^11.11.4",
"@types/node": "^11.12.0",
"@types/react": "^16.8.8",
"@types/webpack": "^4.4.26",
"@types/yargs": "^12.0.10",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
"@types/lodash.flatten": "^4.4.5",
"@types/lodash.flattendepth": "^4.7.5",
"@types/lodash.get": "^4.4.5",
"@types/node": "^11.11.4",
"@types/node": "^11.12.0",
"@types/prettier": "^1.16.1",
"@types/react": "^16.8.8",
"@types/react-dom": "^16.8.2",
"@types/react-dom": "^16.8.3",
"@types/react-router-dom": "^4.3.1",
"all-contributors-cli": "^6.2.0",
"babel-plugin-lodash": "^3.3.4",
Expand All @@ -60,7 +60,7 @@
"lint-staged": "^8.1.4",
"npm-run-all": "^4.1.5",
"prettier": "^1.16.4",
"rollup": "^1.3.2",
"rollup": "^1.7.3",
"trash-cli": "^1.4.0",
"ts-jest": "^24.0.0",
"tslint": "^5.14.0",
Expand Down
Loading

0 comments on commit abfbbb5

Please sign in to comment.