@martyndevries/xiaomi-miio 0.1.5 → 1.0.2

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.
Files changed (3) hide show
  1. package/LICENSE.md +15 -0
  2. package/README.md +3 -2
  3. package/package.json +9 -27
package/LICENSE.md ADDED
@@ -0,0 +1,15 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2025 Martyn de Vries
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package/README.md CHANGED
@@ -111,6 +111,7 @@ for (const device of devices) {
111
111
  }
112
112
  ```
113
113
 
114
- ## Contributors
114
+ ## Contributing
115
+ - Martyn de Vries (Maintainer)
115
116
 
116
- - Martyn de Vries (maintainer)
117
+ Contributions are welcome see [CONTRIBUTING.md](CONTRIBUTING.md) for how to get started.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@martyndevries/xiaomi-miio",
3
- "version": "0.1.5",
3
+ "version": "1.0.2",
4
4
  "description": "Zero-dependency Node.js library for Xiaomi miIO protocol",
5
5
  "type": "module",
6
6
  "exports": {
@@ -28,14 +28,19 @@
28
28
  "example:discovery": "tsc -p tsconfig.examples.json && node dist-examples/examples/discovery-cli.js",
29
29
  "example:hostname": "tsc -p tsconfig.examples.json && node dist-examples/examples/hostname-cli.js",
30
30
  "clean": "rm -rf dist dist-test dist-examples",
31
- "prepublishOnly": "npm run clean && npm run build"
31
+ "prepublishOnly": "npm run build"
32
32
  },
33
33
  "devDependencies": {
34
- "@semantic-release/exec": "^6.0.3",
34
+ "@semantic-release/changelog": "^6.0.3",
35
+ "@semantic-release/commit-analyzer": "^13.0.1",
36
+ "@semantic-release/git": "^10.0.1",
37
+ "@semantic-release/github": "^12.0.6",
38
+ "@semantic-release/npm": "^13.1.4",
39
+ "@semantic-release/release-notes-generator": "^14.1.0",
35
40
  "@types/node": "^22.0.0",
36
41
  "c8": "^10.1.3",
37
42
  "eslint": "^9.0.0",
38
- "semantic-release": "^24.0.0",
43
+ "semantic-release": "^25.0.3",
39
44
  "typescript": "^5.7.0",
40
45
  "typescript-eslint": "^8.0.0"
41
46
  },
@@ -47,28 +52,5 @@
47
52
  "registry": "https://registry.npmjs.org",
48
53
  "access": "public"
49
54
  },
50
- "release": {
51
- "branches": [
52
- "main"
53
- ],
54
- "tagFormat": "xiaomi-miio-v${version}",
55
- "plugins": [
56
- "@semantic-release/commit-analyzer",
57
- "@semantic-release/release-notes-generator",
58
- [
59
- "@semantic-release/npm",
60
- {
61
- "npmPublish": false
62
- }
63
- ],
64
- [
65
- "@semantic-release/exec",
66
- {
67
- "publishCmd": "npm publish --access public --provenance"
68
- }
69
- ],
70
- "@semantic-release/github"
71
- ]
72
- },
73
55
  "license": "ISC"
74
56
  }