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

chore(v2): bump deps and remove unused deps #2029

Merged
merged 2 commits into from
Nov 22, 2019
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
36 changes: 17 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
"@types/loader-utils": "^1.1.3",
"@types/lodash": "^4.14.145",
"@types/lodash.kebabcase": "^4.1.6",
"@types/node": "^12.0.2",
"@types/node": "^12.12.11",
"@types/react": "^16.9.11",
"@types/react-dev-utils": "^9.0.1",
"@types/semver": "^6.2.0",
"@types/shelljs": "^0.8.5",
"@types/shelljs": "^0.8.6",
"@types/webpack": "^4.32.0",
"@types/webpack-dev-server": "^3.1.5",
"@types/webpack-merge": "^4.1.5",
Expand All @@ -47,34 +47,32 @@
"enzyme-adapter-react-16": "^1.15.1",
"eslint": "^6.6.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.5.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-header": "^3.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.2.0",
"husky": "^3.0.9",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"lerna": "^3.18.1",
"lerna": "^3.19.0",
"lerna-changelog": "^0.8.3",
"lint-staged": "^7.2.0",
"prettier": "^1.19.0",
"lint-staged": "^9.4.3",
"prettier": "^1.19.1",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"typescript": "^3.7.2"
},
"lint-staged": {
"linters": {
"*.{js,jsx}": [
"yarn lint --fix",
"yarn prettier",
"git add"
],
"*.{ts,tsx}": [
"yarn prettier",
"git add"
]
}
"*.{js,jsx}": [
"yarn lint --fix",
"yarn prettier",
"git add"
],
"*.{ts,tsx}": [
"yarn prettier",
"git add"
]
},
"husky": {
"hooks": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-1.x/lib/server/feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

const Feed = require('feed');
const {Feed} = require('feed');
const truncateHtml = require('truncate-html');

const BLOG_POST_SUMMARY_LENGTH = 250;
Expand Down
16 changes: 7 additions & 9 deletions packages/docusaurus-1.x/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,27 @@
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/polyfill": "^7.6.0",
"@babel/polyfill": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"@babel/register": "^7.7.0",
"@babel/traverse": "^7.7.2",
"@babel/types": "^7.7.2",
"autoprefixer": "^9.7.0",
"autoprefixer": "^9.7.2",
"babylon": "^6.18.0",
"chalk": "^3.0.0",
"classnames": "^2.2.6",
"color": "^2.0.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused

"commander": "^4.0.1",
"cross-spawn": "^6.0.5",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

"crowdin-cli": "^0.3.0",
"cssnano": "^4.1.10",
"escape-string-regexp": "^2.0.0",
"express": "^4.17.1",
"feed": "^1.1.0",
"feed": "^4.0.0",
"fs-extra": "^8.1.0",
"gaze": "^1.1.3",
"github-slugger": "^1.2.1",
"glob": "^7.1.5",
"highlight.js": "^9.16.1",
"glob": "^7.1.6",
"highlight.js": "^9.16.2",
"imagemin": "^6.0.0",
"imagemin-gifsicle": "^6.0.1",
"imagemin-jpegtran": "^6.0.0",
Expand All @@ -61,7 +59,7 @@
"markdown-toc": "^1.2.0",
"mkdirp": "^0.5.1",
"portfinder": "^1.0.25",
"postcss": "^7.0.21",
"postcss": "^7.0.23",
"prismjs": "^1.17.1",
"react": "^16.8.4",
"react-dev-utils": "^9.1.0",
Expand All @@ -77,7 +75,7 @@
},
"devDependencies": {
"filepath": "^1.1.0",
"front-matter": "^2.3.0",
"front-matter": "^3.0.2",
"glob-promise": "^3.3.0",
"rimraf": "^3.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"chalk": "^3.0.0",
"commander": "^4.0.1",
"fs-extra": "^8.1.0",
"inquirer": "^6.5.0",
"inquirer": "^7.0.0",
"lodash.kebabcase": "^4.1.1",
"semver": "^6.3.0",
"shelljs": "^0.8.3"
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-mdx-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
},
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.7.2",
"@babel/parser": "^7.7.3",
"@babel/traverse": "^7.7.2",
"@mdx-js/mdx": "^1.5.1",
"@mdx-js/react": "^1.5.1",
"github-slugger": "^1.2.1",
"gray-matter": "^4.0.2",
"loader-utils": "^1.2.3",
"mdast-util-to-string": "^1.0.6",
"mdast-util-to-string": "^1.0.7",
"remark-emoji": "^2.0.2",
"remark-slug": "^5.1.2",
"stringify-object": "^3.3.0",
Expand All @@ -24,6 +24,6 @@
"devDependencies": {
"remark": "^11.0.2",
"remark-mdx": "^1.5.1",
"to-vfile": "^5.0.2"
"to-vfile": "^6.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/docusaurus-plugin-content-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"devDependencies": {
"@docusaurus/types": "^2.0.0-alpha.36",
"commander": "^4.0.1",
"picomatch": "^2.1.0"
"picomatch": "^2.1.1"
},
"dependencies": {
"@docusaurus/mdx-loader": "^2.0.0-alpha.36",
"@docusaurus/utils": "^2.0.0-alpha.36",
"execa": "^3.3.0",
"fs-extra": "^8.1.0",
"globby": "^10.0.1",
"import-fresh": "^3.1.0",
"import-fresh": "^3.2.1",
"loader-utils": "^1.2.3",
"lodash": "^4.17.15",
"shelljs": "^0.8.3"
Expand Down
4 changes: 2 additions & 2 deletions packages/docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@
"core-js": "^2.6.5",
"css-loader": "^3.2.0",
"del": "^5.1.0",
"ejs": "^2.7.1",
"ejs": "^2.7.4",
"express": "^4.17.1",
"fs-extra": "^8.1.0",
"globby": "^10.0.1",
"html-webpack-plugin": "^4.0.0-beta.11",
"import-fresh": "^3.1.0",
"import-fresh": "^3.2.1",
"lodash": "^4.17.15",
"mini-css-extract-plugin": "^0.8.0",
"nprogress": "^0.2.0",
Expand Down
Loading