Skip to content

Commit

Permalink
chore(deps): update (#1999)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi committed Oct 29, 2020
1 parent 53f7d4a commit afe9087
Show file tree
Hide file tree
Showing 9 changed files with 256 additions and 353 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -60,7 +60,7 @@
"@commitlint/config-lerna-scopes": "^11.0.0",
"@types/cross-spawn": "^6.0.2",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.5",
"@types/node": "^14.14.6",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"colorette": "^1.2.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/generators/__tests__/addon-generator.test.ts
Expand Up @@ -4,7 +4,6 @@ jest.setMock('@webpack-cli/utils', {

import fs from 'fs';
import path from 'path';
import mkdirp from 'mkdirp';
import rimraf from 'rimraf';
import { getPackageManager } from 'webpack-cli/lib/utils/get-package-manager';
import addonGenerator from '../src/addon-generator';
Expand All @@ -22,7 +21,7 @@ describe.skip('addon generator', () => {

beforeAll(() => {
rimraf.sync(testAssetsPath);
mkdirp.sync(genPath);
fs.mkdirSync(genPath, { recursive: true });
// set the working directory to here so that the addon directory is
// generated in ./test-assets/test-addon
process.chdir(genPath);
Expand Down
6 changes: 2 additions & 4 deletions packages/generators/package.json
Expand Up @@ -18,18 +18,16 @@
"@webpack-cli/webpack-scaffold": "^1.0.2",
"colorette": "^1.2.1",
"log-symbols": "^4.0.0",
"mkdirp": "^1.0.4",
"yeoman-generator": "^4.12.0"
},
"peerDependencies": {
"webpack": "4.x.x || 5.x.x",
"webpack-cli": "4.x.x"
},
"devDependencies": {
"@types/mkdirp": "^1.0.0",
"@types/yeoman-assert": "^3.1.1",
"@types/yeoman-generator": "^4.11.2",
"@types/yeoman-test": "^2.0.3",
"@types/yeoman-generator": "^4.11.3",
"@types/yeoman-test": "^2.0.5",
"rimraf": "^3.0.2",
"yeoman-assert": "^3.1.1",
"yeoman-test": "^2.3.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/generators/src/addon-generator.ts
@@ -1,5 +1,5 @@
import logger from 'webpack-cli/lib/utils/logger';
import mkdirp from 'mkdirp';
import fs from 'fs';
import path from 'path';
import Generator from 'yeoman-generator';
import { generatorCopy, generatorCopyTpl } from '@webpack-cli/utils';
Expand Down Expand Up @@ -53,7 +53,7 @@ const addonGenerator = (
`);
const pathToProjectDir: string = this.destinationPath(this.props.name);
try {
mkdirp.sync(pathToProjectDir);
fs.mkdirSync(pathToProjectDir, { recursive: true });
} catch (error) {
logger.error('Failed to create directory');
logger.error(error);
Expand Down
6 changes: 3 additions & 3 deletions packages/migrate/package.json
Expand Up @@ -15,8 +15,8 @@
"@webpack-cli/utils": "^1.0.2",
"colorette": "^1.2.1",
"diff": "^4.0.2",
"inquirer": "^7.1.0",
"jscodeshift": "^0.7.0",
"inquirer": "^7.3.3",
"jscodeshift": "^0.11.0",
"listr": "^0.14.3",
"p-each-series": "^2.1.0",
"p-lazy": "^3.0.0"
Expand All @@ -27,7 +27,7 @@
},
"devDependencies": {
"@types/diff": "^4.0.2",
"@types/inquirer": "^6.5.0",
"@types/inquirer": "^7.3.1",
"@types/listr": "^0.14.2"
},
"gitHead": "fb50f766851f500ca12867a2aa9de81fa6e368f9"
Expand Down
16 changes: 8 additions & 8 deletions packages/utils/package.json
Expand Up @@ -14,24 +14,24 @@
"dependencies": {
"colorette": "^1.2.1",
"cross-spawn": "^7.0.3",
"execa": "^4.0.0",
"execa": "^4.1.0",
"findup-sync": "^4.0.0",
"global-modules": "^2.0.0",
"got": "^10.7.0",
"jscodeshift": "^0.7.0",
"got": "^11.8.0",
"jscodeshift": "^0.11.0",
"p-each-series": "^2.1.0",
"yeoman-environment": "^2.8.1",
"yeoman-generator": "^4.7.2"
"yeoman-environment": "^2.10.3",
"yeoman-generator": "^4.12.0"
},
"peerDependencies": {
"webpack": "4.x.x || 5.x.x",
"webpack-cli": "4.x.x"
},
"devDependencies": {
"@types/cross-spawn": "^6.0.2",
"@types/got": "9.6.9",
"@types/prettier": "1.19.0",
"@types/yeoman-generator": "^4.11.2"
"@types/got": "^9.6.11",
"@types/prettier": "^2.1.5",
"@types/yeoman-generator": "^4.11.3"
},
"peerDependenciesMeta": {
"prettier": {
Expand Down
10 changes: 5 additions & 5 deletions packages/webpack-cli/package.json
Expand Up @@ -32,13 +32,13 @@
"ansi-escapes": "^4.3.1",
"colorette": "^1.2.1",
"command-line-usage": "^6.1.0",
"commander": "^6.0.0",
"enquirer": "^2.3.4",
"execa": "^4.0.0",
"commander": "^6.2.0",
"enquirer": "^2.3.6",
"execa": "^4.1.0",
"import-local": "^3.0.2",
"interpret": "^2.0.0",
"interpret": "^2.2.0",
"rechoir": "^0.7.0",
"v8-compile-cache": "^2.1.0",
"v8-compile-cache": "^2.2.0",
"webpack-merge": "^4.2.2"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/webpack-scaffold/package.json
Expand Up @@ -12,11 +12,11 @@
"lib"
],
"dependencies": {
"jscodeshift": "^0.7.0",
"yeoman-generator": "^4.7.2"
"jscodeshift": "^0.11.0",
"yeoman-generator": "^4.12.0"
},
"devDependencies": {
"@types/yeoman-generator": "^4.11.2"
"@types/yeoman-generator": "^4.11.3"
},
"gitHead": "fb50f766851f500ca12867a2aa9de81fa6e368f9"
}

0 comments on commit afe9087

Please sign in to comment.