From 9b12da966438732204957f04c8f8952588e6f95c Mon Sep 17 00:00:00 2001 From: "baerengraben.intelli.ch" Date: Tue, 29 Oct 2024 16:38:20 +0100 Subject: [PATCH] Update Testfiles --- .travis.yml | 25 ------------------------- SECURITY.md | 15 --------------- io-package.json | 2 +- package.json | 1 - test/tsconfig.json | 9 --------- test/unit.js | 5 ----- tsconfig.json | 37 ------------------------------------- 7 files changed, 1 insertion(+), 93 deletions(-) delete mode 100644 .travis.yml delete mode 100644 SECURITY.md delete mode 100644 test/tsconfig.json delete mode 100644 test/unit.js delete mode 100644 tsconfig.json diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bc46d81..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -os: - - linux - - osx - - windows -language: node_js -sudo: required -node_js: - - '12' - - '14' - - '16' -before_install: - - 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CC=clang++; export CXX=clang++; export CXXFLAGS=-std=c++11; fi' - - 'if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-6; fi' -before_script: - - export NPMVERSION=$(echo "$($(which npm) -v)"|cut -c1) - - 'if [[ $NPMVERSION == 5 ]]; then npm install -g npm@5; fi' - - npm -v -env: - - DEBUG=true -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-6 \ No newline at end of file diff --git a/SECURITY.md b/SECURITY.md deleted file mode 100644 index 36b5545..0000000 --- a/SECURITY.md +++ /dev/null @@ -1,15 +0,0 @@ -# Security Policy - -## Supported Versions - -Use this section to tell people about which versions of your project are -currently being supported with security updates. - -| Version | Supported | -| ------- | ------------------ | -| 2.x.x | :white_check_mark: | -| 1.x.x | :x: | - -## Reporting a Vulnerability - -For Security-Reporting please create an Issue on github.com. diff --git a/io-package.json b/io-package.json index bf3bb43..594a9fe 100644 --- a/io-package.json +++ b/io-package.json @@ -146,7 +146,7 @@ }, "dependencies": [ { - "js-controller": ">=3.3.22" + "js-controller": ">=5.0.0" } ], "globalDependencies": [ diff --git a/package.json b/package.json index 87cee3a..61c7304 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,6 @@ "test:package": "mocha test/package --exit", "test:integration": "mocha test/integration --exit", "test": "npm run test:js && npm run test:package", - "check": "tsc --noEmit -p tsconfig.check.json", "translate": "translate-adapter", "release": "release-script", "release-minor": "release-script minor --yes", diff --git a/test/tsconfig.json b/test/tsconfig.json deleted file mode 100644 index 3ebc81b..0000000 --- a/test/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "noImplicitAny": false - }, - "include": [ - "./**/*.js" - ] -} diff --git a/test/unit.js b/test/unit.js deleted file mode 100644 index 2fd84c2..0000000 --- a/test/unit.js +++ /dev/null @@ -1,5 +0,0 @@ -const path = require("path"); -const { tests } = require("@iobroker/testing"); - -// Run unit tests - See https://github.com/ioBroker/testing for a detailed explanation and further options -tests.unit(path.join(__dirname, "..")); diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index e026ad8..0000000 --- a/tsconfig.json +++ /dev/null @@ -1,37 +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 - "noEmit": true, - - // check JS files - "allowJs": true, - "checkJs": true, - - // 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": false, - // "noUnusedLocals": true, - // "noUnusedParameters": true, - "useUnknownInCatchVariables": false, - - }, - "include": [ - "**/*.js", - "**/*.d.ts" - ], - "exclude": [ - "node_modules/**", - "widgets/**" - ] -} \ No newline at end of file