Skip to content

Commit

Permalink
Delete Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ToGe3688 committed Jan 4, 2025
1 parent 42c1fb2 commit ddf0e1d
Show file tree
Hide file tree
Showing 27 changed files with 9,969 additions and 10,030 deletions.
80 changes: 34 additions & 46 deletions .create-adapter.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,35 @@
{
"cli": true,
"target": "directory",
"adapterName": "ai-assistant",
"title": "AI Assistant",
"description": "AI Assistant adapter allows you to control your ioBroker trought artifical intelligence based on LLMs",
"keywords": [
"iobroker",
"ai",
"chatgpt",
"assistant"
],
"contributors": [
"Tobias Geier"
],
"expert": "no",
"features": [
"adapter"
],
"adminFeatures": [],
"type": "messaging",
"startMode": "daemon",
"connectionType": "cloud",
"dataSource": "push",
"connectionIndicator": "no",
"language": "JavaScript",
"nodeVersion": "20",
"adminUi": "json",
"tools": [
"ESLint",
"type checking"
],
"releaseScript": "yes",
"devServer": "yes",
"devServerPort": 8081,
"indentation": "Tab",
"quotes": "double",
"authorName": "ToGe3688",
"authorGithub": "ToGe3688",
"authorEmail": "[email protected]",
"gitRemoteProtocol": "HTTPS",
"gitCommit": "no",
"defaultBranch": "main",
"license": "MIT License",
"dependabot": "yes",
"creatorVersion": "2.6.5"
}
"cli": true,
"target": "directory",
"adapterName": "ai-assistant",
"title": "AI Assistant",
"description": "AI Assistant adapter allows you to control your ioBroker trought artifical intelligence based on LLMs",
"keywords": ["iobroker", "ai", "chatgpt", "assistant"],
"contributors": ["Tobias Geier"],
"expert": "no",
"features": ["adapter"],
"adminFeatures": [],
"type": "messaging",
"startMode": "daemon",
"connectionType": "cloud",
"dataSource": "push",
"connectionIndicator": "no",
"language": "JavaScript",
"nodeVersion": "20",
"adminUi": "json",
"tools": ["ESLint", "type checking"],
"releaseScript": "yes",
"devServer": "yes",
"devServerPort": 8081,
"indentation": "Tab",
"quotes": "double",
"authorName": "ToGe3688",
"authorGithub": "ToGe3688",
"authorEmail": "[email protected]",
"gitRemoteProtocol": "HTTPS",
"gitCommit": "no",
"defaultBranch": "main",
"license": "MIT License",
"dependabot": "yes",
"creatorVersion": "2.6.5"
}
18 changes: 10 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
name: Bug report
about: Something is not working as it should
title: ''
labels: ''
assignees: ''
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 '....'
Expand All @@ -22,11 +23,12 @@ 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: <adapter-version>
- JS-Controller version: <js-controller-version> <!-- determine this with `iobroker -v` on the console -->
- Node version: <node-version> <!-- determine this with `node -v` on the console -->
- Operating system: <os-name>
**Versions:**

- Adapter version: <adapter-version>
- JS-Controller version: <js-controller-version> <!-- determine this with `iobroker -v` on the console -->
- Node version: <node-version> <!-- determine this with `node -v` on the console -->
- Operating system: <os-name>

**Additional context**
Add any other context about the problem here.
19 changes: 9 additions & 10 deletions .github/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# Configure here which dependency updates should be merged automatically.
# The recommended configuration is the following:
- match:
# Only merge patches for production dependencies
dependency_type: production
update_type: "semver:patch"
# Only merge patches for production dependencies
dependency_type: production
update_type: "semver:patch"
- match:
# Except for security fixes, here we allow minor patches
dependency_type: production
update_type: "security:minor"
# Except for security fixes, here we allow minor patches
dependency_type: production
update_type: "security:minor"
- match:
# and development dependencies can have a minor update, too
dependency_type: development
update_type: "semver:minor"

