geeparts-js 1.5.13 → 1.5.14

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.
Files changed (3) hide show
  1. package/README.md +19 -2
  2. package/index.js +11 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,13 +1,30 @@
1
1
  # Geeparts JS
2
2
 
3
-
4
3
  Parte del código de JavaScript para el sitio web Geeparts.
5
4
 
6
5
  ## Publish
7
6
 
7
+ ### Configurar token de npm (primera vez o cuando el token expire)
8
+
9
+ 1. Ir a [npmjs.com → Account → Access Tokens](https://www.npmjs.com/settings/johnserranodev/tokens)
10
+ 2. Hacer clic en **Generate New Token → Classic Token**
11
+ 3. Tipo: seleccionar **Automation** (evita el flujo de 2FA al publicar desde tu máquina)
12
+ - El aviso _"There are security risks with this option"_ es solo informativo, se puede ignorar para uso local
13
+ 4. Copiar el token generado
14
+ 5. Pegarlo en el archivo `.npmrc` en la raíz del proyecto (ya está en `.gitignore`):
15
+ ```
16
+ //registry.npmjs.org/:_authToken=npm_TuTokenAqui
17
+ ```
18
+ 6. Verificar que el token funciona:
19
+ ```shell
20
+ npm whoami
21
+ ```
22
+
23
+ ### Publicar
24
+
8
25
  ```shell
9
26
  # El flag --access public es necesario si el nombre del paquete no es un scope privado (por ejemplo, @andrey/geeparts-js).
10
27
  npm publish --access public
11
28
  # Esto simula la publicación y te muestra qué archivos serán subidos.
12
29
  npm publish --dry-run
13
- ```
30
+ ```
package/index.js CHANGED
@@ -398,6 +398,14 @@ if (pathName === '/hero/' || pathName === '/hero') {
398
398
  </div>
399
399
  </a>
400
400
  </li>
401
+ <li class="moto">
402
+ <a href="https://www.geeparts.co/suzuki/gn-125-abs/" class="link_marca">
403
+ <img src="https://download.geeparts.co/suzuki-gn-125-abs.png" alt="GN 125 ABS">
404
+ <div class="info">
405
+ <p>GN 125 ABS</p>
406
+ </div>
407
+ </a>
408
+ </li>
401
409
  <li class="moto">
402
410
  <a href="https://www.geeparts.co/suzuki/gixxer-150-sf/" class="link_marca">
403
411
  <img src="https://res.cloudinary.com/multiparts-colombia/image/upload/v1690933464/multiparts-colombia/suzuki/gixxer_150_sf_xznsi0.jpg" alt="Gixxer 150 sf">
@@ -1505,6 +1513,9 @@ if (window.matchMedia('(min-width: 768px)').matches) {
1505
1513
  <li>
1506
1514
  <a href="https://www.geeparts.co/suzuki/gn-125/">GN 125</a>
1507
1515
  </li>
1516
+ <li>
1517
+ <a href="https://www.geeparts.co/suzuki/gn-125-abs/">GN 125 ABS</a>
1518
+ </li>
1508
1519
  <li class="new">
1509
1520
  <a href="https://www.geeparts.co/suzuki/gsxs-1000/">Suzuki GSX-S1000</a>
1510
1521
  </li>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geeparts-js",
3
- "version": "1.5.13",
3
+ "version": "1.5.14",
4
4
  "description": "Code main page Geeparts",
5
5
  "main": "index.js",
6
6
  "scripts": {