fix(v2): fix wrong dependency problem (#1460)

This commit is contained in:
Endi 2019-05-15 20:54:41 +07:00 committed by GitHub
parent 8055d59131
commit 4a30bf8947
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 11 additions and 17 deletions

View file

@ -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"

View file

@ -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';

View file

@ -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"
},

View file

@ -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",
@ -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"

View file

@ -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';

View file

@ -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"
},

View file

@ -11,6 +11,6 @@
"sitemap": "^2.1.0"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0"
"@docusaurus/core": "^2.0.0-alpha.14"
}
}

View file

@ -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"
}
}

View file

@ -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"
},

View file

@ -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"
},

View file

@ -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",

View file

@ -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';

View file

@ -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';

View file

@ -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';

View file

@ -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==