homebridge-eggtimer-plugin 1.1.4 → 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.
- package/.github/workflows/automerge.yml +1 -1
- package/.github/workflows/build.yml +3 -3
- package/.github/workflows/npm-publish.yml +3 -37
- package/RELEASE.md +6 -0
- package/package.json +7 -7
- package/.github/workflows/audit.yml +0 -27
- package/.github/workflows/build-homebridge2.0.yml +0 -34
- package/.github/workflows/corepack.yml +0 -38
|
@@ -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@
|
|
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 }}
|
|
@@ -18,10 +18,10 @@ jobs:
|
|
|
18
18
|
node-version: [18.x, 20.x, 22.x, latest]
|
|
19
19
|
|
|
20
20
|
steps:
|
|
21
|
-
- uses: actions/checkout@
|
|
22
|
-
- uses: pnpm/action-setup@
|
|
21
|
+
- uses: actions/checkout@v5
|
|
22
|
+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda
|
|
23
23
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
24
|
-
uses: actions/setup-node@
|
|
24
|
+
uses: actions/setup-node@v5.0.0
|
|
25
25
|
with:
|
|
26
26
|
node-version: ${{ matrix.node-version }}
|
|
27
27
|
cache: pnpm
|
|
@@ -14,9 +14,9 @@ jobs:
|
|
|
14
14
|
contents: read
|
|
15
15
|
packages: write
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
18
|
-
- uses: pnpm/action-setup@
|
|
19
|
-
- uses: actions/setup-node@
|
|
17
|
+
- uses: actions/checkout@v5
|
|
18
|
+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda
|
|
19
|
+
- uses: actions/setup-node@v5.0.0
|
|
20
20
|
with:
|
|
21
21
|
node-version: latest
|
|
22
22
|
cache: pnpm
|
|
@@ -26,37 +26,3 @@ jobs:
|
|
|
26
26
|
- run: pnpm publish --no-git-checks
|
|
27
27
|
env:
|
|
28
28
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
29
|
-
|
|
30
|
-
update-build-number:
|
|
31
|
-
needs: publish
|
|
32
|
-
runs-on: ubuntu-latest
|
|
33
|
-
permissions:
|
|
34
|
-
pull-requests: write
|
|
35
|
-
contents: write
|
|
36
|
-
steps:
|
|
37
|
-
- uses: actions/checkout@v4
|
|
38
|
-
with:
|
|
39
|
-
ref: main
|
|
40
|
-
fetch-tags: true
|
|
41
|
-
- uses: pnpm/action-setup@v4
|
|
42
|
-
- uses: actions/setup-node@v4.4.0
|
|
43
|
-
with:
|
|
44
|
-
node-version: latest
|
|
45
|
-
cache: pnpm
|
|
46
|
-
registry-url: https://registry.npmjs.org/
|
|
47
|
-
- run: pnpm version patch --no-git-tag-version
|
|
48
|
-
- name: get-npm-version
|
|
49
|
-
id: version-after
|
|
50
|
-
uses: martinbeentjes/npm-get-version-action@v1.3.1
|
|
51
|
-
- name: Create Pull Request
|
|
52
|
-
uses: peter-evans/create-pull-request@v7
|
|
53
|
-
with:
|
|
54
|
-
add-paths: |
|
|
55
|
-
package.json
|
|
56
|
-
delete-branch: true
|
|
57
|
-
title: Bump to version ${{ steps.version-after.outputs.current-version }}
|
|
58
|
-
commit-message: |
|
|
59
|
-
Bump to version ${{ steps.version-after.outputs.current-version }}
|
|
60
|
-
token: ${{ secrets.PAT }}
|
|
61
|
-
committer: AutoHippo <auto@hippo.org>
|
|
62
|
-
branch: bump-to-version-${{ steps.version-after.outputs.current-version }}
|
package/RELEASE.md
ADDED
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.
|
|
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.
|
|
36
|
-
"@stylistic/eslint-plugin": "^
|
|
35
|
+
"@eslint/js": "^9.36.0",
|
|
36
|
+
"@stylistic/eslint-plugin": "^5.4.0",
|
|
37
37
|
"@types/async-lock": "^1.4.2",
|
|
38
|
-
"@types/node": "^
|
|
38
|
+
"@types/node": "^24.6.2",
|
|
39
39
|
"@types/node-persist": "^3.1.8",
|
|
40
|
-
"eslint": "^9.
|
|
40
|
+
"eslint": "^9.36.0",
|
|
41
41
|
"homebridge": "^1.11.0",
|
|
42
42
|
"rimraf": "^6.0.1",
|
|
43
43
|
"ts-node": "^10.9.2",
|
|
44
|
-
"typescript": "^5.9.
|
|
45
|
-
"typescript-eslint": "^8.
|
|
44
|
+
"typescript": "^5.9.3",
|
|
45
|
+
"typescript-eslint": "^8.45.0"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"async-lock": "^1.4.1",
|
|
@@ -1,27 +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
|
-
permissions:
|
|
6
|
-
contents: read
|
|
7
|
-
|
|
8
|
-
on:
|
|
9
|
-
|
|
10
|
-
schedule:
|
|
11
|
-
- cron: '0 0 * * *'
|
|
12
|
-
workflow_dispatch:
|
|
13
|
-
|
|
14
|
-
jobs:
|
|
15
|
-
build:
|
|
16
|
-
|
|
17
|
-
runs-on: ubuntu-latest
|
|
18
|
-
|
|
19
|
-
steps:
|
|
20
|
-
- uses: actions/checkout@v4
|
|
21
|
-
- uses: pnpm/action-setup@v4
|
|
22
|
-
- uses: actions/setup-node@v4.4.0
|
|
23
|
-
with:
|
|
24
|
-
node-version: latest
|
|
25
|
-
cache: pnpm
|
|
26
|
-
- run: pnpm install --frozen-lockfile
|
|
27
|
-
- run: pnpm audit -P
|
|
@@ -1,34 +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
|
-
permissions:
|
|
7
|
-
contents: read
|
|
8
|
-
|
|
9
|
-
on:
|
|
10
|
-
pull_request:
|
|
11
|
-
schedule:
|
|
12
|
-
- cron: '0 0 * * *'
|
|
13
|
-
|
|
14
|
-
jobs:
|
|
15
|
-
|
|
16
|
-
build:
|
|
17
|
-
|
|
18
|
-
runs-on: ubuntu-latest
|
|
19
|
-
|
|
20
|
-
steps:
|
|
21
|
-
- uses: actions/checkout@v4
|
|
22
|
-
- uses: pnpm/action-setup@v4
|
|
23
|
-
- run: |
|
|
24
|
-
sed -i -e 's/"homebridge": "\^[0-9]\.[0-9]\.[0-9]/"homebridge": "^2.0.0-beta.0/g' package.json
|
|
25
|
-
- uses: actions/setup-node@v4.4.0
|
|
26
|
-
with:
|
|
27
|
-
node-version: latest
|
|
28
|
-
cache: pnpm
|
|
29
|
-
- run: pnpm install --no-frozen-lockfile
|
|
30
|
-
- name: Show Homebridge 2.0 Version
|
|
31
|
-
run: |
|
|
32
|
-
pnpm ls homebridge --parseable | grep -o '@\([^\/]\+\)'
|
|
33
|
-
- run: pnpm build
|
|
34
|
-
- 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 }}
|