create-blocklet 0.4.66 → 0.4.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
- package/templates/solidjs-dapp/package.json +1 -1
- package/templates/solidjs-static/package.json +1 -1
- package/templates/svelte-dapp/package.json +1 -1
- package/templates/svelte-static/package.json +1 -1
- package/templates/vue-dapp/package.json +1 -1
- package/templates/vue-static/package.json +1 -1
package/index.js
CHANGED
|
@@ -127,7 +127,7 @@ async function init() {
|
|
|
127
127
|
await echoBrand({ version });
|
|
128
128
|
|
|
129
129
|
let targetDir = argv._[0] ? String(argv._[0]) : undefined;
|
|
130
|
-
|
|
130
|
+
const inputTemplateName = argv.template;
|
|
131
131
|
if (inputTemplateName && !templates.find(item => item.name === inputTemplateName)) {
|
|
132
132
|
console.error(`${red('✖')} The template ${inputTemplateName} is invalid.`);
|
|
133
133
|
return;
|
package/package.json
CHANGED