@marineyachtradar/signalk-plugin 1.4.1 → 1.4.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/README.md CHANGED
@@ -97,12 +97,12 @@ While the upstream connection is unauthenticated or hasn't delivered navigation
97
97
 
98
98
  The plugin sets sensible default resource caps so a runaway container can't take down Signal K:
99
99
 
100
- | Setting | Default | Why |
101
- | -------------- | ------- | ---------------------------------------------------- |
102
- | `cpus` | `2` | Mayara processing peaks ≈ 1 core; headroom for spikes and multi-radar |
103
- | `memory` | `512m` | Hard memory cap, OOM-killed if exceeded |
104
- | `memorySwap` | `512m` | = memory → swap disabled (recommended on Pi/eMMC) |
105
- | `pidsLimit` | `200` | Bounds runaway thread leaks |
100
+ | Setting | Default | Why |
101
+ | ------------ | ------- | --------------------------------------------------------------------- |
102
+ | `cpus` | `2` | Mayara processing peaks ≈ 1 core; headroom for spikes and multi-radar |
103
+ | `memory` | `512m` | Hard memory cap, OOM-killed if exceeded |
104
+ | `memorySwap` | `512m` | = memory → swap disabled (recommended on Pi/eMMC) |
105
+ | `pidsLimit` | `200` | Bounds runaway thread leaks |
106
106
 
107
107
  Tested on a Pi 5 8GB with a Garmin xHD2 at 24 NM range. If your setup needs different limits (e.g. multiple radars, larger range, weaker hardware), override per-field via signalk-container's plugin config under **Per-container resource overrides**:
108
108
 
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@marineyachtradar/signalk-plugin",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "MaYaRa Radar - Connect SignalK to mayara-server",
5
5
  "main": "plugin/index.js",
6
6
  "signalk-plugin-enabled-by-default": true,
7
7
  "scripts": {
8
- "format": "prettier --write 'src/**/*.ts' 'test/**/*.ts' && eslint --fix 'src/**/*.ts' 'test/**/*.ts'",
8
+ "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" && eslint --fix 'src/**/*.ts' 'test/**/*.ts' && npm run format:other",
9
+ "format:other": "prettier --write \"**/*.md\" \"*.{json,yml,yaml,mjs,js}\" \".github/**/*.{yml,yaml}\"",
10
+ "format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\" \"**/*.md\" \"*.{json,yml,yaml,mjs,js}\" \".github/**/*.{yml,yaml}\"",
9
11
  "lint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
10
12
  "build": "tsc && node build.js && webpack",
11
13
  "build:config": "webpack",
package/public/index.html CHANGED
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <title>MaYaRa Radar</title>
6
+ <link rel="icon" type="image/png" href="assets/mayara_logo.png">
6
7
  <script>
7
8
  window.location.replace('/plugins/mayara-server-signalk-plugin/gui/');
8
9
  </script>