geeparts-js 1.5.27 → 1.5.30

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/README.md CHANGED
@@ -28,3 +28,38 @@ npm publish --access public
28
28
  # Esto simula la publicación y te muestra qué archivos serán subidos.
29
29
  npm publish --dry-run
30
30
  ```
31
+
32
+ ### Flujo recomendado (para no pelear con npm cada vez)
33
+
34
+ ```shell
35
+ # 1) Validar que todo esta bien (token, conexion y contenido del paquete)
36
+ npm run pub:check
37
+
38
+ # 2) Subir una nueva version + publicar en un solo comando
39
+ npm run release:patch
40
+ ```
41
+
42
+ Tambien tienes disponibles:
43
+
44
+ ```shell
45
+ npm run release:minor
46
+ npm run release:major
47
+ ```
48
+
49
+ Si tu cuenta tiene 2FA para writes y no usas token Automation, publica con OTP:
50
+
51
+ ```shell
52
+ export NPM_OTP=123456
53
+ npm run pub:otp
54
+ ```
55
+
56
+ ### Errores tipicos y solucion rapida
57
+
58
+ - `You cannot publish over the previously published versions`:
59
+ - Ya existe esa version. Ejecuta `npm run release:patch`.
60
+ - `ENEEDAUTH` o `E401`:
61
+ - Token vencido o invalido. Regenera token Automation y actualiza `.npmrc`.
62
+ - `This operation requires a one-time password`:
63
+ - Tu cuenta exige OTP para publicar. Usa `npm run pub:otp` o crea token Classic Automation.
64
+ - `E403` con paquete publico:
65
+ - Asegura `npm publish --access public`.
@@ -1,4 +1,4 @@
1
- /*! Geeparts Newsletter Widget v1.5.26 | MIT License | https://github.com/johnsi15/geeparts-js */
1
+ /*! Geeparts Newsletter Widget v1.5.30 | MIT License | https://github.com/johnsi15/geeparts-js */
2
2
  (()=>{var f=(p,b,a)=>new Promise((d,n)=>{var g=s=>{try{i(a.next(s))}catch(m){n(m)}},c=s=>{try{i(a.throw(s))}catch(m){n(m)}},i=s=>s.done?d(s.value):Promise.resolve(s.value).then(g,c);i((a=a.apply(p,b)).next())});(function(){"use strict";let p=`* {
3
3
  margin: 0;
4
4
  padding: 0;
package/index.js CHANGED
@@ -4,17 +4,17 @@ function createSocialBar() {
4
4
  const socialNetworks = [
5
5
  {
6
6
  name: 'whatsapp',
7
- url: 'https://wa.me/573043538612?text=Hola%20vengo%20del%20sitio%20web%20Geeparts%20y%20quisiera%20m%C3%A1s%20informaci%C3%B3n%20',
7
+ url: 'https://wa.me/573002364405?text=Hola%20vengo%20del%20sitio%20web%20Geeparts%20y%20quisiera%20m%C3%A1s%20informaci%C3%B3n%20',
8
8
  image: 'https://download.geeparts.co/whatsapp-web.png',
9
9
  },
10
10
  {
11
11
  name: 'sistecredito',
12
- url: 'https://wa.me/573043538612?text=Hola%20vengo%20del%20sitio%20web%20Geeparts%20y%20quisiera%20m%C3%A1s%20informaci%C3%B3n%20',
12
+ url: 'https://wa.me/573002364405?text=Hola%20vengo%20del%20sitio%20web%20Geeparts%20y%20quisiera%20m%C3%A1s%20informaci%C3%B3n%20',
13
13
  image: 'https://download.geeparts.co/sistecredito-web.png',
14
14
  },
15
15
  {
16
16
  name: 'pago_contra_entrega',
17
- url: 'https://wa.me/573043538612?text=Hola%20vengo%20del%20sitio%20web%20Geeparts%20y%20quisiera%20m%C3%A1s%20informaci%C3%B3n%20',
17
+ url: 'https://wa.me/573002364405?text=Hola%20vengo%20del%20sitio%20web%20Geeparts%20y%20quisiera%20m%C3%A1s%20informaci%C3%B3n%20',
18
18
  image: 'https://download.geeparts.co/pago-contraentrega-web.png',
19
19
  },
20
20
  ]
@@ -1958,6 +1958,7 @@ if (window.matchMedia('(min-width: 768px)').matches) {
1958
1958
  <a href="#">Universales</a>
1959
1959
  <ul class="menu_level_two">
1960
1960
  <li><a href="/manubrios">Manubrios</a></li>
1961
+ <li><a href="/jabones-de-defensa">Jabones de defensa</a></li>
1961
1962
  <li><a href="/sliders">Sliders</a></li>
1962
1963
  <li><a href="/baul">Baúl</a></li>
1963
1964
  <li><a href="/spools">Spools</a></li>
package/package.json CHANGED
@@ -1,11 +1,17 @@
1
1
  {
2
2
  "name": "geeparts-js",
3
- "version": "1.5.27",
3
+ "version": "1.5.30",
4
4
  "description": "Code main page Geeparts",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo 'Hello world'",
8
- "build": "node build.js"
8
+ "build": "node build.js",
9
+ "pub:check": "npm whoami && npm ping && npm publish --dry-run",
10
+ "pub": "npm run build && npm run pub:check && npm publish --access public --auth-type=legacy",
11
+ "pub:otp": "npm run build && npm run pub:check && npm publish --access public --auth-type=legacy --otp=$NPM_OTP",
12
+ "release:patch": "npm version patch --no-git-tag-version --allow-same-version=false && npm run pub",
13
+ "release:minor": "npm version minor --no-git-tag-version --allow-same-version=false && npm run pub",
14
+ "release:major": "npm version major --no-git-tag-version --allow-same-version=false && npm run pub"
9
15
  },
10
16
  "files": [
11
17
  "dist/",