iobroker.eos-admin 7.9.39 → 7.9.40
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/README.md +5 -0
- package/adminWww/css/eos-branding.css +2 -0
- package/adminWww/index.html +5 -5
- package/adminWww/js/eos-branding.js +11 -2
- package/io-package.json +916 -911
- package/package.json +143 -143
- package/tools/nexowatt-generate-eos-admin-repo-entry.cjs +1 -0
- package/tools/nexowatt-patch-repo.cjs +2 -1
- package/tools/nexowatt-validate-package.cjs +3 -0
package/package.json
CHANGED
|
@@ -1,145 +1,145 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
2
|
+
"name": "iobroker.eos-admin",
|
|
3
|
+
"description": "NexoWatt EOS Admin interface with reliable repository update mapping and technical log preservation.",
|
|
4
|
+
"version": "7.9.40",
|
|
5
|
+
"contributors": [
|
|
6
|
+
"bluefox <dogafox@gmail.com>",
|
|
7
|
+
"apollon77",
|
|
8
|
+
"soef <soef@gmx.net>",
|
|
9
|
+
"hobbyquaker <hq@ccu.io>",
|
|
10
|
+
"ldittmar <iobroker@lmdsoft.de>"
|
|
11
|
+
],
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=18.0.0"
|
|
14
|
+
},
|
|
15
|
+
"license": "UNLICENSED",
|
|
16
|
+
"keywords": [
|
|
17
|
+
"nexowatt",
|
|
18
|
+
"eos",
|
|
19
|
+
"eos-admin",
|
|
20
|
+
"energy-operation-system",
|
|
21
|
+
"admin",
|
|
22
|
+
"standalone",
|
|
23
|
+
"energy",
|
|
24
|
+
"proprietary",
|
|
25
|
+
"licensed",
|
|
26
|
+
"automation",
|
|
27
|
+
"iobroker"
|
|
28
|
+
],
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@iobroker/adapter-core": "^3.4.1",
|
|
31
|
+
"@iobroker/plugin-docker": "^1.0.3",
|
|
32
|
+
"@iobroker/socket-classes": "^2.3.4",
|
|
33
|
+
"@iobroker/webserver": "^1.4.0",
|
|
34
|
+
"@iobroker/ws-server": "^4.4.1",
|
|
35
|
+
"ajv": "^8.20.0",
|
|
36
|
+
"archiver": "^7.0.1",
|
|
37
|
+
"axios": "^1.18.0",
|
|
38
|
+
"body-parser": "^2.2.2",
|
|
39
|
+
"compression": "^1.8.1",
|
|
40
|
+
"cookie-parser": "^1.4.7",
|
|
41
|
+
"express": "^5.2.1",
|
|
42
|
+
"express-fileupload": "^1.5.2",
|
|
43
|
+
"express-session": "^1.19.0",
|
|
44
|
+
"json5": "^2.2.3",
|
|
45
|
+
"mime": "^3.0.0",
|
|
46
|
+
"semver": "^7.8.3",
|
|
47
|
+
"iobroker.mcp": "^1.0.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@alcalzone/release-script": "^5.2.1",
|
|
51
|
+
"@alcalzone/release-script-plugin-iobroker": "^5.2.0",
|
|
52
|
+
"@alcalzone/release-script-plugin-license": "^5.2.0",
|
|
53
|
+
"@iobroker/admin-component-easy-access": "^2.0.1",
|
|
54
|
+
"@iobroker/build-tools": "^3.0.1",
|
|
55
|
+
"@iobroker/dm-utils": "^3.0.19",
|
|
56
|
+
"@iobroker/eslint-config": "^2.2.0",
|
|
57
|
+
"@iobroker/legacy-testing": "^2.0.2",
|
|
58
|
+
"@iobroker/testing": "^5.2.2",
|
|
59
|
+
"@iobroker/types": "^7.1.2",
|
|
60
|
+
"@iobroker/ws": "^3.1.0",
|
|
61
|
+
"@types/archiver": "^7.0.0",
|
|
62
|
+
"@types/body-parser": "^1.19.6",
|
|
63
|
+
"@types/compression": "^1.8.1",
|
|
64
|
+
"@types/connect-flash": "^0.0.40",
|
|
65
|
+
"@types/cookie-parser": "^1.4.10",
|
|
66
|
+
"@types/express": "^5.0.6",
|
|
67
|
+
"@types/express-fileupload": "^1.5.1",
|
|
68
|
+
"@types/express-session": "^1.19.0",
|
|
69
|
+
"@types/less": "3.0.8",
|
|
70
|
+
"@types/mime": "3.0.4",
|
|
71
|
+
"@types/passport": "^1.0.17",
|
|
72
|
+
"@types/passport-local": "^1.0.38",
|
|
73
|
+
"@types/semver": "^7.7.1",
|
|
74
|
+
"@types/validator": "^13.15.10",
|
|
75
|
+
"colorette": "^2.0.20",
|
|
76
|
+
"less": "^4.6.4",
|
|
77
|
+
"puppeteer": "^24.43.1",
|
|
78
|
+
"tsx": "^4.22.0",
|
|
79
|
+
"typescript": "~5.9.3"
|
|
80
|
+
},
|
|
81
|
+
"overrides": {
|
|
82
|
+
"oauth2-server": {
|
|
83
|
+
"type-is": "2.0.1"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"main": "build/main.js",
|
|
87
|
+
"files": [
|
|
88
|
+
"admin/",
|
|
89
|
+
"build",
|
|
90
|
+
"docs/",
|
|
91
|
+
"adminWww/",
|
|
92
|
+
"public/",
|
|
93
|
+
"io-package.json",
|
|
94
|
+
"LICENSE",
|
|
95
|
+
"THIRD_PARTY_NOTICES.md",
|
|
96
|
+
"NEXOWATT_PROPRIETARY_LICENSE.md",
|
|
97
|
+
"admin/LICENSE-NEXOWATT.md",
|
|
98
|
+
"adminWww/LICENSE-NEXOWATT.md",
|
|
99
|
+
"NEXOWATT_PUBLIC_NPM_DISTRIBUTION.md",
|
|
100
|
+
"tools/nexowatt-validate-package.cjs",
|
|
101
|
+
"README.md",
|
|
102
|
+
"tools/nexowatt-generate-repo-entry.cjs",
|
|
103
|
+
"tools/nexowatt-patch-repo.cjs",
|
|
104
|
+
"NEXOWATT_EOS_STANDALONE.md",
|
|
105
|
+
"tools/nexowatt-generate-eos-admin-repo-entry.cjs",
|
|
106
|
+
"tools/nexowatt-repair-eos-admin-update.cjs"
|
|
107
|
+
],
|
|
108
|
+
"scripts": {
|
|
109
|
+
"npm": "npm i -f && cd src-admin && npm i -f",
|
|
110
|
+
"start": "cd src-admin && npm run start",
|
|
111
|
+
"test": "npm run test:package && npm run test:unit",
|
|
112
|
+
"test:package": "mocha test/package --exit",
|
|
113
|
+
"test:unit": "mocha test/unit --exit",
|
|
114
|
+
"test:integration": "mocha test/integration --exit && npm run test:gui && npm run test:rule && npm run test:unit",
|
|
115
|
+
"test:rule": "mocha test/rule --exit",
|
|
116
|
+
"test:gui": "mocha test/*.gui.js --exit",
|
|
117
|
+
"prepublishOnly": "npm run check:eos-package",
|
|
118
|
+
"build": "npm run build:frontend && npm run build:backend",
|
|
119
|
+
"build:backend": "tsc -p tsconfig.build.json && tsx tasks.mts --backend-i18n",
|
|
120
|
+
"build:frontend": "tsx tasks.mts",
|
|
121
|
+
"clean": "rimraf src-admin/build",
|
|
122
|
+
"lint-backend": "eslint -c eslint.config.mjs src",
|
|
123
|
+
"lint": "npm run lint-backend && cd src-admin && npm run lint",
|
|
124
|
+
"react-0-configCSS": "tsx tasks.mts --react-0-configCSS",
|
|
125
|
+
"react-0-iobCSS": "tsx tasks.mts --react-0-iobCSS",
|
|
126
|
+
"react-0-treeTableCSS": "tsx tasks.mts --react-0-treeTableCSS",
|
|
127
|
+
"react-1-clean": "tsx tasks.mts --react-1-clean",
|
|
128
|
+
"react-2-npm": "tsx tasks.mts --react-2-npm",
|
|
129
|
+
"react-3-build": "tsx tasks.mts --react-3-build",
|
|
130
|
+
"react-5-copy": "tsx tasks.mts --react-5-copy",
|
|
131
|
+
"react-6-patch": "tsx tasks.mts --react-6-patch",
|
|
132
|
+
"release": "release-script",
|
|
133
|
+
"release-patch": "release-script patch --yes",
|
|
134
|
+
"release-minor": "release-script minor --yes",
|
|
135
|
+
"release-major": "release-script major --yes",
|
|
136
|
+
"update-packages": "npx -y npm-check-updates --upgrade && cd src-admin && npx -y npm-check-updates --upgrade",
|
|
137
|
+
"check:eos-package": "node tools/nexowatt-validate-package.cjs",
|
|
138
|
+
"nexowatt:repo-entry": "node tools/nexowatt-generate-repo-entry.cjs",
|
|
139
|
+
"nexowatt:patch-repo": "node tools/nexowatt-patch-repo.cjs",
|
|
140
|
+
"nexowatt:repair-update": "node tools/nexowatt-repair-eos-admin-update.cjs"
|
|
141
|
+
},
|
|
142
|
+
"author": "NexoWatt",
|
|
143
|
+
"private": false,
|
|
144
|
+
"copyright": "Copyright (c) 2026 NexoWatt. NexoWatt EOS branding and modifications are proprietary."
|
|
145
145
|
}
|
|
@@ -40,7 +40,8 @@ repo['eos-admin'] = {
|
|
|
40
40
|
dontDelete: false,
|
|
41
41
|
nondeletable: false,
|
|
42
42
|
readme: `${baseUrl}/README.md`,
|
|
43
|
-
|
|
43
|
+
packetName: 'iobroker.eos-admin',
|
|
44
|
+
npmPackage: 'iobroker.eos-admin',
|
|
44
45
|
allowAdapterUpdate: true,
|
|
45
46
|
allowAdapterDelete: false,
|
|
46
47
|
};
|
|
@@ -17,6 +17,9 @@ if (pkg.name !== 'iobroker.eos-admin') fail(`package.json name must be iobroker.
|
|
|
17
17
|
if (pkg.private !== false) fail('package.json private must be false for npm publishing');
|
|
18
18
|
if (pkg.version !== io.common.version) fail(`package.json and io-package.json versions differ: ${pkg.version} vs ${io.common.version}`);
|
|
19
19
|
if (io.common.name !== 'eos-admin') fail(`io-package common.name must be eos-admin, got ${io.common.name}`);
|
|
20
|
+
|
|
21
|
+
if (io.common.packetName !== 'iobroker.eos-admin') fail(`io-package common.packetName must be iobroker.eos-admin, got ${io.common.packetName}`);
|
|
22
|
+
if (io.common.npmPackage !== 'iobroker.eos-admin') fail(`io-package common.npmPackage must be iobroker.eos-admin, got ${io.common.npmPackage}`);
|
|
20
23
|
if (io.native.port !== 8091 && io.native.port !== 8081) fail(`unexpected default port ${io.native.port}`);
|
|
21
24
|
if (io.common.stopBeforeUpdate !== false) fail('io-package common.stopBeforeUpdate must be false so EOS Admin can self-update from older UI builds');
|
|
22
25
|
if (io.common.dontDelete === true) fail('io-package common.dontDelete must not be true because it blocks clean updates');
|