homebridge-eggtimer-plugin 1.1.3 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  if: github.actor == 'dependabot[bot]' || ((startsWith(github.event.pull_request.title, 'Bump to version ') || startsWith(github.event.pull_request.title, 'Update PNPM')) && (github.actor == 'github-actions' || github.actor == 'teh-hippo'))
11
11
  steps:
12
- - uses: actions/checkout@v4
12
+ - uses: actions/checkout@v5
13
13
  - run: gh pr merge --rebase --delete-branch --auto "${{ github.event.pull_request.number }}"
14
14
  env:
15
15
  GH_TOKEN: ${{ github.token }}
@@ -2,6 +2,8 @@
2
2
  # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
3
 
4
4
  name: Build
5
+ permissions:
6
+ contents: read
5
7
 
6
8
  on: [pull_request]
7
9
 
@@ -16,10 +18,10 @@ jobs:
16
18
  node-version: [18.x, 20.x, 22.x, latest]
17
19
 
18
20
  steps:
19
- - uses: actions/checkout@v4
20
- - uses: pnpm/action-setup@v4
21
+ - uses: actions/checkout@v5
22
+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda
21
23
  - name: Use Node.js ${{ matrix.node-version }}
22
- uses: actions/setup-node@v4.4.0
24
+ uses: actions/setup-node@v5.0.0
23
25
  with:
24
26
  node-version: ${{ matrix.node-version }}
25
27
  cache: pnpm
@@ -10,10 +10,13 @@ on:
10
10
  jobs:
11
11
  publish:
12
12
  runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: read
15
+ packages: write
13
16
  steps:
14
- - uses: actions/checkout@v4
15
- - uses: pnpm/action-setup@v4
16
- - uses: actions/setup-node@v4.4.0
17
+ - uses: actions/checkout@v5
18
+ - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda
19
+ - uses: actions/setup-node@v5.0.0
17
20
  with:
18
21
  node-version: latest
19
22
  cache: pnpm
@@ -23,37 +26,3 @@ jobs:
23
26
  - run: pnpm publish --no-git-checks
24
27
  env:
25
28
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
26
-
27
- update-build-number:
28
- needs: publish
29
- runs-on: ubuntu-latest
30
- permissions:
31
- pull-requests: write
32
- contents: write
33
- steps:
34
- - uses: actions/checkout@v4
35
- with:
36
- ref: main
37
- fetch-tags: true
38
- - uses: pnpm/action-setup@v4
39
- - uses: actions/setup-node@v4.4.0
40
- with:
41
- node-version: latest
42
- cache: pnpm
43
- registry-url: https://registry.npmjs.org/
44
- - run: pnpm version patch --no-git-tag-version
45
- - name: get-npm-version
46
- id: version-after
47
- uses: martinbeentjes/npm-get-version-action@v1.3.1
48
- - name: Create Pull Request
49
- uses: peter-evans/create-pull-request@v7
50
- with:
51
- add-paths: |
52
- package.json
53
- delete-branch: true
54
- title: Bump to version ${{ steps.version-after.outputs.current-version }}
55
- commit-message: |
56
- Bump to version ${{ steps.version-after.outputs.current-version }}
57
- token: ${{ secrets.PAT }}
58
- committer: AutoHippo <auto@hippo.org>
59
- branch: bump-to-version-${{ steps.version-after.outputs.current-version }}
package/RELEASE.md ADDED
@@ -0,0 +1,6 @@
1
+ # Releasing
2
+
3
+ 1. Create Github Release with a new tag.
4
+ 1. `git checkout -b bump-version`
5
+ 1. `pnpm version patch --no-git-tag-version`
6
+ 1. Commit.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-eggtimer-plugin",
3
3
  "displayName": "Homebridge Eggtimer Plugin",
4
- "version": "1.1.3",
4
+ "version": "1.1.5",
5
5
  "description": "Egg Timers for Homebridge: https://github.com/nfarina/homebridge",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -32,17 +32,17 @@
