Comparing version 1.5.5 to 1.5.6
@@ -9,8 +9,8 @@ var semver = require('semver'); | ||
if (pkg.version === null || pkg.private) { | ||
var meta = 'meta.json'; | ||
if (!test('-e', meta)) { | ||
throw new Error("Null version or private flag detected and meta.json not found"); | ||
var manifest = 'manifest.json'; | ||
if (!test('-e', manifest)) { | ||
throw new Error("Null version or private flag detected and manifest.json not found"); | ||
} | ||
console.log("Null version or private flag detected, switching to meta.json"); | ||
this.filePath = meta; | ||
console.log("Null version or private flag detected, switching to manifest.json"); | ||
this.filePath = manifest; | ||
} | ||
@@ -17,0 +17,0 @@ |
@@ -65,4 +65,4 @@ require('shelljs/global'); | ||
var pkg = config.versionProvider.filePath === 'package.json'; | ||
var meta = config.versionProvider.filePath === 'meta.json'; | ||
var validFile = pkg || meta; | ||
var manifest = config.versionProvider.filePath === 'manifest.json'; | ||
var validFile = pkg || manifest; | ||
@@ -69,0 +69,0 @@ if (!validFile) return Q(); |
{ | ||
"name": "releasy", | ||
"version": "1.5.5", | ||
"version": "1.5.6", | ||
"description": "CLI tool to release node applications with tag and auto semver bump", | ||
@@ -8,3 +8,3 @@ "main": "libs/releasy.js", | ||
"scripts": { | ||
"test": "mocha --compilers coffee:coffee-script" | ||
"test": "node_modules/.bin/mocha --compilers coffee:coffee-script/register" | ||
}, | ||
@@ -28,14 +28,16 @@ "repository": { | ||
"dependencies": { | ||
"commander": "~2.1.0", | ||
"q": "~0.9.7", | ||
"prompt": "~0.2.12", | ||
"semver": "~2.2.1", | ||
"shelljs": "~0.2.6", | ||
"js-yaml": "~3.0.1" | ||
"commander": "~2.9.0", | ||
"q": "~1.4.1", | ||
"prompt": "~0.3.0", | ||
"semver": "~5.1.0", | ||
"shelljs": "~0.6.0", | ||
"js-yaml": "~3.5.4" | ||
}, | ||
"preferGlobal": true, | ||
"devDependencies": { | ||
"should": "~2.1.1", | ||
"sinon": "~1.7.3" | ||
"coffee-script": "~1.10.0", | ||
"mocha": "~2.4.5", | ||
"should": "~3.3.1", | ||
"sinon": "~1.17.3" | ||
} | ||
} |
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
36838
4
+ Addedargparse@1.0.10(transitive)
+ Addedcommander@2.9.0(transitive)
+ Addedesprima@2.7.3(transitive)
+ Addedgraceful-readlink@1.0.1(transitive)
+ Addedjs-yaml@3.5.5(transitive)
+ Addedprompt@0.3.0(transitive)
+ Addedq@1.4.1(transitive)
+ Addedsemver@5.1.1(transitive)
+ Addedshelljs@0.6.1(transitive)
+ Addedsprintf-js@1.0.3(transitive)
- Removedargparse@0.1.16(transitive)
- Removedcommander@2.1.0(transitive)
- Removedesprima@1.0.4(transitive)
- Removedjs-yaml@3.0.2(transitive)
- Removedprompt@0.2.14(transitive)
- Removedq@0.9.7(transitive)
- Removedsemver@2.2.1(transitive)
- Removedshelljs@0.2.6(transitive)
- Removedunderscore@1.7.0(transitive)
- Removedunderscore.string@2.4.0(transitive)
Updatedcommander@~2.9.0
Updatedjs-yaml@~3.5.4
Updatedprompt@~0.3.0
Updatedq@~1.4.1
Updatedsemver@~5.1.0
Updatedshelljs@~0.6.0