fix(v2): Add missing dependencies to packages (#3355)

This commit is contained in:
Sam Zhou 2020-08-28 09:04:44 -04:00 committed by GitHub
parent c8d6e418ff
commit 16ae3bf462
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 15 additions and 7 deletions

View file

@ -97,7 +97,7 @@ module.exports = {
// TODO re-enable some these as errors
// context: https://github.com/facebook/docusaurus/pull/2949
'@typescript-eslint/ban-types': WARNING,
'import/no-extraneous-dependencies': WARNING,
'import/no-extraneous-dependencies': ERROR,
'no-useless-escape': WARNING,
'prefer-template': WARNING,
'no-param-reassign': WARNING,

View file

@ -29,7 +29,8 @@
"loader-utils": "^1.2.3",
"lodash.kebabcase": "^4.1.1",
"reading-time": "^1.2.0",
"remark-admonitions": "^1.2.1"
"remark-admonitions": "^1.2.1",
"webpack": "^4.41.2"
},
"peerDependencies": {
"react": "^16.8.4",

View file

@ -26,7 +26,8 @@
"loader-utils": "^1.2.3",
"minimatch": "^3.0.4",
"remark-admonitions": "^1.2.1",
"slash": "^3.0.0"
"slash": "^3.0.0",
"webpack": "^4.41.2"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0",

View file

@ -12,15 +12,16 @@
},
"license": "MIT",
"devDependencies": {
"@docusaurus/types": "^2.0.0-alpha.61",
"fs-extra": "^9.0.0"
},
"dependencies": {
"@docusaurus/lqip-loader": "^2.0.0-alpha.61",
"@docusaurus/types": "^2.0.0-alpha.61",
"@endiliey/react-ideal-image": "^0.0.11",
"@endiliey/responsive-loader": "^1.3.2",
"react-waypoint": "^9.0.2",
"sharp": "^0.25.2"
"sharp": "^0.25.2",
"webpack": "^4.41.2"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0",

View file

@ -13,6 +13,7 @@
"@babel/preset-env": "^7.9.0",
"@hapi/joi": "^17.1.1",
"babel-loader": "^8.1.0",
"clsx": "^1.1.1",
"core-js": "^2.6.5",
"terser-webpack-plugin": "^2.3.5",
"webpack": "^4.41.2",

View file

@ -11,6 +11,7 @@
"@mdx-js/react": "^1.5.8",
"bootstrap": "^4.4.1",
"classnames": "^2.2.6",
"clsx": "^1.1.1",
"prism-react-renderer": "^1.1.0",
"reactstrap": "^8.4.1"
},

View file

@ -9,15 +9,16 @@
"license": "MIT",
"dependencies": {
"@docsearch/react": "^1.0.0-alpha.27",
"@docusaurus/utils": "^2.0.0-alpha.61",
"@hapi/joi": "^17.1.1",
"algoliasearch": "^4.0.0",
"algoliasearch-helper": "^3.1.1",
"clsx": "^1.1.1",
"eta": "^1.1.1"
"eta": "^1.1.1",
"lodash": "^4.17.19"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0",
"@docusaurus/utils": "2.0.0-alpha.60",
"react": "^16.8.4",
"react-dom": "^16.8.4"
},

View file

@ -5,6 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/
// ESLint doesn't understand types dependencies in d.ts
// eslint-disable-next-line import/no-extraneous-dependencies
import {Loader, Configuration} from 'webpack';
import {Command} from 'commander';
import {ParsedUrlQueryInput} from 'querystring';