forgegit 1.5.8 → 1.5.10

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/.forge/config.cmd CHANGED
@@ -4,7 +4,7 @@ REM Configuration - edit these values to customize
4
4
  REM Called from init.cmd via: call config.cmd
5
5
  REM ============================================================
6
6
 
7
- set "FG_VERSION=1.5.8"
7
+ set "FG_VERSION=1.5.10"
8
8
  set "TAG_INITIAL=v1.0.0"
9
9
  set "TAG_MESSAGE=Primera version estable"
10
10
  set "BRANCH_MAIN=main"
@@ -37,9 +37,11 @@ if not "%~1"=="" (
37
37
  if /i "%~1"=="audit" ( call "%CMD_DIR%\auditar.cmd" & exit /b 0 )
38
38
  if /i "%~1"=="open" ( call "%CMD_DIR%\abrir.cmd" & exit /b 0 )
39
39
  if /i "%~1"=="serve" ( call "%CMD_DIR%\serve.cmd" & exit /b 0 )
40
- if /i "%~1"=="help" goto :help
41
- if /i "%~1"=="-h" goto :help
42
- if /i "%~1"=="--help" goto :help
40
+ if /i "%~1"=="help" goto :help
41
+ if /i "%~1"=="-h" goto :help
42
+ if /i "%~1"=="--help" goto :help
43
+ if /i "%~1"=="version" goto :version
44
+ if /i "%~1"=="--version" goto :version
43
45
  echo !C_RE![X]!C_RS! Comando desconocido: %~1
44
46
  echo !C_GY!Usa: forge help!C_RS!
45
47
  exit /b 1
@@ -87,6 +89,13 @@ if /i "!OPT!"=="q" goto :end
87
89
 
88
90
  goto :menu
89
91
 
92
+ REM ============================================================
93
+ REM VERSION
94
+ REM ============================================================
95
+ :version
96
+ powershell -NoProfile -Command "$c = Get-Content -LiteralPath '%~dp0.forge\config.cmd' -Raw -ErrorAction SilentlyContinue; if ($c -match 'FG_VERSION=([\d\.]+)') { Write-Host $Matches[1] } else { Write-Host 'unknown' }"
97
+ goto :end
98
+
90
99
  REM ============================================================
91
100
  REM HELP
92
101
  REM ============================================================
@@ -105,6 +114,7 @@ echo !C_WH!forge log!C_RS! Historial
105
114
  echo !C_WH!forge audit!C_RS! Auditar cambios
106
115
  echo !C_WH!forge open!C_RS! Abrir en VS Code
107
116
  echo !C_WH!forge serve!C_RS! Servidor de desarrollo
117
+ echo !C_WH!forge version!C_RS! Muestra la version
108
118
  echo !C_WH!forge help!C_RS! Esta ayuda
109
119
  echo.
110
120
  goto :end
package/MANUAL.md CHANGED
@@ -1,8 +1,3 @@
1
- # 📄 `MANUAL.md` — Código Completo (v1.5.8)
2
-
3
- **En VS Code, abrí `MANUAL.md`, `Ctrl+A` → Suprimir → Pegá esto:**
4
-
5
- ```markdown
6
1
  # forgeGit - Manual de uso
7
2
 
8
3
  Guia completa de instalacion, uso y mantenimiento.
@@ -275,7 +270,3 @@ forge version Show version
275
270
  forge help Show help
276
271
  ```
277
272
  ```
278
-
279
- **Guardá con `Ctrl+S`.**
280
-
281
- ---
package/README.md CHANGED
@@ -69,7 +69,8 @@ The folder becomes a fully configured Git repository with helpers.
69
69
 
70
70
  ```cmd
71
71
  forge Bootstrap current directory
72
- forge update Sync templates from kit
72
+ forge update Sync .forge/ from kit
73
+ forge version Show version
73
74
  forge help Show help
74
75
  ```
75
76
 
@@ -135,4 +136,5 @@ cross-platform Node.js CLI (zero friction, no .cmd files in projects).
135
136
 
136
137
  ## License
137
138
 
138
- MIT
139
+ MIT
140
+ ```
package/forge.cmd CHANGED
@@ -39,9 +39,11 @@ if not "%~1"=="" (
39
39
  if /i "%~1"=="audit" ( call "%CMD_DIR%\auditar.cmd" & exit /b 0 )
40
40
  if /i "%~1"=="open" ( call "%CMD_DIR%\abrir.cmd" & exit /b 0 )
41
41
  if /i "%~1"=="serve" ( call "%CMD_DIR%\serve.cmd" & exit /b 0 )
42
- if /i "%~1"=="help" goto :help
43
- if /i "%~1"=="-h" goto :help
44
- if /i "%~1"=="--help" goto :help
42
+ if /i "%~1"=="help" goto :help
43
+ if /i "%~1"=="-h" goto :help
44
+ if /i "%~1"=="--help" goto :help
45
+ if /i "%~1"=="version" goto :version
46
+ if /i "%~1"=="--version" goto :version
45
47
  echo !C_RE![X]!C_RS! Comando desconocido: %~1
46
48
  echo !C_GY!Usa: forge help!C_RS!
47
49
  exit /b 1
@@ -91,6 +93,13 @@ if /i "!OPT!"=="q" goto :end
91
93
 
92
94
  goto :menu
93
95
 
96
+ REM ============================================================
97
+ REM VERSION
98
+ REM ============================================================
99
+ :version
100
+ powershell -NoProfile -Command "$c = Get-Content -LiteralPath '%~dp0.forge\config.cmd' -Raw -ErrorAction SilentlyContinue; if ($c -match 'FG_VERSION=([\d\.]+)') { Write-Host $Matches[1] } else { Write-Host 'unknown' }"
101
+ goto :end
102
+
94
103
  REM ============================================================
95
104
  REM HELP
96
105
  REM ============================================================
@@ -111,6 +120,7 @@ echo !C_WH!forge log!C_RS! Historial
111
120
  echo !C_WH!forge audit!C_RS! Auditar cambios
112
121
  echo !C_WH!forge open!C_RS! Abrir en VS Code
113
122
  echo !C_WH!forge serve!C_RS! Servidor de desarrollo
123
+ echo !C_WH!forge version!C_RS! Muestra la version
114
124
  echo !C_WH!forge help!C_RS! Esta ayuda
115
125
  echo.
116
126
  goto :end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forgegit",
3
- "version": "1.5.8",
3
+ "version": "1.5.10",
4
4
  "description": "Universal Git bootstrap kit for Windows",
5
5
  "bin": {
6
6
  "forge": "./tools/bin/forge.cmd"