Skip to content

Commit ca1dc78

Browse files
committed
removed depercated wrench and replaces it with nodes fs
1 parent 3e109e8 commit ca1dc78

File tree

5 files changed

+4
-16
lines changed

5 files changed

+4
-16
lines changed

generators/app/templates/_package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@
9696
<% if (qrCode) { -%>
9797
"qrcode-terminal": "~0.10.0",
9898
<% } -%>
99-
"uglify-save-license": "~0.4.1",
100-
"wrench": "~1.5.8"
99+
"uglify-save-license": "~0.4.1"
101100
},
102101
"engines": {
103102
"node": ">=0.10.0"

generators/app/templates/gulpfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
'use strict';
88

9+
var fs = require('fs');
910
var gulp = require('gulp');
10-
var wrench = require('wrench');
1111

1212
/**
1313
* This will load all js or coffee files in the gulp directory
1414
* in order to load all gulp tasks
1515
*/
16-
wrench.readdirSyncRecursive('./gulp').filter(function(file) {
16+
fs.readdirSync('./gulp').filter(function(file) {
1717
return (/\.(js|coffee)$/i).test(file);
1818
}).map(function(file) {
1919
require('./gulp/' + file);

npm-shrinkwrap.json

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@
4848
"mz": "~2.0.0",
4949
"recursive-readdir": "~1.2.1",
5050
"sinon": "~1.17.1",
51-
"sinon-chai": "~2.8.0",
52-
"wrench": "1.5.8"
51+
"sinon-chai": "~2.8.0"
5352
},
5453
"engines": {
5554
"node": ">=0.10.0"

test/npm-shrinkwrap.json

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)