Skip to content

Commit

Permalink
Update templates to creator version v2.6.5 (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone authored Sep 13, 2024
1 parent 55c3807 commit 46e3823
Show file tree
Hide file tree
Showing 92 changed files with 303 additions and 324 deletions.
2 changes: 1 addition & 1 deletion JavaScript/.create-adapter.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
],
"indentation": "Space (4)",
"quotes": "single",
"creatorVersion": "2.6.3"
"creatorVersion": "2.6.5"
}
6 changes: 3 additions & 3 deletions JavaScript/.github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: ioBroker/testing-action-check@v1
with:
node-version: '18.x'
node-version: '20.x'
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
# install-command: 'npm install'
lint: true
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
# steps:
# - uses: ioBroker/testing-action-deploy@v1
# with:
# node-version: '18.x'
# node-version: '20.x'
# # Uncomment the following line if your adapter cannot be installed using 'npm ci'
# # install-command: 'npm install'
# npm-token: ${{ secrets.NPM_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions JavaScript/admin/i18n/de/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Adaptereinstellungen für template",
"option1": "Option 1",
"option2": "Option 2"
"option1": "Option1",
"option2": "Option2"
}
4 changes: 2 additions & 2 deletions JavaScript/admin/i18n/es/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Ajustes del adaptador para template",
"option1": "Opción 1",
"option2": "opcion 2"
"option1": "opción1",
"option2": "opción2"
}
4 changes: 2 additions & 2 deletions JavaScript/admin/i18n/fr/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Paramètres d'adaptateur pour template",
"option1": "Option 1",
"option2": "Option 2"
"option1": "option1",
"option2": "option2"
}
4 changes: 2 additions & 2 deletions JavaScript/admin/i18n/it/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Impostazioni dell'adattatore per template",
"option1": "opzione 1",
"option2": "opzione 2"
"option1": "opzione1",
"option2": "opzione2"
}
4 changes: 2 additions & 2 deletions JavaScript/admin/i18n/nl/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Adapterinstellingen voor template",
"option1": "Optie 1",
"option2": "Optie 2"
"option1": "optie1",
"option2": "optie2"
}
2 changes: 1 addition & 1 deletion JavaScript/admin/i18n/pl/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Ustawienia adaptera dla template",
"option1": "opcja 1",
"option2": "Opcja 2"
"option2": "opcja 2"
}
4 changes: 2 additions & 2 deletions JavaScript/admin/i18n/pt/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Configurações do adaptador para template",
"option1": "Opção 1",
"option2": "opção 2"
"option1": "opção1",
"option2": "opção2"
}
4 changes: 2 additions & 2 deletions JavaScript/admin/i18n/ru/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Настройки адаптера для template",
"option1": "Опция 1",
"option2": "вариант 2"
"option1": "вариант 1",
"option2": "вариант2"
}
30 changes: 15 additions & 15 deletions JavaScript/admin/words.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ systemDictionary = {
},
'option1': {
'en': 'option1',
'de': 'Option 1',
'ru': 'Опция 1',
'pt': 'Opção 1',
'nl': 'Optie 1',
'fr': 'Option 1',
'it': 'opzione 1',
'es': 'Opción 1',
'de': 'Option1',
'ru': 'вариант 1',
'pt': 'opção1',
'nl': 'optie1',
'fr': 'option1',
'it': 'opzione1',
'es': 'opción1',
'pl': 'opcja 1',
'uk': 'варіант1',
'zh-cn': '选项1'
},
'option2': {
'en': 'option2',
'de': 'Option 2',
'ru': 'вариант 2',
'pt': 'opção 2',
'nl': 'Optie 2',
'fr': 'Option 2',
'it': 'opzione 2',
'es': 'opcion 2',
'pl': 'Opcja 2',
'de': 'Option2',
'ru': 'вариант2',
'pt': 'opção2',
'nl': 'optie2',
'fr': 'option2',
'it': 'opzione2',
'es': 'opción2',
'pl': 'opcja 2',
'uk': 'варіант2',
'zh-cn': '选项2'
}
Expand Down
7 changes: 2 additions & 5 deletions JavaScript/io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"zh-cn": "首次出版"
}
},
"title": "Template (JavaScript)",
"titleLang": {
"en": "Template (JavaScript)",
"de": "Vorlage (JavaScript)",
Expand Down Expand Up @@ -53,13 +52,11 @@
"Smart Home",
"home automation"
],
"license": "MIT",
"licenseInformation": {
"type": "free",
"license": "MIT"
},
"platform": "Javascript/Node.js",
"main": "main.js",
"icon": "template.png",
"enabled": true,
"extIcon": "https://raw.githubusercontent.com/Author/ioBroker.template/main/admin/template.png",
Expand Down Expand Up @@ -94,12 +91,12 @@
"supportCustoms": true,
"dependencies": [
{
"js-controller": ">=3.3.22"
"js-controller": ">=6.0.11"
}
],
"globalDependencies": [
{
"admin": ">=5.1.13"
"admin": "7.0.23"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

/*
* Created with @iobroker/create-adapter v2.6.3
* Created with @iobroker/create-adapter v2.6.5
*/

// The adapter-core module gives you access to the core ioBroker functions
Expand Down
26 changes: 13 additions & 13 deletions JavaScript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,32 @@
"url": "https://github.com/Author/ioBroker.template.git"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
},
"dependencies": {
"@iobroker/adapter-core": "^3.0.6"
"@iobroker/adapter-core": "^3.1.6"
},
"devDependencies": {
"@alcalzone/release-script": "^3.7.0",
"@alcalzone/release-script-plugin-iobroker": "^3.7.0",
"@alcalzone/release-script": "^3.8.0",
"@alcalzone/release-script-plugin-iobroker": "^3.7.2",
"@alcalzone/release-script-plugin-license": "^3.7.0",
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
"@iobroker/adapter-dev": "^1.3.0",
"@iobroker/testing": "^4.1.1",
"@tsconfig/node18": "^18.2.4",
"@types/chai": "^4.3.14",
"@iobroker/testing": "^4.1.3",
"@tsconfig/node20": "^20.1.4",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.30",
"@types/chai": "^4.3.19",
"@types/mocha": "^10.0.8",
"@types/node": "^20.16.5",
"@types/proxyquire": "^1.3.31",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"chai-as-promised": "^7.1.1",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.2",
"chai": "^4.5.0",
"eslint": "^8.57.0",
"mocha": "^10.4.0",
"mocha": "^10.7.3",
"proxyquire": "^2.1.3",
"sinon": "^17.0.1",
"sinon": "^19.0.2",
"sinon-chai": "^3.7.0",
"typescript": "~5.0.4"
},
Expand Down
4 changes: 2 additions & 2 deletions JavaScript/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Root tsconfig to set the settings and power editor support for all TS files
{
// To update the compilation target, install a different version of @tsconfig/node... and reference it here
// https://github.com/tsconfig/bases#node-18-tsconfigjson
"extends": "@tsconfig/node18/tsconfig.json",
// https://github.com/tsconfig/bases#node-20-tsconfigjson
"extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": {
// do not compile anything, this file is just to configure type checking
"noEmit": true,
Expand Down
2 changes: 1 addition & 1 deletion JavaScriptReact/.create-adapter.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
],
"indentation": "Space (4)",
"quotes": "single",
"creatorVersion": "2.6.3"
"creatorVersion": "2.6.5"
}
6 changes: 3 additions & 3 deletions JavaScriptReact/.github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: ioBroker/testing-action-check@v1
with:
node-version: '18.x'
node-version: '20.x'
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
# install-command: 'npm install'
lint: true
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
# steps:
# - uses: ioBroker/testing-action-deploy@v1
# with:
# node-version: '18.x'
# node-version: '20.x'
# # Uncomment the following line if your adapter cannot be installed using 'npm ci'
# # install-command: 'npm install'
# build: true
Expand Down
4 changes: 2 additions & 2 deletions JavaScriptReact/admin/src/i18n/de.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Adaptereinstellungen für template",
"option1": "Option 1",
"option2": "Option 2"
"option1": "Option1",
"option2": "Option2"
}
4 changes: 2 additions & 2 deletions JavaScriptReact/admin/src/i18n/es.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Ajustes del adaptador para template",
"option1": "Opción 1",
"option2": "opcion 2"
"option1": "opción1",
"option2": "opción2"
}
4 changes: 2 additions & 2 deletions JavaScriptReact/admin/src/i18n/fr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Paramètres d'adaptateur pour template",
"option1": "Option 1",
"option2": "Option 2"
"option1": "option1",
"option2": "option2"
}
4 changes: 2 additions & 2 deletions JavaScriptReact/admin/src/i18n/it.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Impostazioni dell'adattatore per template",
"option1": "opzione 1",
"option2": "opzione 2"
"option1": "opzione1",
"option2": "opzione2"
}
4 changes: 2 additions & 2 deletions JavaScriptReact/admin/src/i18n/nl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Adapterinstellingen voor template",
"option1": "Optie 1",
"option2": "Optie 2"
"option1": "optie1",
"option2": "optie2"
}
2 changes: 1 addition & 1 deletion JavaScriptReact/admin/src/i18n/pl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Ustawienia adaptera dla template",
"option1": "opcja 1",
"option2": "Opcja 2"
"option2": "opcja 2"
}
4 changes: 2 additions & 2 deletions JavaScriptReact/admin/src/i18n/pt.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Configurações do adaptador para template",
"option1": "Opção 1",
"option2": "opção 2"
"option1": "opção1",
"option2": "opção2"
}
4 changes: 2 additions & 2 deletions JavaScriptReact/admin/src/i18n/ru.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template adapter settings": "Настройки адаптера для template",
"option1": "Опция 1",
"option2": "вариант 2"
"option1": "вариант 1",
"option2": "вариант2"
}
7 changes: 2 additions & 5 deletions JavaScriptReact/io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"zh-cn": "首次出版"
}
},
"title": "Template (JavaScript)",
"titleLang": {
"en": "Template (JavaScript)",
"de": "Vorlage (JavaScript)",
Expand Down Expand Up @@ -53,13 +52,11 @@
"Smart Home",
"home automation"
],
"license": "MIT",
"licenseInformation": {
"type": "free",
"license": "MIT"
},
"platform": "Javascript/Node.js",
"main": "main.js",
"icon": "template.png",
"enabled": true,
"extIcon": "https://raw.githubusercontent.com/Author/ioBroker.template/main/admin/template.png",
Expand Down Expand Up @@ -95,12 +92,12 @@
"eraseOnUpload": true,
"dependencies": [
{
"js-controller": ">=3.3.22"
"js-controller": ">=6.0.11"
}
],
"globalDependencies": [
{
"admin": ">=5.0.0"
"admin": "7.0.23"
}
]
},
Expand Down
Loading

0 comments on commit 46e3823

Please sign in to comment.