iobroker.autodarts 1.0.7 → 1.0.9
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 +16 -9
- package/io-package.json +27 -27
- package/package.json +7 -13
- package/admin/style.css +0 -32
package/README.md
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|

|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
# ioBroker adapter for AUTODARTS
|
|
3
4
|
|
|
4
5
|
 
|
|
5
6
|
[](https://www.npmjs.com/package/iobroker.autodarts)
|
|
6
7
|
[](https://www.npmjs.com/package/iobroker.autodarts)
|
|
7
8
|
|
|
9
|
+
[](https://forum.iobroker.net/)
|
|
10
|
+
[](https://github.com/skvarel)
|
|
11
|
+
[](https://github.com/inventwo/ioBroker.autodarts/blob/main/.github/copilot-instructions.md)
|
|
12
|
+
|
|
8
13
|
[](https://www.paypal.com/donate/?hosted_button_id=7W6M3TFZ4W9LW)
|
|
9
14
|
|
|
15
|
+
---
|
|
10
16
|
|
|
11
17
|
## What this adapter does
|
|
12
18
|
|
|
@@ -132,6 +138,15 @@ In **HELP & FAQ** you will find general information and help about the adapter a
|
|
|
132
138
|
<!--
|
|
133
139
|
### **WORK IN PROGRESS**
|
|
134
140
|
-->
|
|
141
|
+
### 1.0.9 (2026-05-25)
|
|
142
|
+
- (skvarel) Adapter requires node.js >= 22 now
|
|
143
|
+
- (skvarel) Updated @alcalzone/release-script und Plugins auf 5.2.0 aktualisiert (fixes #56)
|
|
144
|
+
- (skvarel) Downgraded @types/node auf ^22.0.0 heruntergestuft (fixes #56)
|
|
145
|
+
|
|
146
|
+
### 1.0.8 (2026-04-13)
|
|
147
|
+
- (skvarel) Removed react and mui
|
|
148
|
+
- (skvarel) Removed admin/style.css
|
|
149
|
+
|
|
135
150
|
### 1.0.7 (2026-03-01)
|
|
136
151
|
- (skvarel) CI/CD: Updated GitHub Copilot instructions template to version 0.5.7 with latest ioBroker best practices (fixes #21, #25)
|
|
137
152
|
|
|
@@ -141,14 +156,6 @@ In **HELP & FAQ** you will find general information and help about the adapter a
|
|
|
141
156
|
### 1.0.5 (2026-02-28)
|
|
142
157
|
- (skvarel) FIXED: Updated outdated dependencies - release-script packages to v5.1.x and admin globalDependency to v7.6.20 (fixes #23)
|
|
143
158
|
|
|
144
|
-
### 1.0.4 (2026-01-24)
|
|
145
|
-
- (skvarel) FIXED: Reverted to setState() from deprecated setStateAsync()
|
|
146
|
-
|
|
147
|
-
### 1.0.3 (2026-01-21)
|
|
148
|
-
- (copilot) FIXED: Use setStateAsync() instead of setState() for trigger resets in throw.js to ensure database reliability
|
|
149
|
-
- (copilot) ENHANCED: Corrected API endpoints in copilot-instructions.md - now documents /api/state, /api/config, /api/host, /api/version correctly
|
|
150
|
-
- (copilot) TESTING: Added comprehensive unit tests for core modules (throw, visit, config, trafficLight, httpHelper)
|
|
151
|
-
|
|
152
159
|
## Older changes
|
|
153
160
|
- [CHANGELOG_OLD.md](CHANGELOG_OLD.md)
|
|
154
161
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "autodarts",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.9",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.0.9": {
|
|
7
|
+
"en": "Adapter requires node.js >= 22 now\nUpdated @alcalzone/release-script und Plugins auf 5.2.0 aktualisiert (fixes #56)\nDowngraded @types/node auf ^22.0.0 heruntergestuft (fixes #56)",
|
|
8
|
+
"de": "Adapter benötigt node.js >= 22 jetzt\n@alcalzone/release-script und Plugins auf 5.2.0 aktualisiert (fixes #56)\nDowngraded @types/node auf ^22.0.0 heruntergestuft (fixes #56)",
|
|
9
|
+
"ru": "Адаптер требует node.js >= 22 сейчас\nОбновленный @alcalzone/release-script und Plugins auf 5.2.0 aktualisiert (фиксы #56)\nDowngraded @types/node auf ^22.0.0 heruntergestuft (фиксы #56)",
|
|
10
|
+
"pt": "Adaptador requer nod.js >= 22 agora\nAtualizado @ alcalzone/release-script und Plugins auf 5.2.0 aktualisiert (fixos #56)\nDowngraded @types/node auf ^22.0.0 heruntergestuft (fixes #56)",
|
|
11
|
+
"nl": "Voor de adapter zijn node.js < 22 nu nodig\nBijgewerkt @alcalzone/release-script und Plugins auf 5.2.0 aktualisiert (fixes #56)\nDowngraded @types/node auf ^22.0.0 heruntergestuft (fixes #56)",
|
|
12
|
+
"fr": "Adaptateur nécessite node.js >= 22 maintenant\nMise à jour @alcalzone/release-script und Plugins auf 5.2.0 aktualisiert (fixes #56)\nDégradé @types/node auf ^22.0.0 heruntergestuft (fixes #56)",
|
|
13
|
+
"it": "Adattatore richiede node.js >= 22 ora\nAggiornato @alcalzone/release-script und Plugins auf 5.2.0 aktualisiert (fissi #56)\n@types/node auf ^22.0.0 heruntergestuft (fixs #56)",
|
|
14
|
+
"es": "Adaptador requiere node.js ю= 22 ahora\nActualizado @alcalzone/release-script und Plugins auf 5.2.0 aktualisiert (fixes #56)\nDegradado @tipos/nodo auf ^22.0.0 heruntergestuft (fixes #56)",
|
|
15
|
+
"pl": "Adapter wymaga node.js > = 22\nAktualizacja @ alcalzone / release- script und Plugins auf 5.2.0 aktualisiert (poprawki # 56)\nSkrócony @ types / node auf ^ 22.0.0 heruntergestuft (poprawki # 56)",
|
|
16
|
+
"uk": "Адаптер вимагає node.js >= 22 тепер\nОновлено @alcalzone/видання плагінів auf 5.2.0 aktualisiert (фікси #56)\nDowngraded @types/node auf ^22.0.0 heruntergestuft (фікси #56)",
|
|
17
|
+
"zh-cn": "适配器需要节点.js 现在22\n更新的 @alcalzone/release-scripts und 插件 auf 5.2.0 aktualisiert (fixes #56)\n降级@ types/ node auf ^22.0.0 heruntergestuft (fixes #56)"
|
|
18
|
+
},
|
|
19
|
+
"1.0.8": {
|
|
20
|
+
"en": "Removed react and mui\nRemoved admin/style.css",
|
|
21
|
+
"de": "Reakt und Mui entfernt\nAdmin/style.css entfernt",
|
|
22
|
+
"ru": "Удаленная реакция и муи\nСнято admin/style.css",
|
|
23
|
+
"pt": "Reacção removida e mui\nAdministração/estilo.css removido",
|
|
24
|
+
"nl": "Verwijderde reactie en mui\nVerwijderd admin/style.css",
|
|
25
|
+
"fr": "Réaction et mui enlevés\nSupprimé admin/style.css",
|
|
26
|
+
"it": "Rimozione e mui\nRimuovi admin/style.css",
|
|
27
|
+
"es": "Reacción eliminada y mui\nAdmin/style.cs",
|
|
28
|
+
"pl": "Usunięta reakcja i mui\nUsunięto admin / style.css",
|
|
29
|
+
"uk": "Зняти реагацію і мус\nВидалити admin/style.css",
|
|
30
|
+
"zh-cn": "删除反应和 mui\n删除的管理员/ type.css"
|
|
31
|
+
},
|
|
6
32
|
"1.0.7": {
|
|
7
33
|
"en": "CI/CD: Updated GitHub Copilot instructions template to version 0.5.7 with latest ioBroker best practices (fixes #21, #25)",
|
|
8
34
|
"de": "CI/CD: Updated GitHub Copilot Anleitungsvorlage auf Version 0.5.7 mit neuesten ioBroker Best Practices (fixes #21, #25)",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "FIXED: Użyj setStateAsync () zamiast setState () dla resetów w rzucie. js w celu zapewnienia niezawodności bazy danych\nPOPRAWKA: Skorygowane punkty końcowe API w instrukcjach copilot-. md - teraz dokumenty / api / state, / api / config, / api / host, / api / version poprawnie\nTESTING: Dodano kompleksowe testy jednostkowe dla modułów podstawowych (rzut, wizyta, config, traffic Light, httpHelper)",
|
|
68
94
|
"uk": "FIXED: Використовуйте setStateAsync() замість setState() для запуску скидання в кисті. js для забезпечення надійності бази даних\nENHANCED: Виправлені кінцеві точки API в копілот-інструкції. md - тепер документи /api/state, /api/config, /api/host, /api/version правильно\nTESTING: Додано комплексні тести для базових модулів (рядок, візит, налаштування, трафікLight, httpHelper)",
|
|
69
95
|
"zh-cn": "FIXED: 使用setStateAsync () 而不是setState () 来重击触发器 。 js,以确保数据库的可靠性\n增强:在副驾驶指令中纠正API端点. md - 现在文档 /api/ state,/api/config,/api/host,/api/版本正确\nTESTING:核心模块(推、访问、配置、交通灯、httphelper)的新增综合单元测试"
|
|
70
|
-
},
|
|
71
|
-
"1.0.2": {
|
|
72
|
-
"en": "ENHANCED: Refactored adapter code into modular architecture for improved maintainability and code quality – no functional changes for end users",
|
|
73
|
-
"de": "ENHANCED: Refactored adapter code in modulare Architektur für verbesserte Aufrechterhaltungs- und Codequalität – keine funktionalen Änderungen für Endanwender",
|
|
74
|
-
"ru": "Рефакторированный код адаптера в модульную архитектуру для улучшения ремонтопригодности и качества кода - никаких функциональных изменений для конечных пользователей",
|
|
75
|
-
"pt": "REHANCED: Código adaptador refatorizado em arquitetura modular para melhor manutenção e qualidade de código – sem alterações funcionais para usuários finais",
|
|
76
|
-
"nl": "VERHAALD: Gerefactoreerde adaptercode in modulaire architectuur voor verbeterde onderhoudbaarheid en codekwaliteit",
|
|
77
|
-
"fr": "RENFORCEMENT: Refactored adaptateur code en architecture modulaire pour améliorer la maintenance et la qualité du code – aucun changement fonctionnel pour les utilisateurs finaux",
|
|
78
|
-
"it": "ENHANCED: Codice adattatore in architettura modulare per una migliore manutenbilità e qualità del codice – nessun cambiamento funzionale per gli utenti finali",
|
|
79
|
-
"es": "ENHANCED: Código de adaptador refactorizado en arquitectura modular para mejorar la calidad de mantenimiento y código – no hay cambios funcionales para los usuarios finales",
|
|
80
|
-
"pl": "ENHANCED: Przekształcony kod adaptera w architekturę modułową dla poprawy zachowania i jakości kodu - brak zmian funkcjonalnych dla użytkowników końcowych",
|
|
81
|
-
"uk": "ENHANCED: Відновлений код адаптера в модульну архітектуру для підвищення стійкості та якості коду - не функціональні зміни для кінцевих користувачів",
|
|
82
|
-
"zh-cn": "EnhancedD:重构适配器代码为模块架构,以提高可维护性和代码质量 — 对最终用户没有功能变化"
|
|
83
|
-
},
|
|
84
|
-
"1.0.1": {
|
|
85
|
-
"en": "Enhanced: Updated all Node.js built-in module imports to use 'node:' prefix format for better clarity and security\nFixed: Changlog error at readme.md\nImproved: FAQ because of the new structure\nFixed: State roles now comply with ioBroker standards - config states use `level.*` roles, read-only color uses `text` role",
|
|
86
|
-
"de": "Verbessert: Aktualisiert alle Node.js-Einbau-Modulimporte, um 'node:' Präfix-Format für bessere Klarheit und Sicherheit\nBehoben: Changlog-Fehler bei readme. md\nVerbessert: FAQ wegen der neuen Struktur\nBehoben: Die staatlichen Rollen entsprechen jetzt ioBroker Standards - config Staaten verwenden `level.* ` Rollen, Nur lesen Farbe verwendet `text` Rolle",
|
|
87
|
-
"ru": "Улучшено: Обновлен весь импорт встроенных модулей Node.js для использования формата префикса «узел:» для большей ясности и безопасности\nИсправлено: ошибка Changlog в readme. мд\nУлучшенный: FAQ из-за новой структуры\nИсправлено: государственные роли теперь соответствуют стандартам ioBroker - конфигурационные состояния используют роли «уровня»",
|
|
88
|
-
"pt": "Melhorado: Updated all Node.js built-in module importations to use 'node:' prefixo format for better clear and security\nCorrigido: Changlog erro no readme. md\nMelhorado: FAQ por causa da nova estrutura\nFixado: As funções do estado agora cumprem com os padrões do ioBroker - os estados de configuração usam as funções `level.*', a cor somente para leitura usa a função `text'",
|
|
89
|
-
"nl": "Verbeterd: Bijgewerkt alle Node.js ingebouwde module import om 'node:' prefix formaat te gebruiken voor meer duidelijkheid en veiligheid\nFixed: Changlog fout bij readme. md\nVerbeterd: FAQ vanwege de nieuwe structuur\nFixed: State rollen nu voldoen aan joBroker normen - config states maken gebruik van ",
|
|
90
|
-
"fr": "Amélioration : Mise à jour de toutes les importations de modules intégrés Node.js pour utiliser le format préfixe 'node:' pour une meilleure clarté et sécurité\nCorrection : erreur Changlog à la lecture. md\nAmélioration : FAQ en raison de la nouvelle structure\nCorrection : les rôles de l'État sont désormais conformes aux normes ioBroker - les États de configuration utilisent les rôles `level.*`, la couleur en lecture seule utilise le rôle `text`",
|
|
91
|
-
"it": "Migliorato: Aggiornato tutte le importazioni del modulo incorporato Node.js per usare il formato 'nodo:' prefisso per una migliore chiarezza e sicurezza\nRisolto: Errore Changlog a readme. M\nMigliorato: FAQ a causa della nuova struttura\nRisolto: i ruoli di stato sono ora conformi agli standard ioBroker - gli stati di configurazione usano i ruoli `level.*`, il colore di sola lettura utilizza il ruolo `text`",
|
|
92
|
-
"es": "Mejorado: Actualizado todas las importaciones de módulos integrados Node.js para utilizar 'node:' formato prefijo para una mejor claridad y seguridad\nCorregido: Error de Changlog en readme. md\nMejorado: FAQ debido a la nueva estructura\nCorregido: Los papeles del Estado cumplen ahora con las normas de yoBroker - los estados de config utilizan roles de 'nivel.*`, sólo el color de lectura utiliza 'texto' papel",
|
|
93
|
-
"pl": "Wzmocnione: Aktualizacja wszystkich Node.js built- w imporcie modułu do użycia 'node:' format prefix dla większej jasności i bezpieczeństwa\nNaprawiono: błąd Changlog przy readme. md\nUlepszone: FAQ ze względu na nową strukturę\nStała: Role stanu są teraz zgodne ze standardami jOBrokera - stany konfiguracyjne używają 'level. *' roles, kolor tylko read- wykorzystuje 'text' role",
|
|
94
|
-
"uk": "Підвищений: Оновлено всі імпорт модуля Node.js для використання 'node:' prefix формат для кращої чіткості та безпеки\nВиправлено: Похибка Changlog на readme. мд\nПокращується: FAQ через нову структуру\nВиправлено: Державні ролі тепер відповідають нормам ioBroker - конфігураційні стани використовують `level.*`````````````````text```",
|
|
95
|
-
"zh-cn": "增强: 更新所有节点.js内置模块导入以使用“ 节点:” 前缀格式以提高清晰度和安全性\n固定: 朗洛格在readme错误. 微额\n改进:因新结构而提出问题\n固定:国家角色现在符合ioBroker标准 - 配置状态使用“级别”。 角色,只读颜色使用“文本”角色"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.autodarts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Autodarts Autoscoring",
|
|
5
5
|
"author": "skvarel <skvarel@inventwo.com>",
|
|
6
6
|
"contributors": [
|
|
@@ -22,29 +22,23 @@
|
|
|
22
22
|
"url": "https://github.com/inventwo/ioBroker.autodarts.git"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
|
-
"node": ">=
|
|
25
|
+
"node": ">= 22"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@iobroker/adapter-core": "^3.3.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@alcalzone/release-script": "^5.
|
|
32
|
-
"@alcalzone/release-script-plugin-iobroker": "^5.
|
|
33
|
-
"@alcalzone/release-script-plugin-license": "^5.
|
|
34
|
-
"@alcalzone/release-script-plugin-manual-review": "^5.
|
|
31
|
+
"@alcalzone/release-script": "^5.2.0",
|
|
32
|
+
"@alcalzone/release-script-plugin-iobroker": "^5.2.0",
|
|
33
|
+
"@alcalzone/release-script-plugin-license": "^5.2.0",
|
|
34
|
+
"@alcalzone/release-script-plugin-manual-review": "^5.2.0",
|
|
35
35
|
"@iobroker/adapter-dev": "^1.5.0",
|
|
36
|
-
"@iobroker/adapter-react": "~2.2.4",
|
|
37
36
|
"@iobroker/dev-server": "^0.8.0",
|
|
38
37
|
"@iobroker/eslint-config": "^2.2.0",
|
|
39
38
|
"@iobroker/testing": "^5.2.2",
|
|
40
|
-
"@material-ui/core": "^4.12.4",
|
|
41
39
|
"@tsconfig/node20": "^20.1.8",
|
|
42
40
|
"@types/iobroker": "^7.1.0",
|
|
43
|
-
"@types/node": "^
|
|
44
|
-
"@types/react": "^17.0.90",
|
|
45
|
-
"@types/react-dom": "^17.0.26",
|
|
46
|
-
"react": "^17.0.2",
|
|
47
|
-
"react-dom": "^17.0.2",
|
|
41
|
+
"@types/node": "^22.0.0",
|
|
48
42
|
"typescript": "~5.9.3"
|
|
49
43
|
},
|
|
50
44
|
"main": "main.js",
|
package/admin/style.css
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* You can delete those if you want. I just found them very helpful */
|
|
2
|
-
* {
|
|
3
|
-
box-sizing: border-box
|
|
4
|
-
}
|
|
5
|
-
.m {
|
|
6
|
-
/* Don't cut off dropdowns! */
|
|
7
|
-
overflow: initial;
|
|
8
|
-
}
|
|
9
|
-
.m.adapter-container,
|
|
10
|
-
.m.adapter-container > div.App {
|
|
11
|
-
/* Fix layout/scrolling issues with tabs */
|
|
12
|
-
height: 100%;
|
|
13
|
-
width: 100%;
|
|
14
|
-
position: relative;
|
|
15
|
-
}
|
|
16
|
-
.m .select-wrapper + label {
|
|
17
|
-
/* The positioning for dropdown labels is messed up */
|
|
18
|
-
transform: none !important;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
label > i[title] {
|
|
22
|
-
/* Display the help cursor for the tooltip icons and fix their positioning */
|
|
23
|
-
cursor: help;
|
|
24
|
-
margin-left: 0.25em;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.dropdown-content {
|
|
28
|
-
/* Don't wrap text in dropdowns */
|
|
29
|
-
white-space: nowrap;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* Add your styles here */
|