create-simple-boot-front
Advanced tools
Comparing version
@@ -40,3 +40,3 @@ "use strict"; | ||
// let port: string = ''; | ||
const choices = ['rollup']; | ||
const choices = ['rollup_default_template', 'rollup_introduction_template']; | ||
// const choices = ['parcel', 'rollup']; | ||
@@ -57,5 +57,8 @@ // if (templates.other) templates.other.forEach((item) => choices.push(item.name)); | ||
// } else | ||
if (template === 'rollup') { | ||
templateUrl = templates.rollup; | ||
if (template === 'rollup_default_template') { | ||
templateUrl = templates.rollup_default_template; | ||
} | ||
if (template === 'rollup_introduction_template') { | ||
templateUrl = templates.rollup_introduction_template; | ||
} | ||
cli_ux_1.cli.action.start(`Great choice! Generating your ${projectType} app`); | ||
@@ -62,0 +65,0 @@ const wait = () => new Promise((resolve) => setTimeout(resolve, 500)); |
@@ -8,3 +8,4 @@ interface Other { | ||
readonly parcel: string | null; | ||
readonly rollup: string | null; | ||
readonly rollup_default_template: string | null; | ||
readonly rollup_introduction_template: string | null; | ||
readonly webpack: string | null; | ||
@@ -11,0 +12,0 @@ readonly other?: Other[]; |
@@ -8,3 +8,4 @@ "use strict"; | ||
parcel: '3000', | ||
rollup: null, | ||
rollup_default_template: null, | ||
rollup_introduction_template: null, | ||
webpack: null | ||
@@ -14,3 +15,4 @@ }, | ||
parcel: 'https://github.com/visualkhh/simple-boot-front/templates/parcel-bundler#master', | ||
rollup: 'https://github.com/visualkhh/simple-boot-front/templates/rollup#master', | ||
rollup_default_template: 'https://github.com/visualkhh/simple-boot-front/templates/rollup#master', | ||
rollup_introduction_template: 'https://github.com/visualkhh/simple-boot-front/introduction#master', | ||
webpack: null | ||
@@ -17,0 +19,0 @@ } |
{ | ||
"name": "create-simple-boot-front", | ||
"description": "Create a simple-boot-front or Sapper site in a single command.", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"author": "visualkhh", | ||
@@ -6,0 +6,0 @@ "bin": { |
9308
5.52%167
3.73%