# and development dependencies can have a minor update, too
dependency_type: development
update_type: "semver:minor"
# The syntax is based on the legacy dependabot v1 automerged_updates syntax, see:
# https://dependabot.com/docs/config-file/#automerged_updates
38 changes: 19 additions & 19 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: monthly
time: "04:00"
timezone: Europe/Berlin
open-pull-requests-limit: 5
assignees:
- ToGe3688
versioning-strategy: increase
- package-ecosystem: npm
directory: "/"
schedule:
interval: monthly
time: "04:00"
timezone: Europe/Berlin
open-pull-requests-limit: 5
assignees:
- ToGe3688
versioning-strategy: increase

- package-ecosystem: github-actions
directory: "/"
schedule:
interval: monthly
time: "04:00"
timezone: Europe/Berlin
open-pull-requests-limit: 5
assignees:
- ToGe3688
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: monthly
time: "04:00"
timezone: Europe/Berlin
open-pull-requests-limit: 5
assignees:
- ToGe3688
36 changes: 18 additions & 18 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
name: Auto-Merge Dependabot PRs

on:
# WARNING: This needs to be run in the PR base, DO NOT build untrusted code in this action
# details under https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
pull_request_target:
# WARNING: This needs to be run in the PR base, DO NOT build untrusted code in this action
# details under https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
pull_request_target:

jobs:
auto-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
auto-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Check if PR should be auto-merged
uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
# In order to use this, you need to go to https://github.com/settings/tokens and
# create a Personal Access Token with the permission "public_repo".
# Enter this token in your repository settings under "Secrets" and name it AUTO_MERGE_TOKEN
github-token: ${{ secrets.AUTO_MERGE_TOKEN }}
# By default, squash and merge, so Github chooses nice commit messages
command: squash and merge
- name: Check if PR should be auto-merged
uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
# In order to use this, you need to go to https://github.com/settings/tokens and
# create a Personal Access Token with the permission "public_repo".
# Enter this token in your repository settings under "Secrets" and name it AUTO_MERGE_TOKEN
github-token: ${{ secrets.AUTO_MERGE_TOKEN }}
# By default, squash and merge, so Github chooses nice commit messages
command: squash and merge
77 changes: 38 additions & 39 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,55 +3,54 @@ 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: {}
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
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
# 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
runs-on: ubuntu-latest

steps:
- uses: ioBroker/testing-action-check@v1
with:
node-version: '20.x'
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
# install-command: 'npm install'
lint: true
steps:
- uses: ioBroker/testing-action-check@v1
with:
node-version: "20.x"
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
# install-command: 'npm install'
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 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: [18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x, 20.x, 22.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'

# TODO: To enable automatic npm releases, create a token on npmjs.org
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'
# 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:

Expand Down
8 changes: 2 additions & 6 deletions .releaseconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"plugins": [
"iobroker",
"license",
"manual-review"
]
}
"plugins": ["iobroker", "license", "manual-review"]
}
6 changes: 2 additions & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
"recommendations": ["dbaeumer.vscode-eslint"]
}
30 changes: 12 additions & 18 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
{
"eslint.enable": true,
"json.schemas": [
{
"fileMatch": [
"io-package.json"
],
"url": "https://raw.githubusercontent.com/ioBroker/ioBroker.js-controller/master/schemas/io-package.json"
},
{
"fileMatch": [
"admin/jsonConfig.json",
"admin/jsonCustom.json",
"admin/jsonTab.json"
],
"url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json"
}
]
}
"eslint.enable": true,
"json.schemas": [
{
"fileMatch": ["io-package.json"],
"url": "https://raw.githubusercontent.com/ioBroker/ioBroker.js-controller/master/schemas/io-package.json"
},
{
"fileMatch": ["admin/jsonConfig.json", "admin/jsonCustom.json", "admin/jsonTab.json"],
"url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json"
}
]
}
Loading

0 comments on commit ddf0e1d

Please sign in to comment.