mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-20 20:46:58 +02:00
chore(v2): bump deps and remove unused deps (#2029)
* chore(v2): deps bump * remove unused deps
This commit is contained in:
parent
9829f56b1e
commit
2d15fadf16
8 changed files with 387 additions and 452 deletions
36
package.json
36
package.json
|
@ -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",
|
||||
|
@ -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": {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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",
|
||||
"commander": "^4.0.1",
|
||||
"cross-spawn": "^6.0.5",
|
||||
"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",
|
||||
|
@ -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",
|
||||
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
|
@ -24,6 +24,6 @@
|
|||
"devDependencies": {
|
||||
"remark": "^11.0.2",
|
||||
"remark-mdx": "^1.5.1",
|
||||
"to-vfile": "^5.0.2"
|
||||
"to-vfile": "^6.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"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",
|
||||
|
@ -21,7 +21,7 @@
|
|||
"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"
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue