Comparing version 0.5.0 to 0.6.0
@@ -11,3 +11,2 @@ var cp = require('child_process'); | ||
/** | ||
@@ -14,0 +13,0 @@ * @constructor |
@@ -9,3 +9,2 @@ var path = require('path'); | ||
var pkg = require('../package.json'); | ||
var git = require('./git'); | ||
@@ -52,2 +51,5 @@ | ||
* Push a git branch to a remote (pushes gh-pages by default). | ||
* @param {string} basePath The base path. | ||
* @param {Object} config Publish options. | ||
* @param {Function} done Callback. | ||
*/ | ||
@@ -184,10 +186,10 @@ exports.publish = function publish(basePath, config, done) { | ||
.then(function() { | ||
return deferred.resolve(); | ||
}) | ||
return deferred.resolve(); | ||
}) | ||
.fail(function(error) { | ||
// tagging failed probably because this tag alredy exists | ||
log('Tagging failed, continuing'); | ||
options.logger(error); | ||
return deferred.resolve(); | ||
}); | ||
// tagging failed probably because this tag alredy exists | ||
log('Tagging failed, continuing'); | ||
options.logger(error); | ||
return deferred.resolve(); | ||
}); | ||
return deferred.promise; | ||
@@ -194,0 +196,0 @@ } else { |
@@ -134,3 +134,3 @@ var path = require('path'); | ||
*/ | ||
var copy = exports.copy = function(files, base, dest) { | ||
exports.copy = function(files, base, dest) { | ||
var deferred = Q.defer(); | ||
@@ -137,0 +137,0 @@ |
{ | ||
"name": "gh-pages", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Publish to a gh-pages branch on GitHub (or any other branch on any other remote)", | ||
@@ -25,22 +25,27 @@ "keywords": [ | ||
"scripts": { | ||
"test": "node tasks.js lint test" | ||
"pretest": "eslint lib test", | ||
"test": "mocha --recursive test" | ||
}, | ||
"dependencies": { | ||
"async": "0.2.9", | ||
"commander": "~2.8.1", | ||
"async": "1.5.0", | ||
"commander": "2.9.0", | ||
"glob": "~4.0.2", | ||
"graceful-fs": "2.0.1", | ||
"graceful-fs": "4.1.2", | ||
"lodash": "~2.4.1", | ||
"q": "~1.0.1", | ||
"q-io": "~1.11.0", | ||
"wrench": "1.5.1" | ||
"q": "1.4.1", | ||
"q-io": "1.13.2", | ||
"wrench": "1.5.8" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~1.18.2", | ||
"jshint": "~2.4.4", | ||
"chai": "~1.9.1" | ||
"chai": "^3.4.1", | ||
"eslint": "^1.10.3", | ||
"eslint-config-tschaub": "^2.0.0", | ||
"mocha": "^2.3.4" | ||
}, | ||
"bin": { | ||
"gh-pages": "bin/gh-pages" | ||
}, | ||
"eslintConfig": { | ||
"extends": "tschaub" | ||
} | ||
} |
@@ -0,1 +1,2 @@ | ||
/* eslint-env mocha */ | ||
var path = require('path'); | ||
@@ -2,0 +3,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32717
4
12
645
+ Addedasync@1.5.0(transitive)
+ Addedcommander@2.9.0(transitive)
+ Addedgraceful-fs@4.1.2(transitive)
+ Addedq@1.4.1(transitive)
+ Addedq-io@1.13.2(transitive)
+ Addedwrench@1.5.8(transitive)
- Removedasync@0.2.9(transitive)
- Removedcommander@2.8.1(transitive)
- Removedgraceful-fs@2.0.1(transitive)
- Removedq@1.0.1(transitive)
- Removedq-io@1.11.6(transitive)
- Removedwrench@1.5.1(transitive)
Updatedasync@1.5.0
Updatedcommander@2.9.0
Updatedgraceful-fs@4.1.2
Updatedq@1.4.1
Updatedq-io@1.13.2
Updatedwrench@1.5.8