cli-engine-config
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -31,7 +31,9 @@ 'use strict'; | ||
node: '8.0.0', | ||
defaultCommand: 'dashboard', | ||
hooks: { | ||
'prerun': './lib/hooks/prerun.js', | ||
init: './lib/hooks/init.js', | ||
update: './lib/hooks/update.js', | ||
prerun: './lib/hooks/prerun.js', | ||
'plugins:preinstall': './lib/hooks/plugins/preinstall.js' | ||
}, | ||
defaultCommand: 'dashboard', | ||
s3: { host: 'host' }, | ||
@@ -117,9 +119,8 @@ plugins: ['heroku-pg', 'heroku-redis'] | ||
const { validate } = require('jest-validate'); | ||
validate(cli, { | ||
comment: `cli-engine-config@${version}`, | ||
exampleConfig: exampleCLI, | ||
title: { | ||
warning: 'cli-engine validation warning', | ||
error: 'cli-engine validation error' | ||
} | ||
const comment = `cli-engine-config@${version}`; | ||
const title = { | ||
warning: 'invalid CLI package.json', | ||
error: 'invalid CLI package.json' }; | ||
validate(cli, { comment, title, exampleConfig: exampleCLI });['s3', 'hooks'].map(attr => { | ||
validate(cli[attr], { comment, title, exampleConfig: exampleCLI[attr] }); | ||
}); | ||
@@ -126,0 +127,0 @@ } |
{ | ||
"name": "cli-engine-config", | ||
"description": "base cli-engine config objects and interfaces", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"author": "Jeff Dickey @dickeyxxx", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/heroku/cli-engine-config/issues", |
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
14276
146