create-treble-app
Advanced tools
Comparing version 0.0.34 to 0.0.35
{ | ||
"name": "create-treble-app", | ||
"version": "0.0.34", | ||
"version": "0.0.35", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -92,4 +92,10 @@ import spawn from 'cross-spawn'; | ||
function initTreble(name, root, originalDirectory, templateName) { | ||
const data = [name, root, originalDirectory, templateName]; | ||
function initTreble( | ||
name, | ||
root, | ||
originalDirectory, | ||
templateName, | ||
includeRecipes | ||
) { | ||
const data = [name, root, originalDirectory, templateName, includeRecipes]; | ||
const nodeScript = ` | ||
@@ -123,2 +129,3 @@ const init = require('${TREBLE_SCRIPTS_PACKAGE}/scripts/init.js'); | ||
const originalDirectory = process.cwd(); | ||
const includeRecipes = argv.includes('--recipes'); | ||
@@ -147,3 +154,3 @@ if (!name) { | ||
initTreble(name, root, originalDirectory, templateName); | ||
initTreble(name, root, originalDirectory, templateName, includeRecipes); | ||
} |
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
4932
158