forgegit 1.2.0 → 1.2.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.
package/MANUAL.md ADDED
@@ -0,0 +1,68 @@
1
+ cd "E:\MASTER\Proyectos\2026\Toolkit\Sys\forgeGit"
2
+
3
+ $content = @'
4
+ ============================================================
5
+ forgeGit - MANUAL PERSONAL
6
+ ============================================================
7
+
8
+ INSTALAR EN PC NUEVA (una sola vez)
9
+ ------------------------------------------------------------
10
+ npm install -g forgegit
11
+
12
+
13
+ USAR EN UN PROYECTO NUEVO
14
+ ------------------------------------------------------------
15
+ cd ruta\del\proyecto
16
+ forge
17
+
18
+ Listo. El proyecto queda con Git + 7 helpers.
19
+
20
+
21
+ COMANDOS DEL DIA A DIA
22
+ ------------------------------------------------------------
23
+ guardar.cmd Commit cambios
24
+ subir.cmd Push a GitHub
25
+ snapshots.cmd Crear/restaurar copia de seguridad
26
+ historial.cmd Ver commits recientes
27
+ auditar.cmd Generar reporte diff
28
+ abrir.cmd Abrir en VS Code
29
+ init.cmd Re-bootstrap (raro, solo si rompes algo)
30
+
31
+
32
+ ACTUALIZAR EL KIT (cuando hay version nueva)
33
+ ------------------------------------------------------------
34
+ npm install -g forgegit@latest
35
+
36
+ En cada proyecto existente:
37
+ forge update
38
+
39
+
40
+ PUBLICAR NUEVA VERSION DEL KIT (yo, autor)
41
+ ------------------------------------------------------------
42
+ cd E:\MASTER\Proyectos\2026\Toolkit\Sys\forgeGit
43
+
44
+ 1. Editar config.cmd y subir version (ej: 1.2.0 -> 1.3.0)
45
+ 2. guardar.cmd (mensaje: release 1.3.0)
46
+ 3. subir.cmd
47
+ 4. npm publish
48
+ 5. tools\pack.cmd (regenera dist)
49
+ 6. git tag -a v1.3.0 -m "Version 1.3.0"
50
+ 7. git push origin --tags
51
+ 8. Subir ZIP a GitHub Releases
52
+
53
+
54
+ LINKS UTILES
55
+ ------------------------------------------------------------
56
+ Repo: https://github.com/vloitz/forgeGit
57
+ npm: https://www.npmjs.com/package/forgegit
58
+ Releases: https://github.com/vloitz/forgeGit/releases
59
+
60
+ ============================================================
61
+ '@
62
+
63
+ $utf8 = New-Object System.Text.UTF8Encoding($false)
64
+ [System.IO.File]::WriteAllText("$PWD\MANUAL.txt", $content, $utf8)
65
+
66
+ Write-Host " [OK] MANUAL.txt creado" -ForegroundColor Green
67
+ Write-Host ""
68
+ Get-Item "MANUAL.txt" | Select-Object Name, Length
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forgegit",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Universal Git bootstrap kit for Windows",
5
5
  "bin": {
6
6
  "forge": "./tools/bin/forge.cmd"
@@ -8,6 +8,7 @@
8
8
  "files": [
9
9
  "init.cmd",
10
10
  "config.cmd",
11
+ "MANUAL.md",
11
12
  "README.md",
12
13
  "lib/",
13
14
  "templates/",
@@ -32,4 +33,4 @@
32
33
  "type": "git",
33
34
  "url": "https://github.com/vloitz/forgeGit"
34
35
  }
35
- }
36
+ }
@@ -67,7 +67,7 @@ if errorlevel 1 (
67
67
  echo !C_GY!Subiendo a GitHub...!C_RS!
68
68
  echo.
69
69
 
70
- git push -u origin main
70
+ git push -u origin main --follow-tags
71
71
  set "RC=!ERRORLEVEL!"
72
72
 
73
73
  echo.