Skip to content

Commit

Permalink
fix: yeoman-generator fork issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvdutt committed Feb 27, 2018
1 parent ef7df35 commit f2a7d6b
Show file tree
Hide file tree
Showing 8 changed files with 697 additions and 585 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("webpack-fork-yeoman-generator");
const Generator = require("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("webpack-fork-yeoman-generator");
const Generator = require("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("webpack-fork-yeoman-generator");
const Generator = require("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("webpack-fork-yeoman-generator");
const Generator = require("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("webpack-fork-yeoman-generator");
var Generator = require("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("webpack-fork-yeoman-generator");
const Generator = require("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-environment": "^2.0.0",
"yeoman-generator": "github:ev1stensberg/generator#Feature-getArgument"
},
"devDependencies": {
"@commitlint/cli": "^6.1.0",
Expand Down
Loading

0 comments on commit f2a7d6b

Please sign in to comment.