Skip to content

Commit

Permalink
Merge pull request #1091 from Piu130/refactor/removeWrench
Browse files Browse the repository at this point in the history
removed deprecated wrench and replaces it with nodes fs
  • Loading branch information
Swiip committed Apr 25, 2016
2 parents 4a266f8 + ca1dc78 commit 897de80
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 16 deletions.
3 changes: 1 addition & 2 deletions generators/app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@
<% if (qrCode) { -%>
"qrcode-terminal": "~0.10.0",
<% } -%>
"uglify-save-license": "~0.4.1",
"wrench": "~1.5.8"
"uglify-save-license": "~0.4.1"
},
"engines": {
"node": ">=0.10.0"
Expand Down
4 changes: 2 additions & 2 deletions generators/app/templates/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

'use strict';

var fs = require('fs');
var gulp = require('gulp');
var wrench = require('wrench');

/**
* This will load all js or coffee files in the gulp directory
* in order to load all gulp tasks
*/
wrench.readdirSyncRecursive('./gulp').filter(function(file) {
fs.readdirSync('./gulp').filter(function(file) {
return (/\.(js|coffee)$/i).test(file);
}).map(function(file) {
require('./gulp/' + file);
Expand Down
5 changes: 0 additions & 5 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@
"mz": "~2.0.0",
"recursive-readdir": "~1.2.1",
"sinon": "~1.17.1",
"sinon-chai": "~2.8.0",
"wrench": "1.5.8"
"sinon-chai": "~2.8.0"
},
"engines": {
"node": ">=0.10.0"
Expand Down
5 changes: 0 additions & 5 deletions test/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 897de80

Please sign in to comment.