Skip to content

Commit

Permalink
fix(v2): fix wrong dependency problem (facebook#1460)
Browse files Browse the repository at this point in the history
  • Loading branch information
endiliey authored and shakcho committed May 17, 2019
1 parent f08ebb9 commit 22bf239
Show file tree
Hide file tree
Showing 15 changed files with 11 additions and 17 deletions.
1 change: 0 additions & 1 deletion packages/docusaurus-mdx-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"unist-util-visit": "^1.4.0"
},
"devDependencies": {
"@babel/polyfill": "^7.4.3",
"remark": "^10.0.1",
"remark-mdx": "^1.0.14",
"to-vfile": "^5.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

import '@babel/polyfill';
import {join} from 'path';
import remark from 'remark';
import mdx from 'remark-mdx';
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",
"@docusaurus/core": "^2.0.0-alpha.14",
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/docusaurus-plugin-content-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
},
"license": "MIT",
"dependencies": {
"@babel/polyfill": "^7.4.0",
"@docusaurus/mdx-loader": "^2.0.0-alpha.14",
"@docusaurus/utils": "^2.0.0-alpha.14",
"fs-extra": "^7.0.1",
Expand All @@ -17,7 +16,7 @@
"loader-utils": "^1.2.3"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0",
"@docusaurus/core": "^2.0.0-alpha.14",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react-router-config": "^5.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

import '@babel/polyfill';
import path from 'path';
import processMetadata from '../metadata';

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",
"@docusaurus/core": "^2.0.0-alpha.14",
"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"
"@docusaurus/core": "^2.0.0-alpha.14"
}
}
6 changes: 4 additions & 2 deletions packages/docusaurus-preset-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
"@docusaurus/plugin-content-blog": "^2.0.0-alpha.14",
"@docusaurus/plugin-content-docs": "^2.0.0-alpha.14",
"@docusaurus/plugin-content-pages": "^2.0.0-alpha.14",
"@docusaurus/plugin-sitemap": "^2.0.0-alpha.14"
"@docusaurus/plugin-sitemap": "^2.0.0-alpha.14",
"@docusaurus/theme-classic": "^2.0.0-alpha.14",
"@docusaurus/theme-search-algolia": "^2.0.0-alpha.14"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0"
"@docusaurus/core": "^2.0.0-alpha.14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"docsearch.js": "^2.5.2"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0",
"@docusaurus/core": "^2.0.0-alpha.14",
"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",
"@docusaurus/core": "^2.0.0-alpha.14",
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
Expand Down
1 change: 0 additions & 1 deletion packages/docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"dependencies": {
"@babel/core": "^7.4.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/polyfill": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"@babel/preset-react": "^7.0.0",
"@docusaurus/utils": "^2.0.0-alpha.14",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

import '@babel/polyfill';
import path from 'path';

import loadPresets from '../presets';
Expand Down
1 change: 0 additions & 1 deletion packages/docusaurus/src/server/load/loadSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

import '@babel/polyfill';
import path from 'path';
import load from '../index';

Expand Down
1 change: 0 additions & 1 deletion packages/docusaurus/src/webpack/__tests__/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

import '@babel/polyfill';
import {validate} from 'webpack';
import path from 'path';

Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@
"@babel/helper-regex" "^7.4.4"
regexpu-core "^4.5.4"

"@babel/polyfill@^7.0.0", "@babel/polyfill@^7.4.0", "@babel/polyfill@^7.4.3":
"@babel/polyfill@^7.0.0":
version "7.4.4"
resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.4.4.tgz#78801cf3dbe657844eeabf31c1cae3828051e893"
integrity sha512-WlthFLfhQQhh+A2Gn5NSFl0Huxz36x86Jn+E9OW7ibK8edKPq+KLy4apM1yDpQ8kJOVi1OVjpP4vSDLdrI04dg==
Expand Down

0 comments on commit 22bf239

Please sign in to comment.