32
32
  "homebridge": ">=1.3.5 || ^2.0.0-beta.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@eslint/js": "^9.27.0",
36
- "@stylistic/eslint-plugin": "^4.2.0",
35
+ "@eslint/js": "^9.36.0",
36
+ "@stylistic/eslint-plugin": "^5.4.0",
37
37
  "@types/async-lock": "^1.4.2",
38
- "@types/node": "^22.15.21",
38
+ "@types/node": "^24.6.2",
39
39
  "@types/node-persist": "^3.1.8",
40
- "eslint": "^9.27.0",
41
- "homebridge": "^1.9.0",
40
+ "eslint": "^9.36.0",
41
+ "homebridge": "^1.11.0",
42
42
  "rimraf": "^6.0.1",
43
43
  "ts-node": "^10.9.2",
44
- "typescript": "^5.8.3",
45
- "typescript-eslint": "^8.32.1"
44
+ "typescript": "^5.9.3",
45
+ "typescript-eslint": "^8.45.0"
46
46
  },
47
47
  "dependencies": {
48
48
  "async-lock": "^1.4.1",
@@ -1,25 +0,0 @@
1
- # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
-
4
- name: Audit
5
-
6
- on:
7
-
8
- schedule:
9
- - cron: '0 0 * * *'
10
- workflow_dispatch:
11
-
12
- jobs:
13
- build:
14
-
15
- runs-on: ubuntu-latest
16
-
17
- steps:
18
- - uses: actions/checkout@v4
19
- - uses: pnpm/action-setup@v4
20
- - uses: actions/setup-node@v4.4.0
21
- with:
22
- node-version: latest
23
- cache: pnpm
24
- - run: pnpm install --frozen-lockfile
25
- - run: pnpm audit -P
@@ -1,31 +0,0 @@
1
- # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
-
4
- name: Build Homebridge 2.x
5
-
6
- on:
7
- pull_request:
8
- schedule:
9
- - cron: '0 0 * * *'
10
-
11
- jobs:
12
-
13
- build:
14
-
15
- runs-on: ubuntu-latest
16
-
17
- steps:
18
- - uses: actions/checkout@v4
19
- - uses: pnpm/action-setup@v4
20
- - run: |
21
- sed -i -e 's/"homebridge": "\^[0-9]\.[0-9]\.[0-9]/"homebridge": "^2.0.0-beta.0/g' package.json
22
- - uses: actions/setup-node@v4.4.0
23
- with:
24
- node-version: latest
25
- cache: pnpm
26
- - run: pnpm install --no-frozen-lockfile
27
- - name: Show Homebridge 2.0 Version
28
- run: |
29
- pnpm ls homebridge --parseable | grep -o '@\([^\/]\+\)'
30
- - run: pnpm build
31
- - run: pnpm lint
@@ -1,38 +0,0 @@
1
- # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
-
4
- name: Update PNPM
5
-
6
- on:
7
-
8
- schedule:
9
- - cron: '37 13 1 * *'
10
- workflow_dispatch:
11
-
12
- permissions:
13
- contents: write
14
- pull-requests: write
15
-
16
- jobs:
17
- build:
18
-
19
- runs-on: ubuntu-latest
20
-
21
- steps:
22
- - uses: actions/checkout@v4
23
- - uses: pnpm/action-setup@v4
24
- - uses: actions/setup-node@v4.4.0
25
- with:
26
- node-version: latest
27
- cache: pnpm
28
- - run: corepack use pnpm@latest
29
- - name: Create Pull Request
30
- uses: peter-evans/create-pull-request@v7
31
- with:
32
- delete-branch: true
33
- title: Update PNPM
34
- commit-message: |
35
- Update to the latest PNPM manager.
36
- token: ${{ secrets.PAT }}
37
- committer: AutoHippo <auto@hippo.org>
38
- branch: autohippo/update-pnpm-${{ github.run_number }}