signalk-mareas-ihm 2.2.0 → 2.2.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.2.1] - 2026-06-20
4
+
5
+ ### English
6
+
7
+ **Documentation & UI**
8
+ - Instructions modal rewritten as a proper user manual: safety notice, 16 sections covering setup, anchoring manoeuvre, swing-circle geometry (blue/red rings), real sensors, AIS proximity watch, shelter, grounding alarm, multi-device audio, FAQ.
9
+ - New "Recommended onboard hardware" section listing what each user typically needs: Raspberry Pi, USB self-amplified speaker (essential for audible alarms), GPS, depth sounder, anemometer, AIS receiver, IMU.
10
+ - Modal typography +2 px for easier reading at arm's length in cockpit conditions.
11
+ - AIS module renamed "anti-collision" → "proximity watch" (no CPA/TCPA yet — honesty matters in safety tooling).
12
+
13
+ **Bug fixes**
14
+ - Map no longer auto-recenters on the boat after a temporary GPS loss. If you dragged the map to look elsewhere, that decision is now respected even if the GPS blinks.
15
+
16
+ **App Store & registry**
17
+ - Screenshots converted to JPEG ≤1778 px wide, each <500 KB, per Signal K App Store spec. Tarball size dropped from 6.1 MB to 2.9 MB.
18
+ - Plugin test suite added using Node's built-in `node:test` (no new devDependencies). Covers Signal K plugin contract, screenshot manifest integrity, files[] correctness and entrypoint import. Runs with `npm test`.
19
+
20
+ ### Español
21
+
22
+ **Documentación y UI**
23
+ - Modal de instrucciones reescrito como manual profesional: aviso de seguridad, 16 secciones con configuración, maniobra de fondeo, geometría de los círculos azul y rojo, sensores reales, vigilancia AIS de proximidad, abrigo, alarma de varada, audio multidispositivo, FAQ.
24
+ - Nueva sección "Hardware recomendado a bordo" con lo que necesita cada usuario: Raspberry Pi, altavoz USB autoamplificado (imprescindible para que las alarmas se oigan), GPS, sonda, anemómetro, receptor AIS, IMU.
25
+ - Tipografía del modal +2 px para leer cómodamente a un metro bajo la luz del sol.
26
+ - Módulo AIS renombrado "anti-colisión" → "vigilancia de proximidad" (no hay CPA/TCPA todavía — la honestidad importa en herramientas de seguridad).
27
+
28
+ **Corrección de bugs**
29
+ - El mapa ya no se auto-centra en el barco tras perder el GPS un instante. Si arrastraste el mapa para mirar otra zona, esa decisión se respeta aunque el GPS parpadee.
30
+
31
+ **App Store y registro**
32
+ - Capturas convertidas a JPEG ≤1778 px ancho, cada una <500 KB, según la especificación del App Store de Signal K. Tamaño del paquete bajado de 6.1 MB a 2.9 MB.
33
+ - Añadida suite de tests del plugin usando `node:test` nativo de Node (sin nuevas dependencias). Cubre contrato del plugin Signal K, integridad del manifiesto de screenshots, corrección de files[] y carga del entrypoint. Se ejecuta con `npm test`.
34
+
3
35
  ## [2.2.0] - 2026-06-20
4
36
 
5
37
  Rediseño del sistema AIS, cache persistente entre sesiones, auto-desarme inteligente al motorizar, panel AIS más usable, capturas para el App Store de Signal K.
@@ -1,7 +1,7 @@
1
1
  {
2
- "version": "2.2.0",
3
- "timestamp": "20260620-1551",
4
- "gitHash": null,
5
- "gitDirty": true,
6
- "builtAt": "2026-06-20T13:51:50.408Z"
2
+ "version": "2.2.1",
3
+ "timestamp": "20260620-1709",
4
+ "gitHash": "96ebf66",
5
+ "gitDirty": false,
6
+ "builtAt": "2026-06-20T15:09:47.635Z"
7
7
  }
package/dist/index.js CHANGED
@@ -49,7 +49,7 @@ function isPositionValue(v) {
49
49
  // timestamp + git hash so we can verify exactly which build is running on the Pi
50
50
  // without ambiguity. ("¿Qué versión tengo deployada?" → /api/paths or landing.)
51
51
  const PLUGIN_VERSION = esmRequire("../package.json").version;
52
- const PLUGIN_REVISION = "Rev418";
52
+ const PLUGIN_REVISION = "Rev419";
53
53
  let _buildInfo = null;
54
54
  try {
55
55
  _buildInfo = esmRequire("./build-info.json");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signalk-mareas-ihm",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Advanced anchor watch manager for Signal K — user-friendly UI, multi-layer charts and transparencies (online and offline), AIS anti-collision surveillance, multi-device ringing alarms (drift, AIS, grounding, weather), shelter forecast and assessment, on-board wave measurement, IHM Spain tides, and much more!",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -10,7 +10,8 @@
10
10
  "dev": "vite",
11
11
  "lint": "eslint .",
12
12
  "preview": "vite preview",
13
- "prepack": "npm run build"
13
+ "prepack": "npm run build",
14
+ "test": "node --test tests/*.test.js"
14
15
  },
15
16
  "keywords": [
16
17
  "signalk",
@@ -127,21 +128,25 @@
127
128
  "type": "git",
128
129
  "url": "git+https://github.com/Aitonos/signalk-mareas-ihm.git"
129
130
  },
131
+ "bugs": {
132
+ "url": "https://github.com/Aitonos/signalk-mareas-ihm/issues"
133
+ },
134
+ "homepage": "https://github.com/Aitonos/signalk-mareas-ihm#readme",
130
135
  "signalk-plugin-enabled-by-default": true,
131
136
  "signalk": {
132
137
  "appIcon": "./icon.svg",
133
138
  "displayName": "Mareas – IHM",
134
139
  "webapp": "./public",
135
140
  "screenshots": [
136
- "./screenshots/01_main.png",
137
- "./screenshots/02_mobile.png",
138
- "./screenshots/03_mobile.png",
139
- "./screenshots/04_mobile.png",
140
- "./screenshots/05_mobile.png",
141
- "./screenshots/06_mobile.png",
142
- "./screenshots/07_mobile.png",
143
- "./screenshots/08_mobile.png",
144
- "./screenshots/09_mobile.png"
141
+ "./screenshots/01_main.jpg",
142
+ "./screenshots/02_mobile.jpg",
143
+ "./screenshots/03_mobile.jpg",
144
+ "./screenshots/04_mobile.jpg",
145
+ "./screenshots/05_mobile.jpg",
146
+ "./screenshots/06_mobile.jpg",
147
+ "./screenshots/07_mobile.jpg",
148
+ "./screenshots/08_mobile.jpg",
149
+ "./screenshots/09_mobile.jpg"
145
150
  ]
146
151
  },
147
152
  "files": [
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file