iobroker.weathersense 1.0.3 → 2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.weathersense",
3
- "version": "1.0.3",
3
+ "version": "2.0.2",
4
4
  "description": "Read in data from WeatherSense",
5
5
  "author": {
6
6
  "name": "Daniel Luginbühl",
@@ -12,7 +12,8 @@
12
12
  "ioBroker",
13
13
  "weathersense",
14
14
  "weather",
15
- "sense"
15
+ "sense",
16
+ "ioBroker"
16
17
  ],
17
18
  "repository": {
18
19
  "type": "git",
@@ -22,9 +23,9 @@
22
23
  "node": ">= 20"
23
24
  },
24
25
  "dependencies": {
25
- "@iobroker/adapter-core": "^3.2.3",
26
+ "@iobroker/adapter-core": "^3.3.1",
26
27
  "axios": "^1.10.0",
27
- "mqtt": "^5.13.0"
28
+ "mqtt": "^5.14.0"
28
29
  },
29
30
  "devDependencies": {
30
31
  "@alcalzone/release-script": "^3.8.0",
@@ -33,23 +34,14 @@
33
34
  "@alcalzone/release-script-plugin-manual-review": "^3.7.0",
34
35
  "@iobroker/adapter-dev": "^1.4.0",
35
36
  "@iobroker/dev-server": "^0.7.8",
37
+ "@iobroker/eslint-config": "^2.0.3",
36
38
  "@iobroker/testing": "^5.0.4",
37
- "@tsconfig/node18": "^18.2.4",
38
- "@types/chai": "^4.3.12",
39
- "@types/chai-as-promised": "^8.0.2",
40
- "@types/mocha": "^10.0.10",
41
- "@types/node": "^24.0.8",
42
- "@types/proxyquire": "^1.3.31",
43
- "@types/sinon": "^17.0.4",
44
- "@types/sinon-chai": "^3.2.12",
45
39
  "chai": "^4.5.0",
46
40
  "chai-as-promised": "^8.0.1",
47
- "eslint": "^9.30.0",
48
41
  "mocha": "^11.5.0",
49
42
  "proxyquire": "^2.1.3",
50
43
  "sinon": "^21.0.0",
51
- "sinon-chai": "^3.7.0",
52
- "typescript": "~5.8.3"
44
+ "sinon-chai": "^3.7.0"
53
45
  },
54
46
  "main": "main.js",
55
47
  "files": [
@@ -66,10 +58,9 @@
66
58
  "test:package": "mocha test/package --exit",
67
59
  "test:integration": "mocha test/integration --exit",
68
60
  "test": "npm run test:js && npm run test:package",
69
- "check": "tsc --noEmit -p tsconfig.check.json",
70
- "lint": "eslint .",
61
+ "lint": "eslint -c eslint.config.mjs .",
71
62
  "translate": "translate-adapter",
72
- "build": "build-adapter",
63
+ "build": "echo 'No build needed for JavaScript version'",
73
64
  "release": "release-script",
74
65
  "dev": "dev-server"
75
66
  },
@@ -1,19 +0,0 @@
1
- // This file extends the AdapterConfig type from "@types/iobroker"
2
- // using the actual properties present in io-package.json
3
- // in order to provide typings for adapter.config properties
4
-
5
- import { native } from "../io-package.json";
6
-
7
- type _AdapterConfig = typeof native;
8
-
9
- // Augment the globally declared type ioBroker.AdapterConfig
10
- declare global {
11
- namespace ioBroker {
12
- interface AdapterConfig extends _AdapterConfig {
13
- // Do not enter anything here!
14
- }
15
- }
16
- }
17
-
18
- // this is required so the above AdapterConfig is found by TypeScript / type checking
19
- export {};