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

* chore(v2): deps bump

* remove unused deps
This commit is contained in:
Endi 2019-11-22 17:55:22 +07:00 committed by GitHub
parent 9829f56b1e
commit 2d15fadf16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 387 additions and 452 deletions

View file

@ -34,11 +34,11 @@
"@types/loader-utils": "^1.1.3", "@types/loader-utils": "^1.1.3",
"@types/lodash": "^4.14.145", "@types/lodash": "^4.14.145",
"@types/lodash.kebabcase": "^4.1.6", "@types/lodash.kebabcase": "^4.1.6",
"@types/node": "^12.0.2", "@types/node": "^12.12.11",
"@types/react": "^16.9.11", "@types/react": "^16.9.11",
"@types/react-dev-utils": "^9.0.1", "@types/react-dev-utils": "^9.0.1",
"@types/semver": "^6.2.0", "@types/semver": "^6.2.0",
"@types/shelljs": "^0.8.5", "@types/shelljs": "^0.8.6",
"@types/webpack": "^4.32.0", "@types/webpack": "^4.32.0",
"@types/webpack-dev-server": "^3.1.5", "@types/webpack-dev-server": "^3.1.5",
"@types/webpack-merge": "^4.1.5", "@types/webpack-merge": "^4.1.5",
@ -47,34 +47,32 @@
"enzyme-adapter-react-16": "^1.15.1", "enzyme-adapter-react-16": "^1.15.1",
"eslint": "^6.6.0", "eslint": "^6.6.0",
"eslint-config-airbnb": "^18.0.1", "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-header": "^3.0.0",
"eslint-plugin-import": "^2.18.2", "eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.16.0", "eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.2.0", "eslint-plugin-react-hooks": "^2.3.0",
"husky": "^3.0.9", "husky": "^3.1.0",
"jest": "^24.9.0", "jest": "^24.9.0",
"lerna": "^3.18.1", "lerna": "^3.19.0",
"lerna-changelog": "^0.8.3", "lerna-changelog": "^0.8.3",
"lint-staged": "^7.2.0", "lint-staged": "^9.4.3",
"prettier": "^1.19.0", "prettier": "^1.19.1",
"react": "^16.8.4", "react": "^16.8.4",
"react-dom": "^16.8.4", "react-dom": "^16.8.4",
"typescript": "^3.7.2" "typescript": "^3.7.2"
}, },
"lint-staged": { "lint-staged": {
"linters": { "*.{js,jsx}": [
"*.{js,jsx}": [ "yarn lint --fix",
"yarn lint --fix", "yarn prettier",
"yarn prettier", "git add"
"git add" ],
], "*.{ts,tsx}": [
"*.{ts,tsx}": [ "yarn prettier",
"yarn prettier", "git add"
"git add" ]
]
}
}, },
"husky": { "husky": {
"hooks": { "hooks": {

View file

@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
const Feed = require('feed'); const {Feed} = require('feed');
const truncateHtml = require('truncate-html'); const truncateHtml = require('truncate-html');
const BLOG_POST_SUMMARY_LENGTH = 250; const BLOG_POST_SUMMARY_LENGTH = 250;

View file

@ -29,29 +29,27 @@
"@babel/core": "^7.7.2", "@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.7.0", "@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2", "@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-env": "^7.7.1",
"@babel/preset-react": "^7.7.0", "@babel/preset-react": "^7.7.0",
"@babel/register": "^7.7.0", "@babel/register": "^7.7.0",
"@babel/traverse": "^7.7.2", "@babel/traverse": "^7.7.2",
"@babel/types": "^7.7.2", "@babel/types": "^7.7.2",
"autoprefixer": "^9.7.0", "autoprefixer": "^9.7.2",
"babylon": "^6.18.0", "babylon": "^6.18.0",
"chalk": "^3.0.0", "chalk": "^3.0.0",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"color": "^2.0.1",
"commander": "^4.0.1", "commander": "^4.0.1",
"cross-spawn": "^6.0.5",
"crowdin-cli": "^0.3.0", "crowdin-cli": "^0.3.0",
"cssnano": "^4.1.10", "cssnano": "^4.1.10",
"escape-string-regexp": "^2.0.0", "escape-string-regexp": "^2.0.0",
"express": "^4.17.1", "express": "^4.17.1",
"feed": "^1.1.0", "feed": "^4.0.0",
"fs-extra": "^8.1.0", "fs-extra": "^8.1.0",
"gaze": "^1.1.3", "gaze": "^1.1.3",
"github-slugger": "^1.2.1", "github-slugger": "^1.2.1",
"glob": "^7.1.5", "glob": "^7.1.6",
"highlight.js": "^9.16.1", "highlight.js": "^9.16.2",
"imagemin": "^6.0.0", "imagemin": "^6.0.0",
"imagemin-gifsicle": "^6.0.1", "imagemin-gifsicle": "^6.0.1",
"imagemin-jpegtran": "^6.0.0", "imagemin-jpegtran": "^6.0.0",
@ -61,7 +59,7 @@
"markdown-toc": "^1.2.0", "markdown-toc": "^1.2.0",
"mkdirp": "^0.5.1", "mkdirp": "^0.5.1",
"portfinder": "^1.0.25", "portfinder": "^1.0.25",
"postcss": "^7.0.21", "postcss": "^7.0.23",
"prismjs": "^1.17.1", "prismjs": "^1.17.1",
"react": "^16.8.4", "react": "^16.8.4",
"react-dev-utils": "^9.1.0", "react-dev-utils": "^9.1.0",
@ -77,7 +75,7 @@
}, },
"devDependencies": { "devDependencies": {
"filepath": "^1.1.0", "filepath": "^1.1.0",
"front-matter": "^2.3.0", "front-matter": "^3.0.2",
"glob-promise": "^3.3.0", "glob-promise": "^3.3.0",
"rimraf": "^3.0.0" "rimraf": "^3.0.0"
} }

View file

@ -23,7 +23,7 @@
"chalk": "^3.0.0", "chalk": "^3.0.0",
"commander": "^4.0.1", "commander": "^4.0.1",
"fs-extra": "^8.1.0", "fs-extra": "^8.1.0",
"inquirer": "^6.5.0", "inquirer": "^7.0.0",
"lodash.kebabcase": "^4.1.1", "lodash.kebabcase": "^4.1.1",
"semver": "^6.3.0", "semver": "^6.3.0",
"shelljs": "^0.8.3" "shelljs": "^0.8.3"

View file

@ -8,14 +8,14 @@
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/parser": "^7.7.2", "@babel/parser": "^7.7.3",
"@babel/traverse": "^7.7.2", "@babel/traverse": "^7.7.2",
"@mdx-js/mdx": "^1.5.1", "@mdx-js/mdx": "^1.5.1",
"@mdx-js/react": "^1.5.1", "@mdx-js/react": "^1.5.1",
"github-slugger": "^1.2.1", "github-slugger": "^1.2.1",
"gray-matter": "^4.0.2", "gray-matter": "^4.0.2",
"loader-utils": "^1.2.3", "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-emoji": "^2.0.2",
"remark-slug": "^5.1.2", "remark-slug": "^5.1.2",
"stringify-object": "^3.3.0", "stringify-object": "^3.3.0",
@ -24,6 +24,6 @@
"devDependencies": { "devDependencies": {
"remark": "^11.0.2", "remark": "^11.0.2",
"remark-mdx": "^1.5.1", "remark-mdx": "^1.5.1",
"to-vfile": "^5.0.2" "to-vfile": "^6.0.0"
} }
} }

