zigbee-herdsman 0.14.115 → 0.15.0

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/package.json CHANGED
@@ -57,7 +57,7 @@
57
57
  "eslint": "*",
58
58
  "jest": "*",
59
59
  "regenerator-runtime": "*",
60
- "typedoc": "^0.24.6",
60
+ "typedoc": "^0.24.7",
61
61
  "typedoc-plugin-markdown": "*",
62
62
  "typedoc-plugin-no-inherit": "*",
63
63
  "typedoc-plugin-sourcefile-url": "*",
@@ -85,7 +85,7 @@
85
85
  "eslint": "node_modules/.bin/eslint . --ext .ts --max-warnings=0",
86
86
  "docs": "typedoc --tsconfig typedoc-tsconfig.json"
87
87
  },
88
- "version": "0.14.115",
88
+ "version": "0.15.0",
89
89
  "jest": {
90
90
  "coverageThreshold": {
91
91
  "global": {
@@ -0,0 +1,13 @@
1
+ {
2
+ "packages": {
3
+ ".": {
4
+ "changelog-path": "CHANGELOG.md",
5
+ "release-type": "node",
6
+ "bump-minor-pre-major": false,
7
+ "bump-patch-for-minor-pre-major": false,
8
+ "draft": false,
9
+ "prerelease": false
10
+ }
11
+ },
12
+ "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
13
+ }
@@ -1,56 +0,0 @@
1
- name: Create new release
2
-
3
- on:
4
- workflow_dispatch:
5
- inputs:
6
- type:
7
- description: 'Release type (patch/minor/major)'
8
- default: 'patch'
9
- required: true
10
-
11
- jobs:
12
- release:
13
- runs-on: ubuntu-latest
14
- steps:
15
- - uses: actions/checkout@v3
16
- - uses: actions/setup-node@v3
17
- with:
18
- node-version: 18
19
- registry-url: https://registry.npmjs.org/
20
- - name: Install dependencies
21
- if: steps.cache-node-modules.outputs.cache-hit != 'true'
22
- run: npm ci
23
- - name: Build
24
- run: npm run build
25
- - name: Test
26
- run: npm run test-with-coverage
27
- - name: Lint
28
- run: npm run eslint
29
- - name: Setup Git
30
- run: |
31
- git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
32
- git config --local user.name "github-actions[bot]"
33
- - name: Bump version
34
- run: "npm version ${{ github.event.inputs.type }}"
35
- # - name: Generate docs
36
- # run: npm run docs && git add -A && git commit --amend --no-edit
37
- - name: Push changes
38
- uses: ad-m/github-push-action@master
39
- with:
40
- github_token: ${{ secrets.GITHUB_TOKEN }}
41
- tags: true
42
- branch: master
43
- - name: Publish to npm
44
- run: npm publish
45
- env:
46
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN }}
47
- - name: Get zigbee-herdsman version
48
- id: zhversion
49
- run: |
50
- version=$(node -p "require('./package.json').version")
51
- echo "::set-output name=version::$version"
52
- - name: Wait till package is in NPM # otherwise Z2M job fails
53
- run: sleep 120
54
- - name: Trigger Zigbee2MQTT update
55
- run: |
56
- curl -XPOST -H "Authorization: token ${{ secrets.TRIGGER_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/koenkk/zigbee2mqtt/dispatches --data '{"event_type": "update_zh", "client_payload": { "version": "${{ steps.zhversion.outputs.version }}"}}'