chore(v2): update dependencies (#1985)

* chore(v2): update dependencies

* use forked ideal image deps. omgg
This commit is contained in:
Endi 2019-11-13 23:04:13 +07:00 committed by GitHub
parent 1c8c8d04e8
commit cf4037ef91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 105 additions and 83 deletions

View file

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

View file

@ -14,7 +14,7 @@
"docusaurus-init": "initialize.js"
},
"dependencies": {
"chalk": "^2.4.2",
"chalk": "^3.0.0",
"shelljs": "^0.8.3"
}
}

View file

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

View file

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

View file

@ -266,7 +266,7 @@ export default function pluginContentDocs(
});
},
configureWebpack(_, isServer, utils) {
configureWebpack(_config, isServer, utils) {
const {getBabelLoader, getCacheLoader} = utils;
const {rehypePlugins, remarkPlugins} = options;
return {

View file

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

View file

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

View file

@ -10,7 +10,7 @@
"license": "MIT",
"dependencies": {
"@types/webpack": "^4.32.0",
"commander": "^2.20.0",
"commander": "^4.0.1",
"querystring": "0.2.0"
}
}

View file

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

View file

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

View file

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

View file

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