@icarusmx/creta 0.8.1 → 0.8.2

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.
@@ -6,7 +6,8 @@
6
6
  "WebFetch(domain:github.com)",
7
7
  "Bash(npm install)",
8
8
  "Bash(npm run dev:*)",
9
- "Bash(rm:*)"
9
+ "Bash(rm:*)",
10
+ "Bash(npm publish:*)"
10
11
  ],
11
12
  "deny": [],
12
13
  "ask": []
package/bin/creta.js CHANGED
@@ -778,27 +778,7 @@ async function startEnunciadosSelectorInteractive() {
778
778
  const highlight = isSelected ? '\x1b[36m' : '\x1b[37m' // cyan for selected, white for normal
779
779
  const reset = '\x1b[0m'
780
780
 
781
- console.log(`${highlight}${prefix}${index + 1}. [${enunciado.nivel}] ${enunciado.enfoque}${reset}`)
782
-
783
- if (isSelected) {
784
- // Show full text for selected option with word wrapping
785
- const maxWidth = 66
786
- const words = enunciado.texto.split(' ')
787
- let currentLine = ' "'
788
-
789
- words.forEach(word => {
790
- if (currentLine.length + word.length + 1 <= maxWidth) {
791
- currentLine += (currentLine === ' "' ? '' : ' ') + word
792
- } else {
793
- console.log(`${highlight}${currentLine}${reset}`)
794
- currentLine = ' ' + word
795
- }
796
- })
797
-
798
- if (currentLine.length > 6) {
799
- console.log(`${highlight}${currentLine}"${reset}`)
800
- }
801
- }
781
+ console.log(`${highlight}${prefix}${index + 1}. ${enunciado.texto}${reset}`)
802
782
  console.log("")
803
783
  })
804
784
  }
@@ -874,8 +854,7 @@ async function startEnunciadosSelectorFallback() {
874
854
  console.log("")
875
855
 
876
856
  ENUNCIADOS.forEach((enunciado, index) => {
877
- console.log(`${index + 1}. [${enunciado.nivel}] ${enunciado.enfoque}`)
878
- console.log(` "${enunciado.texto}"`)
857
+ console.log(`${index + 1}. ${enunciado.texto}`)
879
858
  console.log("")
880
859
  })
881
860
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icarusmx/creta",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Salgamos de este laberinto.",
5
5
  "type": "module",
6
6
  "bin": {