Comparing version 0.2.3 to 0.2.4
@@ -0,0 +0,0 @@ module.exports = (function () { |
@@ -23,4 +23,4 @@ module.exports = (function () { | ||
prompts = config.prompts; | ||
prompt.message = colors.green(gName); | ||
prompt.message = colors.green(gName.toUpperCase()); | ||
prompt.start(); | ||
@@ -54,3 +54,3 @@ prompt.get({properties: prompts}, function (err, result) { | ||
filePath = makePath(plop.renderString(action.path || '', data)); | ||
_chain = _chain.then(function () { | ||
@@ -57,0 +57,0 @@ if (template) { |
@@ -28,3 +28,3 @@ module.exports = (function () { | ||
h; | ||
for (h in helpers) { | ||
@@ -41,3 +41,3 @@ if (!helpers.hasOwnProperty(h)) { continue; } | ||
function getGeneratorList() { return Object.keys(generators); } | ||
function setPlopfilePath(path) { plopfilePath = path; } | ||
@@ -50,3 +50,3 @@ function getPlopfilePath() { return plopfilePath; } | ||
renderString: renderString, | ||
setGenerator: setGenerator, | ||
@@ -53,0 +53,0 @@ getGenerator: getGenerator, |
{ | ||
"name": "plop", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Micro-generator script for doing project specific scaffolding of code structures", | ||
@@ -5,0 +5,0 @@ "main": "plop.js", |
@@ -14,3 +14,3 @@ #!/usr/bin/env node | ||
var generators; | ||
// set the default base path to the plopfile directory | ||
@@ -41,3 +41,3 @@ plop.setPlopfilePath(path.dirname(plopfilePath)); | ||
throw Error('Generator ' + generator + ' not found in plopfile'); | ||
} | ||
} | ||
} | ||
@@ -44,0 +44,0 @@ |
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
16221