@icarusmx/creta 1.3.1 โ 1.3.3
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/bin/creta.js +4 -7
- package/package.json +1 -1
package/bin/creta.js
CHANGED
|
@@ -1238,8 +1238,8 @@ async function startProyectosSelectorInteractive() {
|
|
|
1238
1238
|
console.log("Elige quรฉ proyecto quieres construir:")
|
|
1239
1239
|
|
|
1240
1240
|
const projects = [
|
|
1241
|
-
{ id: 1, title: "๐ Construye una pull-request",
|
|
1242
|
-
{ id: 2, title: "๐จ Construye tu portafolio",
|
|
1241
|
+
{ id: 1, title: "๐ Construye una pull-request", type: 'pr' },
|
|
1242
|
+
{ id: 2, title: "๐จ Construye tu portafolio", type: 'portfolio' }
|
|
1243
1243
|
]
|
|
1244
1244
|
|
|
1245
1245
|
let selectedIndex = 0
|
|
@@ -1268,9 +1268,6 @@ async function startProyectosSelectorInteractive() {
|
|
|
1268
1268
|
const reset = '\x1b[0m'
|
|
1269
1269
|
|
|
1270
1270
|
console.log(`${highlight}${prefix}${project.title}${reset}`)
|
|
1271
|
-
if (isSelected) {
|
|
1272
|
-
console.log(`${highlight} ${project.description}${reset}`)
|
|
1273
|
-
}
|
|
1274
1271
|
console.log("")
|
|
1275
1272
|
})
|
|
1276
1273
|
}
|
|
@@ -1363,8 +1360,8 @@ async function startProyectosSelectorFallback() {
|
|
|
1363
1360
|
console.log("\n๐ Construir Proyectos")
|
|
1364
1361
|
console.log("Elige quรฉ proyecto quieres construir:")
|
|
1365
1362
|
console.log("")
|
|
1366
|
-
console.log("1. ๐ Construye una pull-request
|
|
1367
|
-
console.log("2. ๐จ Construye tu portafolio
|
|
1363
|
+
console.log("1. ๐ Construye una pull-request")
|
|
1364
|
+
console.log("2. ๐จ Construye tu portafolio")
|
|
1368
1365
|
console.log("")
|
|
1369
1366
|
|
|
1370
1367
|
const respuesta = await askQuestion("Elige una opciรณn (1-2) o 'q' para salir: ")
|