From 302c0c25407e426458a2e62202b038e2ec58f181 Mon Sep 17 00:00:00 2001 From: Hombach Date: Tue, 22 Oct 2024 22:21:17 +0200 Subject: [PATCH] 0.0.1 --- .github/ISSUE_TEMPLATE/bug_report.md.bak | 32 -------- .github/workflows/test-and-release.yml.bak | 96 ---------------------- src/lib/adapter-config.d.ts.bak | 13 --- test/integration.js.bak | 5 -- test/mocharc.custom.json.bak | 4 - test/tsconfig.json.bak | 7 -- 6 files changed, 157 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md.bak delete mode 100644 .github/workflows/test-and-release.yml.bak delete mode 100644 src/lib/adapter-config.d.ts.bak delete mode 100644 test/integration.js.bak delete mode 100644 test/mocharc.custom.json.bak delete mode 100644 test/tsconfig.json.bak diff --git a/.github/ISSUE_TEMPLATE/bug_report.md.bak b/.github/ISSUE_TEMPLATE/bug_report.md.bak deleted file mode 100644 index 8956139..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md.bak +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: Bug report -about: Something is not working as it should -title: '' -labels: '' -assignees: '' ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '...' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots & Logfiles** -If applicable, add screenshots and logfiles to help explain your problem. - -**Versions:** - - Adapter version: - - JS-Controller version: - - Node version: - - Operating system: - -**Additional context** -Add any other context about the problem here. diff --git a/.github/workflows/test-and-release.yml.bak b/.github/workflows/test-and-release.yml.bak deleted file mode 100644 index 33456c7..0000000 --- a/.github/workflows/test-and-release.yml.bak +++ /dev/null @@ -1,96 +0,0 @@ -name: Test and Release - -# Run this job on all pushes and pull requests -# as well as tags with a semantic version -on: - push: - branches: - - "main" - tags: - # normal versions - - "v[0-9]+.[0-9]+.[0-9]+" - # pre-releases - - "v[0-9]+.[0-9]+.[0-9]+-**" - pull_request: {} - -# Cancel previous PR/branch runs when a new commit is pushed -concurrency: - group: ${{ github.ref }} - cancel-in-progress: true - -jobs: - # Performs quick checks before the expensive test runs - check-and-lint: - if: contains(github.event.head_commit.message, '[skip ci]') == false - - runs-on: ubuntu-latest - - steps: - - uses: ioBroker/testing-action-check@v1 - with: - node-version: '16.x' - # Uncomment the following line if your adapter cannot be installed using 'npm ci' - # install-command: 'npm install' - type-checking: true - lint: true - - # Runs adapter tests on all supported node versions and OSes - adapter-tests: - if: contains(github.event.head_commit.message, '[skip ci]') == false - - runs-on: ${{ matrix.os }} - strategy: - matrix: - node-version: [14.x, 16.x, 18.x] - os: [ubuntu-latest, windows-latest, macos-latest] - - steps: - - uses: ioBroker/testing-action-adapter@v1 - with: - node-version: ${{ matrix.node-version }} - os: ${{ matrix.os }} - # Uncomment the following line if your adapter cannot be installed using 'npm ci' - # install-command: 'npm install' - build: true - -# TODO: To enable automatic npm releases, create a token on npmjs.org -# Enter this token as a GitHub secret (with name NPM_TOKEN) in the repository options -# Then uncomment the following block: - -# # Deploys the final package to NPM -# deploy: -# needs: [check-and-lint, adapter-tests] -# -# # Trigger this step only when a commit on any branch is tagged with a version number -# if: | -# contains(github.event.head_commit.message, '[skip ci]') == false && -# github.event_name == 'push' && -# startsWith(github.ref, 'refs/tags/v') -# -# runs-on: ubuntu-latest -# -# # Write permissions are required to create Github releases -# permissions: -# contents: write -# -# steps: -# - uses: ioBroker/testing-action-deploy@v1 -# with: -# node-version: '16.x' -# # Uncomment the following line if your adapter cannot be installed using 'npm ci' -# # install-command: 'npm install' -# build: true -# npm-token: ${{ secrets.NPM_TOKEN }} -# github-token: ${{ secrets.GITHUB_TOKEN }} -# -# # When using Sentry for error reporting, Sentry can be informed about new releases -# # To enable create a API-Token in Sentry (User settings, API keys) -# # Enter this token as a GitHub secret (with name SENTRY_AUTH_TOKEN) in the repository options -# # Then uncomment and customize the following block: -# sentry: true -# sentry-token: ${{ secrets.SENTRY_AUTH_TOKEN }} -# sentry-project: "iobroker-teslafi" -# sentry-version-prefix: "iobroker.teslafi" -# sentry-sourcemap-paths: "build/" -# # If your sentry project is linked to a GitHub repository, you can enable the following option -# # sentry-github-integration: true diff --git a/src/lib/adapter-config.d.ts.bak b/src/lib/adapter-config.d.ts.bak deleted file mode 100644 index 4b6506e..0000000 --- a/src/lib/adapter-config.d.ts.bak +++ /dev/null @@ -1,13 +0,0 @@ -// This file extends the AdapterConfig type from "@types/iobroker" - -// Augment the globally declared type ioBroker.AdapterConfig -declare global { - namespace ioBroker { - interface AdapterConfig { - FIcode: string; - } - } -} - -// this is required so the above AdapterConfig is found by TypeScript / type checking -export {}; diff --git a/test/integration.js.bak b/test/integration.js.bak deleted file mode 100644 index 01b6e7d..0000000 --- a/test/integration.js.bak +++ /dev/null @@ -1,5 +0,0 @@ -const path = require("path"); -const { tests } = require("@iobroker/testing"); - -// Run integration tests - See https://github.com/ioBroker/testing for a detailed explanation and further options -tests.integration(path.join(__dirname, "..")); diff --git a/test/mocharc.custom.json.bak b/test/mocharc.custom.json.bak deleted file mode 100644 index f1f3b30..0000000 --- a/test/mocharc.custom.json.bak +++ /dev/null @@ -1,4 +0,0 @@ -{ - "require": ["test/mocha.setup.js", "ts-node/register", "source-map-support/register"], - "watch-files": ["src/**/*.test.ts"] -} diff --git a/test/tsconfig.json.bak b/test/tsconfig.json.bak deleted file mode 100644 index 3d5bb6b..0000000 --- a/test/tsconfig.json.bak +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "noImplicitAny": false - }, - "include": ["./**/*.js"] -}