gulp-rb-validate-bower
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -63,2 +63,3 @@ /* jslint node: true */ | ||
function checkVersion(module, version) { | ||
var match = version.match(/(.+#)?.?\d+(\.(\d+|x))*/g); | ||
@@ -89,4 +90,3 @@ | ||
validationError('UI framework - Missing dependency', 'angular / jQuery', 'CI-FE-1009', true); | ||
} | ||
else if (dependencies.hasOwnProperty('angular') && dependencies.hasOwnProperty('jquery')) { | ||
} else if (dependencies.hasOwnProperty('angular') && dependencies.hasOwnProperty('jquery')) { | ||
validationError('Only use one UI framework', 'Angular OR jQuery', 'CI-FE-1009', true); | ||
@@ -151,3 +151,3 @@ } | ||
if (!str) { | ||
validationError('', 'File is empty or null', 'WARNING', false); | ||
validationError('', 'File is empty or null', 'CI-FE-WARNING', false); | ||
} else { | ||
@@ -154,0 +154,0 @@ |
{ | ||
"name": "gulp-rb-validate-bower", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Gulp plugin to check bower.json according to Web Frontend Guidelines", | ||
@@ -14,3 +14,12 @@ "main": "index.js", | ||
], | ||
"author": "Diana Salsa", | ||
"contributors": [ | ||
{ | ||
"name": "Diana Salsa", | ||
"email": "fixed-term.Diana.Salsa@de.bosch.com" | ||
}, | ||
{ | ||
"name": "Luis Amoroso", | ||
"email": "luis.amoroso@de.bosch.com" | ||
} | ||
], | ||
"license": "LicenseRef-LICENSE", | ||
@@ -17,0 +26,0 @@ "dependencies": { |
@@ -31,3 +31,3 @@ #Installation | ||
.pipe(rbbower({ | ||
abortOnError: true | ||
exitOnError: true | ||
}); | ||
@@ -40,4 +40,4 @@ | ||
#### **abortOnError**: Boolean (Default: false) | ||
#### **exitOnError**: Boolean (Default: false) | ||
This will cause the plugin to abort with exit code 1 as soon as an error with obligation level red is found |
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
6946
141