Skip to content

Commit

Permalink
v2.1.0 (#103)
Browse files Browse the repository at this point in the history
## [2.1.0](https://github.com/donavanbecker/homebridge-august/releases/tag/v2.1.0) (2024-05-07)

### What's Changes
- Housekeeping and updated dependencies.

**Full Changelog**: v2.0.0...v2.1.0
  • Loading branch information
donavanbecker authored May 8, 2024
1 parent 7e42d49 commit d2c6ee2
Show file tree
Hide file tree
Showing 20 changed files with 11,369 additions and 5,063 deletions.
53 changes: 0 additions & 53 deletions .eslintrc

This file was deleted.

86 changes: 86 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended" // uses the recommended rules from the @typescript-eslint/eslint-plugin
],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"ignorePatterns": [
"dist",
"server"
],
"rules": {
"quotes": [
"warn",
"single"
],
"indent": [
"warn",
2,
{
"SwitchCase": 1
}
],
"linebreak-style": [
"warn",
"unix"
],
"semi": [
"warn",
"always"
],
"comma-dangle": [
"warn",
"always-multiline"
],
"dot-notation": "off",
"eqeqeq": "warn",
"curly": [
"warn",
"all"
],
"brace-style": [
"warn"
],
"prefer-arrow-callback": [
"warn"
],
"max-len": [
"warn",
150
],
"no-console": [
"warn"
], // use the provided Homebridge log method instead
"no-non-null-assertion": [
"off"
],
"comma-spacing": [
"error"
],
"no-multi-spaces": [
"warn",
{
"ignoreEOLComments": true
}
],
"no-trailing-spaces": [
"warn"
],
"lines-between-class-members": [
"warn",
"always",
{
"exceptAfterSingleLine": true
}
],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
14 changes: 14 additions & 0 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Node-CI Beta
on:
push:
branches: [beta-*.*.*, beta]
release:
types: [prereleased]
workflow_dispatch:

jobs:
Expand All @@ -29,3 +31,15 @@ jobs:
pre_id: 'beta'
secrets:
npm_auth_token: ${{ secrets.npm_token }}

github-releases-to-discord:
needs: publish

if: ${{ github.repository == 'donavanbecker/homebridge-august' && github.event.release.prerelease == true }}

uses: OpenWonderLabs/.github/.github/workflows/discord-webhooks.yml@latest
with:
footer_title: "August"
secrets:
DISCORD_WEBHOOK_URL_LATEST: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
DISCORD_WEBHOOK_URL_BETA: ${{ secrets.DISCORD_WEBHOOK_URL_BETA }}
14 changes: 6 additions & 8 deletions .github/workflows/changerelease.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: Changelog to Release

on:
workflow_dispatch:
push:
paths: [CHANGELOG.md]
branches: [latest]
release:
types: [published]

jobs:
changerelease:
uses: donavanbecker/.github/.github/workflows/changerelease.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
changerelease:
uses: donavanbecker/.github/.github/workflows/changerelease.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
10 changes: 3 additions & 7 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@ name: AutoDependabot

on:
pull_request:
branches:
- beta
- latest
branches: [ beta, latest ]
pull_request_target:
branches:
- beta
- latest
branches: [ beta, latest ]

jobs:
label:
dependabot:
uses: donavanbecker/.github/.github/workflows/dependabot.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 0 additions & 17 deletions .github/workflows/discord-webhooks.yml

This file was deleted.

9 changes: 1 addition & 8 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler/blob/main/README.md

name: Labeler

on: [pull_request]

jobs:
label:
labeler:
uses: donavanbecker/.github/.github/workflows/labeler.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

jobs:
stale:
release-drafter:
uses: donavanbecker/.github/.github/workflows/release-drafter.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
18 changes: 14 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Node Release

on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:
release:
types: [published]

jobs:
build_and_test:
Expand All @@ -22,3 +20,15 @@ jobs:
uses: donavanbecker/.github/.github/workflows/npm-publish.yml@latest
secrets:
npm_auth_token: ${{ secrets.npm_token }}

github-releases-to-discord:
needs: publish

if: ${{ github.repository == 'donavanbecker/homebridge-august' }}

uses: donavanbecker/.github/.github/workflows/discord-webhooks.yml@latest
with:
footer_title: "August"
secrets:
DISCORD_WEBHOOK_URL_LATEST: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
DISCORD_WEBHOOK_URL_BETA: ${{ secrets.DISCORD_WEBHOOK_URL_BETA }}
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"codeQL.githubDatabase.update": "never"
"codeQL.githubDatabase.update": "never",
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
}
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)

## [2.1.0](https://github.com/donavanbecker/homebridge-august/releases/tag/v2.1.0) (2024-05-07)

### What's Changes
- Housekeeping and updated dependencies.

**Full Changelog**: https://github.com/donavanbecker/homebridge-august/compare/v2.0.0...v2.1.0

## [2.0.0](https://github.com/donavanbecker/homebridge-august/releases/tag/v2.0.0) (2024-01-31)

### What's Changes
Expand Down
9 changes: 6 additions & 3 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"watch": ["src"],
"ext": "ts",
"watch": [
"src",
"config.schema.json"
],
"ext": "ts, html, json",
"ignore": [],
"exec": "DEBUG= tsc && homebridge -T -D -P -I -U ~/.homebridge-dev ..",
"signal": "SIGTERM",
"env": {
"NODE_OPTIONS": "--trace-warnings"
}
}
}
Loading

0 comments on commit d2c6ee2

Please sign in to comment.