From 9fb7ce46b6a8698b887e91c203a38741b4bb879a Mon Sep 17 00:00:00 2001 From: Dominic Griesel Date: Fri, 5 Jan 2024 20:16:35 +0100 Subject: [PATCH] accept baselines --- test/baselines/JS_ES2015/.eslintrc.json | 45 ----------- test/baselines/JS_LegacyMain/main.js | 2 +- test/baselines/ReleaseScript_JS/README.md | 2 +- test/baselines/ReleaseScript_JS/package.json | 18 ++--- test/baselines/ReleaseScript_TS/README.md | 2 +- test/baselines/ReleaseScript_TS/package.json | 42 +++++----- test/baselines/TS_Prettier/.eslintrc.js | 2 +- test/baselines/TS_Prettier/package.json | 40 +++++----- test/baselines/TS_SingleQuotes/.eslintrc.js | 2 +- test/baselines/TS_SingleQuotes/src/main.ts | 2 +- .../.create-adapter.json | 2 +- .../.eslintrc.json | 2 +- .../.github/workflows/test-and-release.yml | 2 +- .../LICENSE | 2 +- .../README.md | 2 +- .../io-package.json | 1 + .../main.js | 2 +- .../package.json | 26 +++--- .../tsconfig.json | 4 +- .../.create-adapter.json | 2 +- .../.eslintrc.json | 2 +- .../.github/workflows/test-and-release.yml | 2 +- .../LICENSE | 2 +- .../README.md | 2 +- .../io-package.json | 1 + .../main.js | 2 +- .../package.json | 26 +++--- .../tsconfig.json | 4 +- .../adapter_JS_React/.create-adapter.json | 2 +- .../baselines/adapter_JS_React/.eslintrc.json | 2 +- .../.github/workflows/test-and-release.yml | 2 +- test/baselines/adapter_JS_React/LICENSE | 2 +- test/baselines/adapter_JS_React/README.md | 2 +- .../adapter_JS_React/io-package.json | 1 + test/baselines/adapter_JS_React/main.js | 2 +- test/baselines/adapter_JS_React/package.json | 12 +-- .../.create-adapter.json | 2 +- .../.eslintrc.js | 2 +- .../.github/workflows/test-and-release.yml | 2 +- .../LICENSE | 2 +- .../README.md | 2 +- .../io-package.json | 1 + .../package.json | 34 ++++---- .../src/main.ts | 2 +- .../test/mocharc.custom.json | 2 +- .../tsconfig.json | 4 +- .../.create-adapter.json | 2 +- .../.eslintrc.js | 2 +- .../.github/workflows/test-and-release.yml | 2 +- .../LICENSE | 2 +- .../README.md | 2 +- .../io-package.json | 1 + .../package.json | 34 ++++---- .../src/main.ts | 2 +- .../test/mocharc.custom.json | 2 +- .../tsconfig.json | 4 +- .../adapter_TS_React/.create-adapter.json | 2 +- test/baselines/adapter_TS_React/.eslintrc.js | 2 +- .../.github/workflows/test-and-release.yml | 2 +- test/baselines/adapter_TS_React/LICENSE | 2 +- test/baselines/adapter_TS_React/README.md | 2 +- .../adapter_TS_React/io-package.json | 1 + test/baselines/adapter_TS_React/package.json | 40 +++++----- test/baselines/adapter_TS_React/src/main.ts | 2 +- .../adapter_TS_React/test/mocharc.custom.json | 2 +- test/baselines/adapter_TS_React/tsconfig.json | 4 +- .../connectionIndicator_yes/io-package.json | 1 + .../connectionIndicator_yes/src/main.ts | 2 +- test/baselines/connectionType/io-package.json | 1 + test/baselines/contributors/package.json | 34 ++++---- .../customAdapterSettings/io-package.json | 1 + .../customAdapterSettings/src/main.ts | 2 +- .../description_empty_1/io-package.json | 1 + .../description_empty_2/io-package.json | 1 + .../description_valid/io-package.json | 1 + test/baselines/dev-server/README.md | 2 +- test/baselines/git_SSH/package.json | 34 ++++---- test/baselines/keywords/io-package.json | 1 + test/baselines/keywords/package.json | 34 ++++---- test/baselines/minNodeVersion_16/package.json | 80 ------------------- .../baselines/minNodeVersion_16/tsconfig.json | 45 ----------- test/baselines/minNodeVersion_18/package.json | 32 ++++---- test/baselines/minNodeVersion_20/package.json | 32 ++++---- test/baselines/no_config/io-package.json | 1 + .../.github/workflows/test-and-release.yml | 2 +- test/baselines/portal-github/README.md | 2 +- .../startMode_schedule/io-package.json | 1 + test/baselines/type_storage/io-package.json | 1 + .../type_visualization-icons/io-package.json | 1 + .../baselines/vis_Widget/.create-adapter.json | 2 +- test/baselines/vis_Widget/LICENSE | 2 +- test/baselines/vis_Widget/README.md | 2 +- test/baselines/vis_Widget/io-package.json | 1 + test/baselines/vis_Widget/package.json | 2 +- .../vis_Widget/widgets/test-widget.html | 2 +- .../widgets/test-widget/js/test-widget.js | 2 +- test/create-adapter.test.ts | 31 +------ 97 files changed, 304 insertions(+), 485 deletions(-) delete mode 100644 test/baselines/JS_ES2015/.eslintrc.json delete mode 100644 test/baselines/minNodeVersion_16/package.json delete mode 100644 test/baselines/minNodeVersion_16/tsconfig.json diff --git a/test/baselines/JS_ES2015/.eslintrc.json b/test/baselines/JS_ES2015/.eslintrc.json deleted file mode 100644 index fe35c154..00000000 --- a/test/baselines/JS_ES2015/.eslintrc.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "root": true, - "env": { - "es6": true, - "node": true, - "mocha": true - }, - "extends": [ - "eslint:recommended" - ], - "plugins": [], - "rules": { - "indent": [ - "error", - "tab", - { - "SwitchCase": 1 - } - ], - "no-console": "off", - "no-unused-vars": [ - "error", - { - "ignoreRestSiblings": true, - "argsIgnorePattern": "^_" - } - ], - "no-var": "error", - "no-trailing-spaces": "error", - "prefer-const": "error", - "quotes": [ - "error", - "double", - { - "avoidEscape": true, - "allowTemplateLiterals": true - } - ], - "semi": [ - "error", - "always" - ] - }, - "parserOptions": {} -} \ No newline at end of file diff --git a/test/baselines/JS_LegacyMain/main.js b/test/baselines/JS_LegacyMain/main.js index 96822243..a4178d39 100644 --- a/test/baselines/JS_LegacyMain/main.js +++ b/test/baselines/JS_LegacyMain/main.js @@ -1,7 +1,7 @@ "use strict"; /* - * Created with @iobroker/create-adapter v2.4.0 + * Created with @iobroker/create-adapter v2.5.0 */ // The adapter-core module gives you access to the core ioBroker functions diff --git a/test/baselines/ReleaseScript_JS/README.md b/test/baselines/ReleaseScript_JS/README.md index 432c1d77..09e8c2d6 100644 --- a/test/baselines/ReleaseScript_JS/README.md +++ b/test/baselines/ReleaseScript_JS/README.md @@ -116,7 +116,7 @@ For later updates, the above procedure is not necessary. Just do the following: ## License MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/ReleaseScript_JS/package.json b/test/baselines/ReleaseScript_JS/package.json index 87f1adbe..603b8155 100644 --- a/test/baselines/ReleaseScript_JS/package.json +++ b/test/baselines/ReleaseScript_JS/package.json @@ -19,24 +19,24 @@ "url": "https://github.com/AlCalzone/ioBroker.test-adapter.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { - "@alcalzone/release-script": "^3.5.9", - "@alcalzone/release-script-plugin-iobroker": "^3.5.9", - "@alcalzone/release-script-plugin-license": "^3.5.9", - "@alcalzone/release-script-plugin-manual-review": "^3.5.9", + "@alcalzone/release-script": "^3.7.0", + "@alcalzone/release-script-plugin-iobroker": "^3.7.0", + "@alcalzone/release-script-plugin-license": "^3.7.0", + "@alcalzone/release-script-plugin-manual-review": "^3.7.0", "@iobroker/adapter-dev": "^1.2.0", "@iobroker/testing": "^4.1.0", - "chai": "^4.3.7", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", + "eslint": "^8.56.0", "mocha": "^10.2.0", "proxyquire": "^2.1.3", - "sinon": "^15.1.0", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0" }, "main": "main.js", diff --git a/test/baselines/ReleaseScript_TS/README.md b/test/baselines/ReleaseScript_TS/README.md index d60ea986..123cd855 100644 --- a/test/baselines/ReleaseScript_TS/README.md +++ b/test/baselines/ReleaseScript_TS/README.md @@ -124,7 +124,7 @@ For later updates, the above procedure is not necessary. Just do the following: ## License MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/ReleaseScript_TS/package.json b/test/baselines/ReleaseScript_TS/package.json index e365b535..801e4c1d 100644 --- a/test/baselines/ReleaseScript_TS/package.json +++ b/test/baselines/ReleaseScript_TS/package.json @@ -19,38 +19,38 @@ "url": "https://github.com/AlCalzone/ioBroker.test-adapter.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { - "@alcalzone/release-script": "^3.5.9", - "@alcalzone/release-script-plugin-iobroker": "^3.5.9", - "@alcalzone/release-script-plugin-license": "^3.5.9", - "@alcalzone/release-script-plugin-manual-review": "^3.5.9", + "@alcalzone/release-script": "^3.7.0", + "@alcalzone/release-script-plugin-iobroker": "^3.7.0", + "@alcalzone/release-script-plugin-license": "^3.7.0", + "@alcalzone/release-script-plugin-manual-review": "^3.7.0", "@iobroker/adapter-dev": "^1.2.0", "@iobroker/testing": "^4.1.0", - "@tsconfig/node16": "^1.0.4", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^16.18.34", - "@types/proxyquire": "^1.3.28", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", - "chai": "^4.3.7", + "@tsconfig/node18": "^18.2.2", + "@types/chai": "^4.3.11", + "@types/chai-as-promised": "^7.1.8", + "@types/mocha": "^10.0.6", + "@types/node": "^18.19.4", + "@types/proxyquire": "^1.3.31", + "@types/sinon": "^17.0.2", + "@types/sinon-chai": "^3.2.12", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", + "eslint": "^8.56.0", "mocha": "^10.2.0", "proxyquire": "^2.1.3", - "rimraf": "^5.0.1", - "sinon": "^15.1.0", + "rimraf": "^5.0.5", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", - "ts-node": "^10.9.1", + "ts-node": "^10.9.2", "typescript": "~5.0.4" }, "main": "build/main.js", diff --git a/test/baselines/TS_Prettier/.eslintrc.js b/test/baselines/TS_Prettier/.eslintrc.js index 75c73a82..b9a8c2f7 100644 --- a/test/baselines/TS_Prettier/.eslintrc.js +++ b/test/baselines/TS_Prettier/.eslintrc.js @@ -2,7 +2,7 @@ module.exports = { root: true, // Don't look outside this project for inherited configs parser: "@typescript-eslint/parser", // Specifies the ESLint parser parserOptions: { - ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features + ecmaVersion: "latest", // Allows for the parsing of modern ECMAScript features sourceType: "module", // Allows for the use of imports project: "./tsconfig.json", }, diff --git a/test/baselines/TS_Prettier/package.json b/test/baselines/TS_Prettier/package.json index b895c2be..992690b5 100644 --- a/test/baselines/TS_Prettier/package.json +++ b/test/baselines/TS_Prettier/package.json @@ -19,37 +19,37 @@ "url": "https://github.com/AlCalzone/ioBroker.test-adapter.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { "@iobroker/adapter-dev": "^1.2.0", "@iobroker/testing": "^4.1.0", - "@tsconfig/node16": "^1.0.4", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^16.18.34", - "@types/proxyquire": "^1.3.28", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", - "chai": "^4.3.7", + "@tsconfig/node18": "^18.2.2", + "@types/chai": "^4.3.11", + "@types/chai-as-promised": "^7.1.8", + "@types/mocha": "^10.0.6", + "@types/node": "^18.19.4", + "@types/proxyquire": "^1.3.31", + "@types/sinon": "^17.0.2", + "@types/sinon-chai": "^3.2.12", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", - "eslint-config-prettier": "^8.8.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-prettier": "^5.1.2", "mocha": "^10.2.0", - "prettier": "^2.8.8", + "prettier": "^3.1.1", "proxyquire": "^2.1.3", - "rimraf": "^5.0.1", - "sinon": "^15.1.0", + "rimraf": "^5.0.5", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", - "ts-node": "^10.9.1", + "ts-node": "^10.9.2", "typescript": "~5.0.4" }, "main": "build/main.js", diff --git a/test/baselines/TS_SingleQuotes/.eslintrc.js b/test/baselines/TS_SingleQuotes/.eslintrc.js index e8cf935f..4aad74c9 100644 --- a/test/baselines/TS_SingleQuotes/.eslintrc.js +++ b/test/baselines/TS_SingleQuotes/.eslintrc.js @@ -2,7 +2,7 @@ module.exports = { root: true, // Don't look outside this project for inherited configs parser: '@typescript-eslint/parser', // Specifies the ESLint parser parserOptions: { - ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features + ecmaVersion: 'latest', // Allows for the parsing of modern ECMAScript features sourceType: 'module', // Allows for the use of imports project: ['./tsconfig.json', './admin/tsconfig.json'], ecmaFeatures: { diff --git a/test/baselines/TS_SingleQuotes/src/main.ts b/test/baselines/TS_SingleQuotes/src/main.ts index 08e989fa..bf46e0fa 100644 --- a/test/baselines/TS_SingleQuotes/src/main.ts +++ b/test/baselines/TS_SingleQuotes/src/main.ts @@ -1,5 +1,5 @@ /* - * Created with @iobroker/create-adapter v2.4.0 + * Created with @iobroker/create-adapter v2.5.0 */ // The adapter-core module gives you access to the core ioBroker functions diff --git a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.create-adapter.json b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.create-adapter.json index b37f581d..6c327e3b 100644 --- a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.create-adapter.json +++ b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.create-adapter.json @@ -31,5 +31,5 @@ "gitCommit": "no", "defaultBranch": "main", "license": "Apache License 2.0", - "creatorVersion": "2.4.0" + "creatorVersion": "2.5.0" } \ No newline at end of file diff --git a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.eslintrc.json b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.eslintrc.json index f884035a..6e461e9d 100644 --- a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.eslintrc.json +++ b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.eslintrc.json @@ -42,6 +42,6 @@ ] }, "parserOptions": { - "ecmaVersion": 2020 + "ecmaVersion": "latest" } } \ No newline at end of file diff --git a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.github/workflows/test-and-release.yml b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.github/workflows/test-and-release.yml index 13d62b1c..febfb1ed 100644 --- a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.github/workflows/test-and-release.yml +++ b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.github/workflows/test-and-release.yml @@ -40,7 +40,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: diff --git a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/LICENSE b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/LICENSE index 13123dd6..8f1225dd 100644 --- a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/LICENSE +++ b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2023 Al Calzone + Copyright 2024 Al Calzone Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/README.md b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/README.md index a134b2ba..95e8c899 100644 --- a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/README.md +++ b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/README.md @@ -290,7 +290,7 @@ For later updates, the above procedure is not necessary. Just do the following: same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2023 Al Calzone + Copyright 2024 Al Calzone Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/io-package.json b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/io-package.json index 79285b3b..7da1d833 100644 --- a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/io-package.json +++ b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/main.js b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/main.js index f4d8f0e0..cbb859cf 100644 --- a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/main.js +++ b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/main.js @@ -1,7 +1,7 @@ 'use strict'; /* - * Created with @iobroker/create-adapter v2.4.0 + * Created with @iobroker/create-adapter v2.5.0 */ // The adapter-core module gives you access to the core ioBroker functions diff --git a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/package.json b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/package.json index 5788d074..58eb783c 100644 --- a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/package.json +++ b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/package.json @@ -19,28 +19,28 @@ "url": "https://github.com/AlCalzone/ioBroker.test-adapter.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { "@iobroker/adapter-dev": "^1.2.0", "@iobroker/testing": "^4.1.0", - "@tsconfig/node16": "^1.0.4", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^16.18.34", - "@types/proxyquire": "^1.3.28", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "chai": "^4.3.7", + "@tsconfig/node18": "^18.2.2", + "@types/chai": "^4.3.11", + "@types/chai-as-promised": "^7.1.8", + "@types/mocha": "^10.0.6", + "@types/node": "^18.19.4", + "@types/proxyquire": "^1.3.31", + "@types/sinon": "^17.0.2", + "@types/sinon-chai": "^3.2.12", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", + "eslint": "^8.56.0", "mocha": "^10.2.0", "proxyquire": "^2.1.3", - "sinon": "^15.1.0", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "typescript": "~5.0.4" }, diff --git a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/tsconfig.json b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/tsconfig.json index e2f7f2d8..2595af45 100644 --- a/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/tsconfig.json +++ b/test/baselines/adapter_JS_ES6Class_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/tsconfig.json @@ -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-16-tsconfigjson - "extends": "@tsconfig/node16/tsconfig.json", + // https://github.com/tsconfig/bases#node-18-tsconfigjson + "extends": "@tsconfig/node18/tsconfig.json", "compilerOptions": { // do not compile anything, this file is just to configure type checking "noEmit": true, diff --git a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.create-adapter.json b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.create-adapter.json index 24cae2b6..71cffa51 100644 --- a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.create-adapter.json +++ b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.create-adapter.json @@ -31,5 +31,5 @@ "gitCommit": "no", "defaultBranch": "main", "license": "Apache License 2.0", - "creatorVersion": "2.4.0" + "creatorVersion": "2.5.0" } \ No newline at end of file diff --git a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.eslintrc.json b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.eslintrc.json index f884035a..6e461e9d 100644 --- a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.eslintrc.json +++ b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.eslintrc.json @@ -42,6 +42,6 @@ ] }, "parserOptions": { - "ecmaVersion": 2020 + "ecmaVersion": "latest" } } \ No newline at end of file diff --git a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.github/workflows/test-and-release.yml b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.github/workflows/test-and-release.yml index 13d62b1c..febfb1ed 100644 --- a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.github/workflows/test-and-release.yml +++ b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.github/workflows/test-and-release.yml @@ -40,7 +40,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: diff --git a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/LICENSE b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/LICENSE index 13123dd6..8f1225dd 100644 --- a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/LICENSE +++ b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2023 Al Calzone + Copyright 2024 Al Calzone Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/README.md b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/README.md index a134b2ba..95e8c899 100644 --- a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/README.md +++ b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/README.md @@ -290,7 +290,7 @@ For later updates, the above procedure is not necessary. Just do the following: same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2023 Al Calzone + Copyright 2024 Al Calzone Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/io-package.json b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/io-package.json index 7d0b06b2..7450edd5 100644 --- a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/io-package.json +++ b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/main.js b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/main.js index 115e8691..b4056fd3 100644 --- a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/main.js +++ b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/main.js @@ -1,7 +1,7 @@ 'use strict'; /* - * Created with @iobroker/create-adapter v2.4.0 + * Created with @iobroker/create-adapter v2.5.0 */ // The adapter-core module gives you access to the core ioBroker functions diff --git a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/package.json b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/package.json index 5788d074..58eb783c 100644 --- a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/package.json +++ b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/package.json @@ -19,28 +19,28 @@ "url": "https://github.com/AlCalzone/ioBroker.test-adapter.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { "@iobroker/adapter-dev": "^1.2.0", "@iobroker/testing": "^4.1.0", - "@tsconfig/node16": "^1.0.4", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^16.18.34", - "@types/proxyquire": "^1.3.28", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "chai": "^4.3.7", + "@tsconfig/node18": "^18.2.2", + "@types/chai": "^4.3.11", + "@types/chai-as-promised": "^7.1.8", + "@types/mocha": "^10.0.6", + "@types/node": "^18.19.4", + "@types/proxyquire": "^1.3.31", + "@types/sinon": "^17.0.2", + "@types/sinon-chai": "^3.2.12", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", + "eslint": "^8.56.0", "mocha": "^10.2.0", "proxyquire": "^2.1.3", - "sinon": "^15.1.0", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "typescript": "~5.0.4" }, diff --git a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/tsconfig.json b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/tsconfig.json index e2f7f2d8..2595af45 100644 --- a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/tsconfig.json +++ b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/tsconfig.json @@ -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-16-tsconfigjson - "extends": "@tsconfig/node16/tsconfig.json", + // https://github.com/tsconfig/bases#node-18-tsconfigjson + "extends": "@tsconfig/node18/tsconfig.json", "compilerOptions": { // do not compile anything, this file is just to configure type checking "noEmit": true, diff --git a/test/baselines/adapter_JS_React/.create-adapter.json b/test/baselines/adapter_JS_React/.create-adapter.json index 9eb473ec..baabe7a8 100644 --- a/test/baselines/adapter_JS_React/.create-adapter.json +++ b/test/baselines/adapter_JS_React/.create-adapter.json @@ -30,5 +30,5 @@ "gitCommit": "no", "defaultBranch": "main", "license": "MIT License", - "creatorVersion": "2.4.0" + "creatorVersion": "2.5.0" } \ No newline at end of file diff --git a/test/baselines/adapter_JS_React/.eslintrc.json b/test/baselines/adapter_JS_React/.eslintrc.json index d0f9e7a5..56d859b3 100644 --- a/test/baselines/adapter_JS_React/.eslintrc.json +++ b/test/baselines/adapter_JS_React/.eslintrc.json @@ -50,7 +50,7 @@ ] }, "parserOptions": { - "ecmaVersion": 2020, + "ecmaVersion": "latest", "ecmaFeatures": { "jsx": true } diff --git a/test/baselines/adapter_JS_React/.github/workflows/test-and-release.yml b/test/baselines/adapter_JS_React/.github/workflows/test-and-release.yml index 44ab556f..22dba636 100644 --- a/test/baselines/adapter_JS_React/.github/workflows/test-and-release.yml +++ b/test/baselines/adapter_JS_React/.github/workflows/test-and-release.yml @@ -40,7 +40,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: diff --git a/test/baselines/adapter_JS_React/LICENSE b/test/baselines/adapter_JS_React/LICENSE index 8fceb74a..4a63a453 100644 --- a/test/baselines/adapter_JS_React/LICENSE +++ b/test/baselines/adapter_JS_React/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/adapter_JS_React/README.md b/test/baselines/adapter_JS_React/README.md index bb228b05..d45db24e 100644 --- a/test/baselines/adapter_JS_React/README.md +++ b/test/baselines/adapter_JS_React/README.md @@ -110,7 +110,7 @@ For later updates, the above procedure is not necessary. Just do the following: ## License MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/adapter_JS_React/io-package.json b/test/baselines/adapter_JS_React/io-package.json index c0a89b58..d633677f 100644 --- a/test/baselines/adapter_JS_React/io-package.json +++ b/test/baselines/adapter_JS_React/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/adapter_JS_React/main.js b/test/baselines/adapter_JS_React/main.js index 63138059..1f9cd45e 100644 --- a/test/baselines/adapter_JS_React/main.js +++ b/test/baselines/adapter_JS_React/main.js @@ -1,7 +1,7 @@ "use strict"; /* - * Created with @iobroker/create-adapter v2.4.0 + * Created with @iobroker/create-adapter v2.5.0 */ // The adapter-core module gives you access to the core ioBroker functions diff --git a/test/baselines/adapter_JS_React/package.json b/test/baselines/adapter_JS_React/package.json index 85d03d5f..08c7c869 100644 --- a/test/baselines/adapter_JS_React/package.json +++ b/test/baselines/adapter_JS_React/package.json @@ -19,25 +19,25 @@ "url": "https://github.com/AlCalzone/ioBroker.test-adapter.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { "@iobroker/adapter-dev": "^1.2.0", "@iobroker/adapter-react": "2.0.22", "@iobroker/testing": "^4.1.0", "@material-ui/core": "^4.12.4", - "chai": "^4.3.7", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", - "eslint-plugin-react": "^7.32.2", + "eslint": "^8.56.0", + "eslint-plugin-react": "^7.33.2", "mocha": "^10.2.0", "proxyquire": "^2.1.3", "react-dom": "^17.0.2", "react": "^17.0.2", - "sinon": "^15.1.0", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0" }, "main": "main.js", diff --git a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/.create-adapter.json b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/.create-adapter.json index 61653bbb..508ff917 100644 --- a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/.create-adapter.json +++ b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/.create-adapter.json @@ -30,5 +30,5 @@ "gitCommit": "no", "defaultBranch": "main", "license": "MIT License", - "creatorVersion": "2.4.0" + "creatorVersion": "2.5.0" } \ No newline at end of file diff --git a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/.eslintrc.js b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/.eslintrc.js index 0986a170..7f997db7 100644 --- a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/.eslintrc.js +++ b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/.eslintrc.js @@ -2,7 +2,7 @@ module.exports = { root: true, // Don't look outside this project for inherited configs parser: "@typescript-eslint/parser", // Specifies the ESLint parser parserOptions: { - ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features + ecmaVersion: "latest", // Allows for the parsing of modern ECMAScript features sourceType: "module", // Allows for the use of imports project: "./tsconfig.json", }, diff --git a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/.github/workflows/test-and-release.yml b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/.github/workflows/test-and-release.yml index f15fe5e9..e0cf5e75 100644 --- a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/.github/workflows/test-and-release.yml +++ b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/.github/workflows/test-and-release.yml @@ -41,7 +41,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: diff --git a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/LICENSE b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/LICENSE index 8fceb74a..4a63a453 100644 --- a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/LICENSE +++ b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/README.md b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/README.md index adf1979e..3b3a2409 100644 --- a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/README.md +++ b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/README.md @@ -111,7 +111,7 @@ For later updates, the above procedure is not necessary. Just do the following: ## License MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/io-package.json b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/io-package.json index af94e9b1..ea21f284 100644 --- a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/io-package.json +++ b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/package.json b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/package.json index 4866e67a..893fb57e 100644 --- a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/package.json +++ b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/package.json @@ -19,34 +19,34 @@ "url": "https://github.com/AlCalzone/ioBroker.test-adapter.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { "@iobroker/adapter-dev": "^1.2.0", "@iobroker/testing": "^4.1.0", - "@tsconfig/node16": "^1.0.4", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^16.18.34", - "@types/proxyquire": "^1.3.28", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", - "chai": "^4.3.7", + "@tsconfig/node18": "^18.2.2", + "@types/chai": "^4.3.11", + "@types/chai-as-promised": "^7.1.8", + "@types/mocha": "^10.0.6", + "@types/node": "^18.19.4", + "@types/proxyquire": "^1.3.31", + "@types/sinon": "^17.0.2", + "@types/sinon-chai": "^3.2.12", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", + "eslint": "^8.56.0", "mocha": "^10.2.0", "proxyquire": "^2.1.3", - "rimraf": "^5.0.1", - "sinon": "^15.1.0", + "rimraf": "^5.0.5", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", - "ts-node": "^10.9.1", + "ts-node": "^10.9.2", "typescript": "~5.0.4" }, "main": "build/main.js", diff --git a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/src/main.ts b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/src/main.ts index 078a67ca..c7002ddc 100644 --- a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/src/main.ts +++ b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/src/main.ts @@ -1,5 +1,5 @@ /* - * Created with @iobroker/create-adapter v2.4.0 + * Created with @iobroker/create-adapter v2.5.0 */ // The adapter-core module gives you access to the core ioBroker functions diff --git a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/test/mocharc.custom.json b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/test/mocharc.custom.json index 851ed9cd..88a0726a 100644 --- a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/test/mocharc.custom.json +++ b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/test/mocharc.custom.json @@ -1,7 +1,7 @@ { "require": [ "test/mocha.setup.js", - "ts-node/register", + "tsx/cjs", "source-map-support/register" ], "watch-files": [ diff --git a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json index bdc318fa..f32f1245 100644 --- a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json +++ b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json @@ -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-16-tsconfigjson - "extends": "@tsconfig/node16/tsconfig.json", + // https://github.com/tsconfig/bases#node-18-tsconfigjson + "extends": "@tsconfig/node18/tsconfig.json", "compilerOptions": { // do not compile anything, this file is just to configure type checking // the compilation is configured in tsconfig.build.json diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.create-adapter.json b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.create-adapter.json index 073c5f09..7559aeee 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.create-adapter.json +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.create-adapter.json @@ -33,5 +33,5 @@ "gitCommit": "no", "defaultBranch": "main", "license": "MIT License", - "creatorVersion": "2.4.0" + "creatorVersion": "2.5.0" } \ No newline at end of file diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.eslintrc.js b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.eslintrc.js index 0986a170..7f997db7 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.eslintrc.js +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.eslintrc.js @@ -2,7 +2,7 @@ module.exports = { root: true, // Don't look outside this project for inherited configs parser: "@typescript-eslint/parser", // Specifies the ESLint parser parserOptions: { - ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features + ecmaVersion: "latest", // Allows for the parsing of modern ECMAScript features sourceType: "module", // Allows for the use of imports project: "./tsconfig.json", }, diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.github/workflows/test-and-release.yml b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.github/workflows/test-and-release.yml index f15fe5e9..e0cf5e75 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.github/workflows/test-and-release.yml +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.github/workflows/test-and-release.yml @@ -41,7 +41,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/LICENSE b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/LICENSE index 8fceb74a..4a63a453 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/LICENSE +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/README.md b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/README.md index adf1979e..3b3a2409 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/README.md +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/README.md @@ -111,7 +111,7 @@ For later updates, the above procedure is not necessary. Just do the following: ## License MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/io-package.json b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/io-package.json index 5a8296d7..4aca7eb2 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/io-package.json +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/package.json b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/package.json index 4866e67a..893fb57e 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/package.json +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/package.json @@ -19,34 +19,34 @@ "url": "https://github.com/AlCalzone/ioBroker.test-adapter.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { "@iobroker/adapter-dev": "^1.2.0", "@iobroker/testing": "^4.1.0", - "@tsconfig/node16": "^1.0.4", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^16.18.34", - "@types/proxyquire": "^1.3.28", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", - "chai": "^4.3.7", + "@tsconfig/node18": "^18.2.2", + "@types/chai": "^4.3.11", + "@types/chai-as-promised": "^7.1.8", + "@types/mocha": "^10.0.6", + "@types/node": "^18.19.4", + "@types/proxyquire": "^1.3.31", + "@types/sinon": "^17.0.2", + "@types/sinon-chai": "^3.2.12", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", + "eslint": "^8.56.0", "mocha": "^10.2.0", "proxyquire": "^2.1.3", - "rimraf": "^5.0.1", - "sinon": "^15.1.0", + "rimraf": "^5.0.5", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", - "ts-node": "^10.9.1", + "ts-node": "^10.9.2", "typescript": "~5.0.4" }, "main": "build/main.js", diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/src/main.ts b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/src/main.ts index 8b2b4e92..ec1d7a77 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/src/main.ts +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/src/main.ts @@ -1,5 +1,5 @@ /* - * Created with @iobroker/create-adapter v2.4.0 + * Created with @iobroker/create-adapter v2.5.0 */ // The adapter-core module gives you access to the core ioBroker functions diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/test/mocharc.custom.json b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/test/mocharc.custom.json index 851ed9cd..88a0726a 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/test/mocharc.custom.json +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/test/mocharc.custom.json @@ -1,7 +1,7 @@ { "require": [ "test/mocha.setup.js", - "ts-node/register", + "tsx/cjs", "source-map-support/register" ], "watch-files": [ diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json index bdc318fa..f32f1245 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json @@ -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-16-tsconfigjson - "extends": "@tsconfig/node16/tsconfig.json", + // https://github.com/tsconfig/bases#node-18-tsconfigjson + "extends": "@tsconfig/node18/tsconfig.json", "compilerOptions": { // do not compile anything, this file is just to configure type checking // the compilation is configured in tsconfig.build.json diff --git a/test/baselines/adapter_TS_React/.create-adapter.json b/test/baselines/adapter_TS_React/.create-adapter.json index 6257e4cc..ad3c3d5b 100644 --- a/test/baselines/adapter_TS_React/.create-adapter.json +++ b/test/baselines/adapter_TS_React/.create-adapter.json @@ -30,5 +30,5 @@ "gitCommit": "no", "defaultBranch": "main", "license": "MIT License", - "creatorVersion": "2.4.0" + "creatorVersion": "2.5.0" } \ No newline at end of file diff --git a/test/baselines/adapter_TS_React/.eslintrc.js b/test/baselines/adapter_TS_React/.eslintrc.js index ab918ea1..d050da9c 100644 --- a/test/baselines/adapter_TS_React/.eslintrc.js +++ b/test/baselines/adapter_TS_React/.eslintrc.js @@ -2,7 +2,7 @@ module.exports = { root: true, // Don't look outside this project for inherited configs parser: "@typescript-eslint/parser", // Specifies the ESLint parser parserOptions: { - ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features + ecmaVersion: "latest", // Allows for the parsing of modern ECMAScript features sourceType: "module", // Allows for the use of imports project: ["./tsconfig.json", "./admin/tsconfig.json"], ecmaFeatures: { diff --git a/test/baselines/adapter_TS_React/.github/workflows/test-and-release.yml b/test/baselines/adapter_TS_React/.github/workflows/test-and-release.yml index 91454860..5770755b 100644 --- a/test/baselines/adapter_TS_React/.github/workflows/test-and-release.yml +++ b/test/baselines/adapter_TS_React/.github/workflows/test-and-release.yml @@ -41,7 +41,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: diff --git a/test/baselines/adapter_TS_React/LICENSE b/test/baselines/adapter_TS_React/LICENSE index 8fceb74a..4a63a453 100644 --- a/test/baselines/adapter_TS_React/LICENSE +++ b/test/baselines/adapter_TS_React/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/adapter_TS_React/README.md b/test/baselines/adapter_TS_React/README.md index 86e1de1a..8dd3a2bb 100644 --- a/test/baselines/adapter_TS_React/README.md +++ b/test/baselines/adapter_TS_React/README.md @@ -115,7 +115,7 @@ For later updates, the above procedure is not necessary. Just do the following: ## License MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/adapter_TS_React/io-package.json b/test/baselines/adapter_TS_React/io-package.json index 3a1e4ec2..580b0265 100644 --- a/test/baselines/adapter_TS_React/io-package.json +++ b/test/baselines/adapter_TS_React/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/adapter_TS_React/package.json b/test/baselines/adapter_TS_React/package.json index 20edc6ae..c0a93cbe 100644 --- a/test/baselines/adapter_TS_React/package.json +++ b/test/baselines/adapter_TS_React/package.json @@ -19,41 +19,41 @@ "url": "https://github.com/AlCalzone/ioBroker.test-adapter.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { "@iobroker/adapter-dev": "^1.2.0", "@iobroker/adapter-react": "2.0.22", "@iobroker/testing": "^4.1.0", "@material-ui/core": "^4.12.4", - "@tsconfig/node16": "^1.0.4", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^16.18.34", - "@types/proxyquire": "^1.3.28", - "@types/react-dom": "^17.0.20", - "@types/react": "^17.0.60", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", - "chai": "^4.3.7", + "@tsconfig/node18": "^18.2.2", + "@types/chai": "^4.3.11", + "@types/chai-as-promised": "^7.1.8", + "@types/mocha": "^10.0.6", + "@types/node": "^18.19.4", + "@types/proxyquire": "^1.3.31", + "@types/react-dom": "^17.0.25", + "@types/react": "^17.0.74", + "@types/sinon": "^17.0.2", + "@types/sinon-chai": "^3.2.12", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", - "eslint-plugin-react": "^7.32.2", + "eslint": "^8.56.0", + "eslint-plugin-react": "^7.33.2", "mocha": "^10.2.0", "proxyquire": "^2.1.3", "react-dom": "^17.0.2", "react": "^17.0.2", - "rimraf": "^5.0.1", - "sinon": "^15.1.0", + "rimraf": "^5.0.5", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", - "ts-node": "^10.9.1", + "ts-node": "^10.9.2", "typescript": "~5.0.4" }, "main": "build/main.js", diff --git a/test/baselines/adapter_TS_React/src/main.ts b/test/baselines/adapter_TS_React/src/main.ts index 078a67ca..c7002ddc 100644 --- a/test/baselines/adapter_TS_React/src/main.ts +++ b/test/baselines/adapter_TS_React/src/main.ts @@ -1,5 +1,5 @@ /* - * Created with @iobroker/create-adapter v2.4.0 + * Created with @iobroker/create-adapter v2.5.0 */ // The adapter-core module gives you access to the core ioBroker functions diff --git a/test/baselines/adapter_TS_React/test/mocharc.custom.json b/test/baselines/adapter_TS_React/test/mocharc.custom.json index 851ed9cd..88a0726a 100644 --- a/test/baselines/adapter_TS_React/test/mocharc.custom.json +++ b/test/baselines/adapter_TS_React/test/mocharc.custom.json @@ -1,7 +1,7 @@ { "require": [ "test/mocha.setup.js", - "ts-node/register", + "tsx/cjs", "source-map-support/register" ], "watch-files": [ diff --git a/test/baselines/adapter_TS_React/tsconfig.json b/test/baselines/adapter_TS_React/tsconfig.json index bdc318fa..f32f1245 100644 --- a/test/baselines/adapter_TS_React/tsconfig.json +++ b/test/baselines/adapter_TS_React/tsconfig.json @@ -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-16-tsconfigjson - "extends": "@tsconfig/node16/tsconfig.json", + // https://github.com/tsconfig/bases#node-18-tsconfigjson + "extends": "@tsconfig/node18/tsconfig.json", "compilerOptions": { // do not compile anything, this file is just to configure type checking // the compilation is configured in tsconfig.build.json diff --git a/test/baselines/connectionIndicator_yes/io-package.json b/test/baselines/connectionIndicator_yes/io-package.json index 6b965c99..2744161e 100644 --- a/test/baselines/connectionIndicator_yes/io-package.json +++ b/test/baselines/connectionIndicator_yes/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/connectionIndicator_yes/src/main.ts b/test/baselines/connectionIndicator_yes/src/main.ts index 1133214e..ad345e42 100644 --- a/test/baselines/connectionIndicator_yes/src/main.ts +++ b/test/baselines/connectionIndicator_yes/src/main.ts @@ -1,5 +1,5 @@ /* - * Created with @iobroker/create-adapter v2.4.0 + * Created with @iobroker/create-adapter v2.5.0 */ // The adapter-core module gives you access to the core ioBroker functions diff --git a/test/baselines/connectionType/io-package.json b/test/baselines/connectionType/io-package.json index c30ad5fb..0e2f6af5 100644 --- a/test/baselines/connectionType/io-package.json +++ b/test/baselines/connectionType/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/contributors/package.json b/test/baselines/contributors/package.json index 1ed15565..e56b4d41 100644 --- a/test/baselines/contributors/package.json +++ b/test/baselines/contributors/package.json @@ -27,34 +27,34 @@ "url": "https://github.com/AlCalzone/ioBroker.test-adapter.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { "@iobroker/adapter-dev": "^1.2.0", "@iobroker/testing": "^4.1.0", - "@tsconfig/node16": "^1.0.4", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^16.18.34", - "@types/proxyquire": "^1.3.28", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", - "chai": "^4.3.7", + "@tsconfig/node18": "^18.2.2", + "@types/chai": "^4.3.11", + "@types/chai-as-promised": "^7.1.8", + "@types/mocha": "^10.0.6", + "@types/node": "^18.19.4", + "@types/proxyquire": "^1.3.31", + "@types/sinon": "^17.0.2", + "@types/sinon-chai": "^3.2.12", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", + "eslint": "^8.56.0", "mocha": "^10.2.0", "proxyquire": "^2.1.3", - "rimraf": "^5.0.1", - "sinon": "^15.1.0", + "rimraf": "^5.0.5", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", - "ts-node": "^10.9.1", + "ts-node": "^10.9.2", "typescript": "~5.0.4" }, "main": "build/main.js", diff --git a/test/baselines/customAdapterSettings/io-package.json b/test/baselines/customAdapterSettings/io-package.json index e265d4ce..7698e366 100644 --- a/test/baselines/customAdapterSettings/io-package.json +++ b/test/baselines/customAdapterSettings/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/customAdapterSettings/src/main.ts b/test/baselines/customAdapterSettings/src/main.ts index d76dd2d6..9563bb86 100644 --- a/test/baselines/customAdapterSettings/src/main.ts +++ b/test/baselines/customAdapterSettings/src/main.ts @@ -1,5 +1,5 @@ /* - * Created with @iobroker/create-adapter v2.4.0 + * Created with @iobroker/create-adapter v2.5.0 */ // The adapter-core module gives you access to the core ioBroker functions diff --git a/test/baselines/description_empty_1/io-package.json b/test/baselines/description_empty_1/io-package.json index af94e9b1..ea21f284 100644 --- a/test/baselines/description_empty_1/io-package.json +++ b/test/baselines/description_empty_1/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/description_empty_2/io-package.json b/test/baselines/description_empty_2/io-package.json index af94e9b1..ea21f284 100644 --- a/test/baselines/description_empty_2/io-package.json +++ b/test/baselines/description_empty_2/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/description_valid/io-package.json b/test/baselines/description_valid/io-package.json index 496002f6..825e5c2c 100644 --- a/test/baselines/description_valid/io-package.json +++ b/test/baselines/description_valid/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/dev-server/README.md b/test/baselines/dev-server/README.md index ea046757..b295c141 100644 --- a/test/baselines/dev-server/README.md +++ b/test/baselines/dev-server/README.md @@ -106,7 +106,7 @@ Please refer to the [`dev-server` documentation](https://github.com/ioBroker/dev ## License MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/git_SSH/package.json b/test/baselines/git_SSH/package.json index 88294c1a..81e7fbec 100644 --- a/test/baselines/git_SSH/package.json +++ b/test/baselines/git_SSH/package.json @@ -19,34 +19,34 @@ "url": "git@github.com:AlCalzone/ioBroker.test-adapter.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { "@iobroker/adapter-dev": "^1.2.0", "@iobroker/testing": "^4.1.0", - "@tsconfig/node16": "^1.0.4", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^16.18.34", - "@types/proxyquire": "^1.3.28", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", - "chai": "^4.3.7", + "@tsconfig/node18": "^18.2.2", + "@types/chai": "^4.3.11", + "@types/chai-as-promised": "^7.1.8", + "@types/mocha": "^10.0.6", + "@types/node": "^18.19.4", + "@types/proxyquire": "^1.3.31", + "@types/sinon": "^17.0.2", + "@types/sinon-chai": "^3.2.12", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", + "eslint": "^8.56.0", "mocha": "^10.2.0", "proxyquire": "^2.1.3", - "rimraf": "^5.0.1", - "sinon": "^15.1.0", + "rimraf": "^5.0.5", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", - "ts-node": "^10.9.1", + "ts-node": "^10.9.2", "typescript": "~5.0.4" }, "main": "build/main.js", diff --git a/test/baselines/keywords/io-package.json b/test/baselines/keywords/io-package.json index ee800d3b..b92782fe 100644 --- a/test/baselines/keywords/io-package.json +++ b/test/baselines/keywords/io-package.json @@ -62,6 +62,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/keywords/package.json b/test/baselines/keywords/package.json index 51e5d52c..3ae3d204 100644 --- a/test/baselines/keywords/package.json +++ b/test/baselines/keywords/package.json @@ -20,34 +20,34 @@ "url": "https://github.com/AlCalzone/ioBroker.test-adapter.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { "@iobroker/adapter-dev": "^1.2.0", "@iobroker/testing": "^4.1.0", - "@tsconfig/node16": "^1.0.4", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^16.18.34", - "@types/proxyquire": "^1.3.28", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", - "chai": "^4.3.7", + "@tsconfig/node18": "^18.2.2", + "@types/chai": "^4.3.11", + "@types/chai-as-promised": "^7.1.8", + "@types/mocha": "^10.0.6", + "@types/node": "^18.19.4", + "@types/proxyquire": "^1.3.31", + "@types/sinon": "^17.0.2", + "@types/sinon-chai": "^3.2.12", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", + "eslint": "^8.56.0", "mocha": "^10.2.0", "proxyquire": "^2.1.3", - "rimraf": "^5.0.1", - "sinon": "^15.1.0", + "rimraf": "^5.0.5", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", - "ts-node": "^10.9.1", + "ts-node": "^10.9.2", "typescript": "~5.0.4" }, "main": "build/main.js", diff --git a/test/baselines/minNodeVersion_16/package.json b/test/baselines/minNodeVersion_16/package.json deleted file mode 100644 index 4866e67a..00000000 --- a/test/baselines/minNodeVersion_16/package.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "name": "iobroker.test-adapter", - "version": "0.0.1", - "description": "test-adapter", - "author": { - "name": "Al Calzone", - "email": "al@calzo.ne" - }, - "homepage": "https://github.com/AlCalzone/ioBroker.test-adapter", - "license": "MIT", - "keywords": [ - "ioBroker", - "template", - "Smart Home", - "home automation" - ], - "repository": { - "type": "git", - "url": "https://github.com/AlCalzone/ioBroker.test-adapter.git" - }, - "engines": { - "node": ">= 16" - }, - "dependencies": { - "@iobroker/adapter-core": "^2.6.8" - }, - "devDependencies": { - "@iobroker/adapter-dev": "^1.2.0", - "@iobroker/testing": "^4.1.0", - "@tsconfig/node16": "^1.0.4", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^16.18.34", - "@types/proxyquire": "^1.3.28", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", - "chai": "^4.3.7", - "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", - "mocha": "^10.2.0", - "proxyquire": "^2.1.3", - "rimraf": "^5.0.1", - "sinon": "^15.1.0", - "sinon-chai": "^3.7.0", - "source-map-support": "^0.5.21", - "ts-node": "^10.9.1", - "typescript": "~5.0.4" - }, - "main": "build/main.js", - "files": [ - "admin{,/!(src)/**}/!(tsconfig|tsconfig.*|.eslintrc).{json,json5}", - "admin{,/!(src)/**}/*.{html,css,png,svg,jpg,js}", - "build/", - "www/", - "io-package.json", - "LICENSE" - ], - "scripts": { - "prebuild": "rimraf build", - "build": "build-adapter ts", - "watch": "build-adapter ts --watch", - "prebuild:ts": "rimraf build", - "build:ts": "build-adapter ts", - "watch:ts": "build-adapter ts --watch", - "test:ts": "mocha --config test/mocharc.custom.json src/**/*.test.ts", - "test:package": "mocha test/package --exit", - "test:integration": "mocha test/integration --exit", - "test": "npm run test:ts && npm run test:package", - "check": "tsc --noEmit", - "lint": "eslint --ext .ts src/", - "translate": "translate-adapter" - }, - "bugs": { - "url": "https://github.com/AlCalzone/ioBroker.test-adapter/issues" - }, - "readmeFilename": "README.md" -} \ No newline at end of file diff --git a/test/baselines/minNodeVersion_16/tsconfig.json b/test/baselines/minNodeVersion_16/tsconfig.json deleted file mode 100644 index bdc318fa..00000000 --- a/test/baselines/minNodeVersion_16/tsconfig.json +++ /dev/null @@ -1,45 +0,0 @@ -// 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-16-tsconfigjson - "extends": "@tsconfig/node16/tsconfig.json", - "compilerOptions": { - // do not compile anything, this file is just to configure type checking - // the compilation is configured in tsconfig.build.json - "noEmit": true, - - // check JS files, but do not compile them => tsconfig.build.json - "allowJs": true, - "checkJs": true, - - "noEmitOnError": true, - "outDir": "./build/", - "removeComments": false, - - // This is necessary for the automatic typing of the adapter config - "resolveJsonModule": true, - - // If you want to disable the stricter type checks (not recommended), uncomment the following line - // "strict": false, - // And enable some of those features for more fine-grained control - // "strictNullChecks": true, - // "strictPropertyInitialization": true, - // "strictBindCallApply": true, - // "noImplicitAny": true, - // "noUnusedLocals": true, - // "noUnusedParameters": true, - // Uncomment this if you want the old behavior of catch variables being `any` - // "useUnknownInCatchVariables": false, - - "sourceMap": true, - "inlineSourceMap": false - }, - "include": [ - "src/**/*.ts" - ], - "exclude": [ - "build/**", - "node_modules/**", - "widgets/**" - ] -} \ No newline at end of file diff --git a/test/baselines/minNodeVersion_18/package.json b/test/baselines/minNodeVersion_18/package.json index 34c91bd0..893fb57e 100644 --- a/test/baselines/minNodeVersion_18/package.json +++ b/test/baselines/minNodeVersion_18/package.json @@ -22,31 +22,31 @@ "node": ">= 18" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { "@iobroker/adapter-dev": "^1.2.0", "@iobroker/testing": "^4.1.0", - "@tsconfig/node18": "^2.0.1", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^18.16.16", - "@types/proxyquire": "^1.3.28", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", - "chai": "^4.3.7", + "@tsconfig/node18": "^18.2.2", + "@types/chai": "^4.3.11", + "@types/chai-as-promised": "^7.1.8", + "@types/mocha": "^10.0.6", + "@types/node": "^18.19.4", + "@types/proxyquire": "^1.3.31", + "@types/sinon": "^17.0.2", + "@types/sinon-chai": "^3.2.12", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", + "eslint": "^8.56.0", "mocha": "^10.2.0", "proxyquire": "^2.1.3", - "rimraf": "^5.0.1", - "sinon": "^15.1.0", + "rimraf": "^5.0.5", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", - "ts-node": "^10.9.1", + "ts-node": "^10.9.2", "typescript": "~5.0.4" }, "main": "build/main.js", diff --git a/test/baselines/minNodeVersion_20/package.json b/test/baselines/minNodeVersion_20/package.json index ad81c929..324a835e 100644 --- a/test/baselines/minNodeVersion_20/package.json +++ b/test/baselines/minNodeVersion_20/package.json @@ -22,31 +22,31 @@ "node": ">= 20" }, "dependencies": { - "@iobroker/adapter-core": "^2.6.8" + "@iobroker/adapter-core": "^3.0.4" }, "devDependencies": { "@iobroker/adapter-dev": "^1.2.0", "@iobroker/testing": "^4.1.0", - "@tsconfig/node20": "^1.0.1", - "@types/chai": "^4.3.5", - "@types/chai-as-promised": "^7.1.5", - "@types/mocha": "^10.0.1", - "@types/node": "^20.2.5", - "@types/proxyquire": "^1.3.28", - "@types/sinon": "^10.0.15", - "@types/sinon-chai": "^3.2.9", - "@typescript-eslint/eslint-plugin": "^5.59.8", - "@typescript-eslint/parser": "^5.59.8", - "chai": "^4.3.7", + "@tsconfig/node20": "^20.1.2", + "@types/chai": "^4.3.11", + "@types/chai-as-promised": "^7.1.8", + "@types/mocha": "^10.0.6", + "@types/node": "^20.10.6", + "@types/proxyquire": "^1.3.31", + "@types/sinon": "^17.0.2", + "@types/sinon-chai": "^3.2.12", + "@typescript-eslint/eslint-plugin": "^6.17.0", + "@typescript-eslint/parser": "^6.17.0", + "chai": "^5.0.0", "chai-as-promised": "^7.1.1", - "eslint": "^8.41.0", + "eslint": "^8.56.0", "mocha": "^10.2.0", "proxyquire": "^2.1.3", - "rimraf": "^5.0.1", - "sinon": "^15.1.0", + "rimraf": "^5.0.5", + "sinon": "^17.0.1", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", - "ts-node": "^10.9.1", + "ts-node": "^10.9.2", "typescript": "~5.0.4" }, "main": "build/main.js", diff --git a/test/baselines/no_config/io-package.json b/test/baselines/no_config/io-package.json index 86617cba..be24aea7 100644 --- a/test/baselines/no_config/io-package.json +++ b/test/baselines/no_config/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "general", "compact": true, diff --git a/test/baselines/portal-github/.github/workflows/test-and-release.yml b/test/baselines/portal-github/.github/workflows/test-and-release.yml index 8e469f98..cca2fec8 100644 --- a/test/baselines/portal-github/.github/workflows/test-and-release.yml +++ b/test/baselines/portal-github/.github/workflows/test-and-release.yml @@ -41,7 +41,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: diff --git a/test/baselines/portal-github/README.md b/test/baselines/portal-github/README.md index 4cce7143..659071bb 100644 --- a/test/baselines/portal-github/README.md +++ b/test/baselines/portal-github/README.md @@ -106,7 +106,7 @@ Please refer to the [`dev-server` documentation](https://github.com/ioBroker/dev ## License MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/startMode_schedule/io-package.json b/test/baselines/startMode_schedule/io-package.json index 9becd4a1..1cf88770 100644 --- a/test/baselines/startMode_schedule/io-package.json +++ b/test/baselines/startMode_schedule/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "schedule", "allowInit": true, "type": "general", diff --git a/test/baselines/type_storage/io-package.json b/test/baselines/type_storage/io-package.json index cb1b062a..7f550aee 100644 --- a/test/baselines/type_storage/io-package.json +++ b/test/baselines/type_storage/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "mode": "daemon", "type": "storage", "compact": true, diff --git a/test/baselines/type_visualization-icons/io-package.json b/test/baselines/type_visualization-icons/io-package.json index f9cc7fc7..8bcb7f0d 100644 --- a/test/baselines/type_visualization-icons/io-package.json +++ b/test/baselines/type_visualization-icons/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png", "readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md", "loglevel": "info", + "tier": 3, "restartAdapters": [ "vis" ], diff --git a/test/baselines/vis_Widget/.create-adapter.json b/test/baselines/vis_Widget/.create-adapter.json index 94c37e8f..30ef6021 100644 --- a/test/baselines/vis_Widget/.create-adapter.json +++ b/test/baselines/vis_Widget/.create-adapter.json @@ -18,5 +18,5 @@ "gitCommit": "no", "defaultBranch": "main", "license": "MIT License", - "creatorVersion": "2.4.0" + "creatorVersion": "2.5.0" } \ No newline at end of file diff --git a/test/baselines/vis_Widget/LICENSE b/test/baselines/vis_Widget/LICENSE index 8fceb74a..4a63a453 100644 --- a/test/baselines/vis_Widget/LICENSE +++ b/test/baselines/vis_Widget/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/vis_Widget/README.md b/test/baselines/vis_Widget/README.md index 5bd248f8..c0701bf7 100644 --- a/test/baselines/vis_Widget/README.md +++ b/test/baselines/vis_Widget/README.md @@ -89,7 +89,7 @@ For later updates, the above procedure is not necessary. Just do the following: ## License MIT License -Copyright (c) 2023 Al Calzone +Copyright (c) 2024 Al Calzone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/test/baselines/vis_Widget/io-package.json b/test/baselines/vis_Widget/io-package.json index 2455a404..fd0cd7a4 100644 --- a/test/baselines/vis_Widget/io-package.json +++ b/test/baselines/vis_Widget/io-package.json @@ -61,6 +61,7 @@ "extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-widget/main/admin/test-widget.png", "readme": "https://github.com/AlCalzone/ioBroker.test-widget/blob/main/README.md", "loglevel": "info", + "tier": 3, "restartAdapters": [ "vis" ], diff --git a/test/baselines/vis_Widget/package.json b/test/baselines/vis_Widget/package.json index c3675e75..cdaaa23c 100644 --- a/test/baselines/vis_Widget/package.json +++ b/test/baselines/vis_Widget/package.json @@ -19,7 +19,7 @@ "url": "https://github.com/AlCalzone/ioBroker.test-widget.git" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "dependencies": {}, "devDependencies": { diff --git a/test/baselines/vis_Widget/widgets/test-widget.html b/test/baselines/vis_Widget/widgets/test-widget.html index 87b108b3..9bd6e70a 100644 --- a/test/baselines/vis_Widget/widgets/test-widget.html +++ b/test/baselines/vis_Widget/widgets/test-widget.html @@ -3,7 +3,7 @@ version: "0.0.1" - Copyright 2023 Al Calzone al@calzo.ne + Copyright 2024 Al Calzone al@calzo.ne --> diff --git a/test/baselines/vis_Widget/widgets/test-widget/js/test-widget.js b/test/baselines/vis_Widget/widgets/test-widget/js/test-widget.js index 70d8db9b..ccb9c8ab 100644 --- a/test/baselines/vis_Widget/widgets/test-widget/js/test-widget.js +++ b/test/baselines/vis_Widget/widgets/test-widget/js/test-widget.js @@ -3,7 +3,7 @@ version: "0.0.1" - Copyright 2023 Al Calzone al@calzo.ne + Copyright 2024 Al Calzone al@calzo.ne */ "use strict"; diff --git a/test/create-adapter.test.ts b/test/create-adapter.test.ts index 59d78028..bf3cb6d9 100644 --- a/test/create-adapter.test.ts +++ b/test/create-adapter.test.ts @@ -1,7 +1,6 @@ // Disable API requests while testing process.env.TESTING = "true"; -import { execaSync } from "@esm2cjs/execa"; import axios from "axios"; import * as fs from "fs-extra"; import { validate as validateJSON } from "jsonschema"; @@ -55,6 +54,7 @@ async function generateBaselines( // Include the npm package content in the baselines (only for full adapter tests) if (!filterFilesPredicate && files.some((f) => f.name === "package.json")) { + const { execaSync } = await import("execa"); const packageContent = JSON.parse( execaSync("npm", ["pack", "--dry-run", "--json"], { cwd: testDir, @@ -386,34 +386,6 @@ describe("adapter creation =>", () => { ); }); - it(`JS with ES2015`, async () => { - const answers: Answers = { - ...baseAnswers, - language: "JavaScript", - ecmaVersion: 2015, - tools: ["ESLint", "type checking"], - }; - await expectSuccess( - "JS_ES2015", - answers, - (file) => file.name === ".eslintrc.json", - ); - }); - - it(`Node.js 16 as minimum`, async () => { - const answers: Answers = { - ...baseAnswers, - nodeVersion: "16", - }; - await expectSuccess( - "minNodeVersion_16", - answers, - (file) => - file.name === "package.json" || - file.name === "tsconfig.json", - ); - }); - it(`Node.js 18 as minimum`, async () => { const answers: Answers = { ...baseAnswers, @@ -594,7 +566,6 @@ describe("adapter creation =>", () => { adminFeatures: ["tab"], tabReact: "yes", language: "JavaScript", - ecmaVersion: 2015, }; await expectSuccess("tabReact_adminHtml_JS", answers, (file) => file.name.startsWith("admin/"),