yeoman-generator 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,6 +46,7 @@ install.runInstall = function (installer, paths, options, spawnOptions) {
46
46
 
47
47
  // Return early if we're skipping installation
48
48
  if (this.options.skipInstall) {
49
+ this.log('Skipping install command: ' + chalk.yellow(installer + ' ' + args.join(' ')));
49
50
  return resolve();
50
51
  }
51
52
 
@@ -53,9 +54,10 @@ install.runInstall = function (installer, paths, options, spawnOptions) {
53
54
  this.emit(`${installer}Install`, paths);
54
55
  this.spawnCommand(installer, args, spawnOptions)
55
56
  .on('error', err => {
56
- console.log(chalk.red('Could not finish installation. \n') +
57
+ this.log(chalk.red('Could not finish installation. \n') +
57
58
  'Please install ' + installer + ' with ' +
58
- chalk.yellow('npm install -g ' + installer) + ' and try again.'
59
+ chalk.yellow('npm install -g ' + installer) + ' and try again. \n' +
60
+ 'If ' + installer + ' is already installed, try running the following command manually: ' + chalk.yellow(installer + ' ' + args.join(' '))
59
61
  );
60
62
  reject(err);
61
63
  done();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yeoman-generator",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Rails-inspired generator system that provides scaffolding for your apps",
5
5
  "license": "BSD-2-Clause",
6
6
  "repository": "yeoman/generator",
@@ -14,7 +14,6 @@
14
14
  "pretest": "xo",
15
15
  "test": "nyc mocha",
16
16
  "doc": "jsdoc -c jsdoc.json",
17
- "prepublish": "nsp check",
18
17
  "coverage": "nyc report --reporter=text-lcov | coveralls"
19
18
  },
20
19
  "files": [
@@ -37,18 +36,18 @@
37
36
  "async": "^2.6.0",
38
37
  "chalk": "^2.3.0",
39
38
  "cli-table": "^0.3.1",
40
- "cross-spawn": "^5.1.0",
39
+ "cross-spawn": "^6.0.5",
41
40
  "dargs": "^5.1.0",
42
- "dateformat": "^3.0.2",
41
+ "dateformat": "^3.0.3",
43
42
  "debug": "^3.1.0",
44
43
  "detect-conflict": "^1.0.0",
45
44
  "error": "^7.0.2",
46
45
  "find-up": "^2.1.0",
47
46
  "github-username": "^4.0.0",
48
- "istextorbinary": "^2.1.0",
49
- "lodash": "^4.17.4",
47
+ "istextorbinary": "^2.2.1",
48
+ "lodash": "^4.17.10",
50
49
  "make-dir": "^1.1.0",
51
- "mem-fs-editor": "^3.0.2",
50
+ "mem-fs-editor": "^4.0.0",
52
51
  "minimist": "^1.2.0",
53
52
  "pretty-bytes": "^4.0.2",
54
53
  "read-chunk": "^2.1.0",
@@ -62,18 +61,18 @@
62
61
  },
63
62
  "devDependencies": {
64
63
  "coveralls": "^3.0.0",
65
- "inquirer": "^4.0.1",
64
+ "inquirer": "^5.2.0",
66
65
  "jsdoc": "^3.5.5",
67
- "mocha": "^4.0.1",
66
+ "mocha": "^5.1.1",
68
67
  "mockery": "^2.1.0",
69
68
  "nock": "^9.1.6",
70
- "nsp": "^3.1.0",
69
+ "nsp": "^3.2.1",
71
70
  "nyc": "^11.4.1",
72
- "proxyquire": "^1.8.0",
73
- "sinon": "^4.0.0",
71
+ "proxyquire": "^2.0.1",
72
+ "sinon": "^4.5.0",
74
73
  "tui-jsdoc-template": "^1.2.2",
75
- "xo": "^0.18.1",
76
- "yeoman-assert": "^3.1.0",
74
+ "xo": "^0.20.3",
75
+ "yeoman-assert": "^3.1.1",
77
76
  "yeoman-test": "^1.7.0"
78
77
  },
79
78
  "xo": {