@quorum/schematics
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@quorum/schematics", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A schematics Library for Quorum", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -11,2 +11,10 @@ "use strict"; | ||
const prompt = require('prompt-sync')(); | ||
const cloudOrDt = prompt('Is this a Cloud or Dataterminal route? (enter "c" or "d") '); | ||
let filesFolder = ''; | ||
if (cloudOrDt.toUpperCase() == "D") { | ||
filesFolder = './dt-files'; | ||
} | ||
else { | ||
filesFolder = './cloud-files'; | ||
} | ||
options.nameSingular = prompt('What is the name singular? '); | ||
@@ -18,3 +26,3 @@ options.routeParent = prompt('What is the route parent? '); | ||
options.tableName = prompt('What is the table name? '); | ||
const templateSource = schematics_2.apply(schematics_2.url('./files'), [ | ||
const templateSource = schematics_2.apply(schematics_2.url(filesFolder), [ | ||
//filterTemplates(options), | ||
@@ -21,0 +29,0 @@ schematics_2.template(Object.assign({}, stringUtils, options)), |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24744
21
424
1