Skip to content

Commit

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

* use forked ideal image deps. omgg
  • Loading branch information
endiliey committed Nov 13, 2019
1 parent 1c8c8d0 commit cf4037e
Show file tree
Hide file tree
Showing 14 changed files with 105 additions and 83 deletions.
9 changes: 4 additions & 5 deletions package.json
Expand Up @@ -27,18 +27,17 @@
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-optional-chaining": "^7.6.0",
"@babel/preset-typescript": "^7.7.2",
"@types/cross-spawn": "^6.0.1",
"@types/express": "^4.17.1",
"@types/fs-extra": "8.0.0",
"@types/inquirer": "^6.0.3",
"@types/fs-extra": "^8.0.1",
"@types/inquirer": "^6.5.0",
"@types/jest": "^24.0.22",
"@types/loader-utils": "^1.1.3",
"@types/lodash": "^4.14.145",
"@types/lodash.kebabcase": "^4.1.6",
"@types/node": "^12.0.2",
"@types/react": "^16.8.18",
"@types/react": "^16.9.11",
"@types/react-dev-utils": "^9.0.1",
"@types/semver": "^6.0.1",
"@types/semver": "^6.2.0",
"@types/shelljs": "^0.8.5",
"@types/webpack": "^4.32.0",
"@types/webpack-dev-server": "^3.1.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/docusaurus-1.x/package.json
Expand Up @@ -37,11 +37,11 @@
"@babel/types": "^7.7.2",
"autoprefixer": "^9.7.0",
"babylon": "^6.18.0",
"chalk": "^2.4.2",
"chalk": "^3.0.0",
"chokidar": "^3.3.0",
"classnames": "^2.2.6",
"color": "^2.0.1",
"commander": "^2.20.0",
"commander": "^4.0.1",
"cross-spawn": "^6.0.5",
"crowdin-cli": "^0.3.0",
"cssnano": "^4.1.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-init-1.x/package.json
Expand Up @@ -14,7 +14,7 @@
"docusaurus-init": "initialize.js"
},
"dependencies": {
"chalk": "^2.4.2",
"chalk": "^3.0.0",
"shelljs": "^0.8.3"
}
}
4 changes: 2 additions & 2 deletions packages/docusaurus-init/package.json
Expand Up @@ -20,8 +20,8 @@
},
"license": "MIT",
"dependencies": {
"chalk": "^2.4.2",
"commander": "^2.20.0",
"chalk": "^3.0.0",
"commander": "^4.0.1",
"fs-extra": "^8.1.0",
"inquirer": "^6.5.0",
"lodash.kebabcase": "^4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-docs/package.json
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"@docusaurus/mdx-loader": "^2.0.0-alpha.34",
"@docusaurus/utils": "^2.0.0-alpha.34",
"execa": "^3.2.0",
"execa": "^3.3.0",
"fs-extra": "^8.1.0",
"globby": "^10.0.1",
"import-fresh": "^3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-docs/src/index.ts
Expand Up @@ -266,7 +266,7 @@ export default function pluginContentDocs(
});
},

configureWebpack(_, isServer, utils) {
configureWebpack(_config, isServer, utils) {
const {getBabelLoader, getCacheLoader} = utils;
const {rehypePlugins, remarkPlugins} = options;
return {
Expand Down
4 changes: 2 additions & 2 deletions packages/docusaurus-plugin-ideal-image/package.json
Expand Up @@ -10,8 +10,8 @@
"dependencies": {
"@endiliey/lqip-loader": "^3.0.0",
"@endiliey/responsive-loader": "^1.3.1",
"react-ideal-image": "^0.0.5",
"react-waypoint": "8.1.0",
"@endiliey/react-ideal-image": "^0.0.8",
"react-waypoint": "^9.0.2",
"sharp": "^0.22.1"
},
"peerDependencies": {
Expand Down
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
import IdealImage from 'react-ideal-image';
import IdealImage from '@endiliey/react-ideal-image';

function Image(props) {
const {alt, className, img} = props;
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-types/package.json
Expand Up @@ -10,7 +10,7 @@
"license": "MIT",
"dependencies": {
"@types/webpack": "^4.32.0",
"commander": "^2.20.0",
"commander": "^4.0.1",
"querystring": "0.2.0"
}
}
8 changes: 4 additions & 4 deletions packages/docusaurus/package.json
Expand Up @@ -41,19 +41,19 @@
"babel-loader": "^8.0.6",
"babel-plugin-dynamic-import-node": "^2.3.0",
"cache-loader": "^4.1.0",
"chalk": "^2.4.2",
"chalk": "^3.0.0",
"chokidar": "^3.3.0",
"classnames": "^2.2.6",
"commander": "^2.20.0",
"commander": "^4.0.1",
"copy-webpack-plugin": "^5.0.5",
"core-js": "^2.6.5",
"css-loader": "^3.2.0",
"del": "^5.1.0",
"ejs": "^2.6.2",
"ejs": "^2.7.1",
"express": "^4.17.1",
"fs-extra": "^8.1.0",
"globby": "^10.0.1",
"html-webpack-plugin": "^4.0.0-beta.8",
"html-webpack-plugin": "^4.0.0-beta.11",
"import-fresh": "^3.1.0",
"lodash": "^4.17.15",
"mini-css-extract-plugin": "^0.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus/src/commands/build.ts
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

import chalk from 'chalk';
import chalk = require('chalk');
import CopyWebpackPlugin from 'copy-webpack-plugin';
import fs from 'fs-extra';
import path from 'path';
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus/src/commands/start.ts
Expand Up @@ -6,7 +6,7 @@
*/

import {normalizeUrl} from '@docusaurus/utils';
import chalk from 'chalk';
import chalk = require('chalk');
import chokidar from 'chokidar';
import express from 'express';
import HtmlWebpackPlugin from 'html-webpack-plugin';
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus/src/commands/swizzle.ts
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

import chalk from 'chalk';
import chalk = require('chalk');
import fs from 'fs-extra';
import importFresh from 'import-fresh';
import path from 'path';
Expand Down

0 comments on commit cf4037e

Please sign in to comment.