Skip to content

Commit

Permalink
chore(v2): update dependencies (facebook#1462)
Browse files Browse the repository at this point in the history
* chore(v2): update dependencies

* nits
  • Loading branch information
endiliey authored and shakcho committed May 17, 2019
1 parent 7f1995b commit 5457ba5
Show file tree
Hide file tree
Showing 12 changed files with 337 additions and 307 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lerna": "3.13.1",
"lerna": "3.14.1",
"version": "2.0.0-alpha.15",
"npmClient": "yarn",
"useWorkspaces": true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"glob-promise": "^3.3.0",
"husky": "^1.3.1",
"jest": "^24.6.0",
"lerna": "^3.13.1",
"lerna": "^3.14.1",
"lint-staged": "^7.2.0",
"prettier": "^1.13.7",
"react": "^16.8.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"lodash": "^4.17.11"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0-alpha.14",
"@docusaurus/core": "^2.0.0",
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"loader-utils": "^1.2.3"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0-alpha.14",
"@docusaurus/core": "^2.0.0",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react-router-config": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"globby": "^9.1.0"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0-alpha.14",
"@docusaurus/core": "^2.0.0",
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-sitemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"sitemap": "^2.1.0"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0-alpha.14"
"@docusaurus/core": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-preset-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"@docusaurus/theme-search-algolia": "^2.0.0-alpha.15"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0-alpha.14"
"@docusaurus/core": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"docsearch.js": "^2.5.2"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0-alpha.14",
"@docusaurus/core": "^2.0.0",
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-search-algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"docsearch.js": "^2.6.3"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0-alpha.14",
"@docusaurus/core": "^2.0.0",
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,24 @@
"globby": "^9.1.0",
"html-webpack-plugin": "^4.0.0-beta.5",
"import-fresh": "^3.0.0",
"is-wsl": "^1.1.0",
"lodash": "^4.17.11",
"mini-css-extract-plugin": "^0.4.1",
"nprogress": "^0.2.0",
"null-loader": "^1.0.0",
"null-loader": "^2.0.0",
"portfinder": "^1.0.13",
"react-dev-utils": "^8.0.0",
"react-helmet": "^6.0.0-beta",
"react-loadable": "^5.5.0",
"react-loadable-ssr-addon": "^0.1.8",
"react-router": "^5.0.0",
"react-router-config": "^5.0.0",
"react-router-dom": "^5.0.0",
"semver": "^6.0.0",
"shelljs": "^0.8.2",
"static-site-generator-webpack-plugin": "^3.4.2",
"style-loader": "^0.22.1",
"terser-webpack-plugin": "^1.2.3",
"wait-on": "^3.2.0",
"terser-webpack-plugin": "^1.2.4",
"wait-on": "endiliey/wait-on#master",
"webpack": "^4.30.0",
"webpack-bundle-analyzer": "^3.1.0",
"webpack-dev-server": "^3.2.1",
Expand Down
5 changes: 1 addition & 4 deletions packages/docusaurus/src/webpack/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const TerserPlugin = require('terser-webpack-plugin');
const path = require('path');
const fs = require('fs-extra');
const isWsl = require('is-wsl');
const {getBabelLoader, getCacheLoader, getStyleLoaders} = require('./utils');

const CSS_REGEX = /\.css$/;
Expand Down Expand Up @@ -58,9 +57,7 @@ module.exports = function createBaseConfig(props, isServer) {
minimizer: [
new TerserPlugin({
cache: true,
// Disabled on WSL (Windows Subsystem for Linux) due to an issue with Terser
// https://github.com/webpack-contrib/terser-webpack-plugin/issues/21
parallel: !isWsl,
parallel: true,
sourceMap: true,
terserOptions: {
ecma: 6,
Expand Down
Loading

0 comments on commit 5457ba5

Please sign in to comment.