📦 chore(devcontainer.json): add devcontainer configuration file for development environment setup

📦 chore(setup.sh): add setup script to install pre-commit and configure it
📄 docs(README.md): update repository name and add description of custom Home Assistant addons
📄 docs(kresus/DOCS.md): add documentation for Kresus addon
🐳 feat(kresus): add Dockerfile and build.yaml for Kresus addon
🔧 chore(kresus): add configuration files for Kresus addon
🔧 chore(kresus): add apparmor profile for Kresus addon
🔧 chore(kresus): add changelog and docs for Kresus addon
🔧 chore(kresus): add icon and logo for Kresus addon
🔧 chore(kresus): add license file for Kresus addon
🔧 chore(kresus): add README and requirements file for Kresus addon
🔧 chore(kresus): add service scripts for Kresus addon
🔧 chore(kresus): add translations for Kresus addon
🔧 chore(repository.yaml): add repository information for MrRaph_'s custom Home Assistant addons
This commit is contained in:
MrRaph_
2024-03-06 11:20:07 +01:00
parent 6792d6f9fe
commit ddeb64cef5
20 changed files with 805 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
{
"containerEnv": {
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
},
"extensions": [
"timonwong.shellcheck",
"esbenp.prettier-vscode"
],
"image": "ghcr.io/home-assistant/devcontainer:addons",
"name": "Example Home Assistant add-on repository",
"postStartCommand": ".devcontainer/setup.sh",
"runArgs": [
"-e",
"GIT_EDITOR=code --wait",
"--privileged"
],
"settings": {
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true,
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
}
}
}
}

5
.devcontainer/setup.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
# Install pre-commit
sudo apt install -y pre-commit
pre-commit install