View file

@ -13,7 +13,7 @@
"devDependencies": { "devDependencies": {
"@docusaurus/types": "^2.0.0-alpha.36", "@docusaurus/types": "^2.0.0-alpha.36",
"commander": "^4.0.1", "commander": "^4.0.1",
"picomatch": "^2.1.0" "picomatch": "^2.1.1"
}, },
"dependencies": { "dependencies": {
"@docusaurus/mdx-loader": "^2.0.0-alpha.36", "@docusaurus/mdx-loader": "^2.0.0-alpha.36",
@ -21,7 +21,7 @@
"execa": "^3.3.0", "execa": "^3.3.0",
"fs-extra": "^8.1.0", "fs-extra": "^8.1.0",
"globby": "^10.0.1", "globby": "^10.0.1",
"import-fresh": "^3.1.0", "import-fresh": "^3.2.1",
"loader-utils": "^1.2.3", "loader-utils": "^1.2.3",
"lodash": "^4.17.15", "lodash": "^4.17.15",
"shelljs": "^0.8.3" "shelljs": "^0.8.3"

View file

@ -49,12 +49,12 @@
"core-js": "^2.6.5", "core-js": "^2.6.5",
"css-loader": "^3.2.0", "css-loader": "^3.2.0",
"del": "^5.1.0", "del": "^5.1.0",
"ejs": "^2.7.1", "ejs": "^2.7.4",
"express": "^4.17.1", "express": "^4.17.1",
"fs-extra": "^8.1.0", "fs-extra": "^8.1.0",
"globby": "^10.0.1", "globby": "^10.0.1",
"html-webpack-plugin": "^4.0.0-beta.11", "html-webpack-plugin": "^4.0.0-beta.11",
"import-fresh": "^3.1.0", "import-fresh": "^3.2.1",
"lodash": "^4.17.15", "lodash": "^4.17.15",
"mini-css-extract-plugin": "^0.8.0", "mini-css-extract-plugin": "^0.8.0",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",

769
yarn.lock

File diff suppressed because it is too large Load diff