@homebridge/hap-client 5.0.0-beta.3 → 5.0.0-beta.4

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/CHANGELOG.md CHANGED
@@ -7,7 +7,6 @@ All notable changes to `@homebridge/hap-client` will be documented in this file.
7
7
  ### Changed
8
8
 
9
9
  - feat: include `homebridge-lib` custom Services and Characteristics in generated HAP type mappings
10
- - chore: update deprecation script from homebridge repo
11
10
  - chore: dependency updates
12
11
 
13
12
  ### Homebridge Dependencies
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@homebridge/hap-client",
3
3
  "type": "module",
4
- "version": "5.0.0-beta.3",
4
+ "version": "5.0.0-beta.4",
5
5
  "description": "A client for HAP-NodeJS.",
6
6
  "author": {
7
7
  "name": "Homebridge"
@@ -1,55 +0,0 @@
1
- name: Deprecate Past Pre-Releases
2
- run-name: Deprecate Past Pre-Releases - ${{ inputs.execute && 'Execute' || 'Dry Run' }}
3
-
4
- on:
5
- workflow_dispatch:
6
- inputs:
7
- execute:
8
- description: Execute the deprecation and cleanup actions. Default is dry run (false).
9
- type: boolean
10
- default: false
11
-
12
- permissions:
13
- contents: write
14
-
15
- concurrency:
16
- group: deprecate-previous-pre-release-data
17
- cancel-in-progress: true
18
-
19
- jobs:
20
- deprecate-previous-pre-release-data:
21
- if: ${{ github.ref == 'refs/heads/latest' && github.repository == 'homebridge/hap-client' }}
22
- runs-on: ubuntu-latest
23
- steps:
24
- - name: Check out repository
25
- uses: actions/checkout@v6
26
-
27
- - name: Set up Node.js
28
- uses: actions/setup-node@v6
29
- with:
30
- node-version: 'lts/*'
31
- # registry-url intentionally omitted - auth is configured manually below
32
-
33
- - name: Update npm to latest version
34
- run: npm install -g npm@latest
35
-
36
- - name: Configure npm authentication
37
- run: |
38
- if [ -z "${NODE_AUTH_TOKEN}" ]; then
39
- echo "Error: NPM_DEPRECATION_TOKEN secret is not set or is empty." >&2
40
- exit 1
41
- fi
42
- echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
43
- env:
44
- NODE_AUTH_TOKEN: ${{ secrets.NPM_DEPRECATION_TOKEN }}
45
-
46
- - name: Deprecate previous pre-release npm versions
47
- run: bash .github/scripts/deprecate_npm_prereleases.sh
48
- env:
49
- EXECUTE: ${{ inputs.execute }}
50
-
51
- - name: Delete previous pre-release GitHub releases and Git tags
52
- run: bash .github/scripts/github_prerelease_cleanup.sh
53
- env:
54
- EXECUTE: ${{ inputs.execute }}
55
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}