Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion packages/docusaurus-plugin-content-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/docusaurus-plugin-content-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,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",
Expand Down
5 changes: 3 additions & 2 deletions packages/docusaurus-plugin-ideal-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-theme-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
5 changes: 3 additions & 2 deletions packages/docusaurus-theme-search-algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/docusaurus-types/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down