Skip to content

Commit

Permalink
fix(generator): use yeoman clone
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg committed Feb 24, 2018
1 parent d62faea commit 0b4269c
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion lib/generators/add-generator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const Generator = require("yeoman-generator");
const Generator = require("webpack-fork-yeoman-generator");
const glob = require("glob-all");
const path = require("path");
const Confirm = require("webpack-addons").Confirm;
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/init-generator.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";

const Generator = require("yeoman-generator");
const Generator = require("webpack-fork-yeoman-generator");
const chalk = require("chalk");
const logSymbols = require("log-symbols");

Expand Down
2 changes: 1 addition & 1 deletion lib/generators/remove-generator.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const Generator = require("yeoman-generator");
const Generator = require("webpack-fork-yeoman-generator");

module.exports = class RemoveGenerator extends Generator {};
2 changes: 1 addition & 1 deletion lib/generators/update-generator.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const Generator = require("yeoman-generator");
const Generator = require("webpack-fork-yeoman-generator");

module.exports = class UpdateGenerator extends Generator {};
2 changes: 1 addition & 1 deletion lib/generators/webpack-generator.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var path = require("path");
var mkdirp = require("mkdirp");
var Generator = require("yeoman-generator");
var Generator = require("webpack-fork-yeoman-generator");
var copyUtils = require("../utils/copy-utils");

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/init/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";

const yeoman = require("yeoman-environment");
const Generator = require("yeoman-generator");
const Generator = require("webpack-fork-yeoman-generator");
const path = require("path");
const defaultGenerator = require("../generators/init-generator");
const runTransform = require("./transformations/index");
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@
"uglifyjs-webpack-plugin": "^1.2.2",
"v8-compile-cache": "^1.1.0",
"webpack-addons": "^1.1.5",
"webpack-fork-yeoman-generator": "^1.1.1",
"yargs": "9.0.1",
"yeoman-environment": "^2.0.0",
"yeoman-generator": "https://github.com/ev1stensberg/generator.git#Feature-getArgument"
"yeoman-environment": "^2.0.0"
},
"devDependencies": {
"@commitlint/cli": "^6.1.0",
Expand Down
60 changes: 30 additions & 30 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7802,6 +7802,36 @@ webpack-dev-server@^2.9.7:
webpack-dev-middleware "1.12.2"
yargs "6.6.0"

webpack-fork-yeoman-generator@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/webpack-fork-yeoman-generator/-/webpack-fork-yeoman-generator-1.1.1.tgz#c92b454aba7df9ea392669188aa0330964acf76f"
dependencies:
async "^2.0.0"
chalk "^1.0.0"
cli-table "^0.3.1"
cross-spawn "^5.0.1"
dargs "^5.1.0"
dateformat "^2.0.0"
debug "^2.1.0"
detect-conflict "^1.0.0"
error "^7.0.2"
find-up "^2.1.0"
github-username "^4.0.0"
istextorbinary "^2.1.0"
lodash "^4.11.1"
mem-fs-editor "^3.0.0"
minimist "^1.2.0"
mkdirp "^0.5.0"
pretty-bytes "^4.0.2"
read-chunk "^2.0.0"
read-pkg-up "^2.0.0"
rimraf "^2.2.0"
run-async "^2.0.0"
shelljs "^0.7.0"
text-table "^0.2.0"
through2 "^2.0.0"
yeoman-environment "^1.1.0"

webpack-sources@^1.0.1, webpack-sources@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.1.0.tgz#a101ebae59d6507354d71d8013950a3a8b7a5a54"
Expand Down Expand Up @@ -8096,33 +8126,3 @@ yeoman-environment@^2.0.0:
mem-fs "^1.1.0"
text-table "^0.2.0"
untildify "^3.0.2"

"yeoman-generator@https://github.com/ev1stensberg/generator.git#Feature-getArgument":
version "1.1.1"
resolved "https://github.com/ev1stensberg/generator.git#9e24fa31c85302ca1145ae34fc68b4f133251ca0"
dependencies:
async "^2.0.0"
chalk "^1.0.0"
cli-table "^0.3.1"
cross-spawn "^5.0.1"
dargs "^5.1.0"
dateformat "^2.0.0"
debug "^2.1.0"
detect-conflict "^1.0.0"
error "^7.0.2"
find-up "^2.1.0"
github-username "^4.0.0"
istextorbinary "^2.1.0"
lodash "^4.11.1"
mem-fs-editor "^3.0.0"
minimist "^1.2.0"
mkdirp "^0.5.0"
pretty-bytes "^4.0.2"
read-chunk "^2.0.0"
read-pkg-up "^2.0.0"
rimraf "^2.2.0"
run-async "^2.0.0"
shelljs "^0.7.0"
text-table "^0.2.0"
through2 "^2.0.0"
yeoman-environment "^1.1.0"

0 comments on commit 0b4269c

Please sign in to comment.