Comparing version 2.0.2 to 2.1.0
## Change Log | ||
### v2.1.0 (2017/05/29 12:57 +00:00) | ||
- [#40](https://github.com/davglass/cpr/pull/40) Merge pull request #40 from oferh/cpr-typings (@oferh) | ||
- [55dc201](https://github.com/davglass/cpr/commit/55dc2013cd00ae9ee5d97ae34d6a2f60382a306d) typings for cpr (@oferh) | ||
- [#37](https://github.com/davglass/cpr/pull/37) Merge pull request #37 from davglass/tests (@davglass) | ||
- [b4f8c00](https://github.com/davglass/cpr/commit/b4f8c003f2bd7f92e69e40c766846966ac34c484) fixing travis build (@davglass) | ||
- [0f2c8b5](https://github.com/davglass/cpr/commit/0f2c8b51a33610d53f7f9604e55bea8fe6360966) changelog (@davglass) | ||
### v2.0.2 (2016/12/21 18:14 +00:00) | ||
@@ -131,2 +138,2 @@ - [3fa3af0](https://github.com/davglass/cpr/commit/3fa3af02572fe5a42fdf35ed879e3040fd209409) 2.0.2 (@davglass) | ||
- [4e186f7](https://github.com/davglass/cpr/commit/4e186f70162f2c1abf9c2c7cf4f3bf2ed7a3e4f6) Added test dirs to ignore (@davglass) | ||
- [6c709f1](https://github.com/davglass/cpr/commit/6c709f1fbf0fb62c1ab317c0feab21d00b8f7098) Initial Commit (@davglass) | ||
- [6c709f1](https://github.com/davglass/cpr/commit/6c709f1fbf0fb62c1ab317c0feab21d00b8f7098) Initial Commit (@davglass) |
@@ -252,2 +252,5 @@ /* | ||
/*istanbul ignore next - in case a callback isn't provided*/ | ||
callback = callback || function () {}; | ||
Object.keys(opts).forEach(function(key) { | ||
@@ -254,0 +257,0 @@ options[key] = opts[key]; |
@@ -5,3 +5,3 @@ { | ||
"author": "Dav Glass <davglass@gmail.com>", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"dependencies": { | ||
@@ -14,8 +14,9 @@ "graceful-fs": "^4.1.5", | ||
"main": "./lib/index.js", | ||
"typings": "./cpr.d.ts", | ||
"bin": "./bin/cpr", | ||
"devDependencies": { | ||
"github-changes": "^1.0.4", | ||
"istanbul": "~0.4.4", | ||
"jenkins-mocha": "^3.0.0", | ||
"jenkins-mocha": "^4.0.0", | ||
"jshint": "^2.9.2", | ||
"nyc": "^10.0.0", | ||
"yui-lint": "~0.2.0" | ||
@@ -45,5 +46,16 @@ }, | ||
"test": "jenkins-mocha ./tests/full.js", | ||
"posttest": "istanbul check-coverage", | ||
"posttest": "nyc report", | ||
"changes": "github-changes -o davglass -r cpr" | ||
}, | ||
"nyc": { | ||
"lines": 100, | ||
"statements": 100, | ||
"functions": 100, | ||
"branches": 90, | ||
"check-coverage": true, | ||
"reporter": [ | ||
"text", | ||
"text-summary" | ||
] | ||
}, | ||
"bugs": { | ||
@@ -50,0 +62,0 @@ "url": "http://github.com/davglass/cpr/issues" |
@@ -186,3 +186,3 @@ var assert = require('assert'), | ||
describe('should copy minimatch from bad filter', function() { | ||
describe('should copy shelljs from bad filter', function() { | ||
var out = path.join(to, '4'), | ||
@@ -214,13 +214,13 @@ data; | ||
}); | ||
it('from directory has minimatch dir', function() { | ||
var fromHasGFS = data.dirs.from.some(function(item) { | ||
return (item === 'minimatch'); | ||
it('from directory has shelljs dir', function() { | ||
var fromHas = data.dirs.from.some(function(item) { | ||
return (item === 'shelljs'); | ||
}); | ||
assert.equal(true, fromHasGFS); | ||
assert.equal(true, fromHas); | ||
}); | ||
it('to directory does have minimatch dir', function() { | ||
var toHasGFS = data.dirs.to.some(function(item) { | ||
return (item === 'minimatch'); | ||
it('to directory does have shelljs dir', function() { | ||
var toHas = data.dirs.to.some(function(item) { | ||
return (item === 'shelljs'); | ||
}); | ||
assert.equal(true, toHasGFS); | ||
assert.equal(true, toHas); | ||
}); | ||
@@ -227,0 +227,0 @@ |
Sorry, the diff of this file is not supported yet
62227
713