Pārlūkot izejas kodu

Fix create-stdf

杜府 3 gadi atpakaļ
vecāks
revīzija
1e8447d547
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 2 2
      packages/create-stdf/bin.js
  2. 1 1
      packages/create-stdf/package.json

+ 2 - 2
packages/create-stdf/bin.js

@@ -9,7 +9,7 @@ import * as langAll from './lang/index.mjs';
 const { version } = JSON.parse(fs.readFileSync(new URL('./package.json', import.meta.url), 'utf-8'));
 
 console.log(`
-${grey(`create-stdf  @${version}
+${grey(`create-stdf@${version}
 `)}`);
 
 const spinner = p.spinner();
@@ -34,7 +34,7 @@ if (p.isCancel(languageType)) {
 
 const templateOptions = [
     { value: 'vt', label: 'Vite + Tailwind' },
-    { value: 'vu', label: 'Vite + UnoCSS' },
+    { value: 'vu', label: `Vite + UnoCSS(${lang.hnay})` },
     { value: 'skt', label: `SvelteKit + Tailwind(${lang.hnay})` },
     { value: 'sku', label: `SvelteKit + UnoCSS(${lang.hnay})` },
     { value: 'vtt', label: `Vite + Tailwind + TypeScript(${lang.hnay})` },

+ 1 - 1
packages/create-stdf/package.json

@@ -1,6 +1,6 @@
 {
     "name": "create-stdf",
-    "version": "0.0.3",
+    "version": "0.0.4",
     "description": "A CLI for creating new STDF projects",
     "main": "./index.js",
     "scripts": {