iobroker.mywebui 1.40.8 → 1.40.9
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/io-package.json +1 -1
- package/package.json +4 -4
- package/scripts/copy-three.mjs +3 -3
package/io-package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.mywebui",
|
|
3
|
-
"version": "1.40.
|
|
3
|
+
"version": "1.40.9",
|
|
4
4
|
"description": "ioBroker mywebui - Custom edited mywebui by gokturk413 with 3D Editor",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/backend/main.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"startwww": "cd www && web-dev-server --node-resolve --open",
|
|
13
13
|
"copy-three": "node scripts/copy-three.mjs",
|
|
14
14
|
"build": "npm i && npm run copy-three && npm run reflection && gulp delAll && tsc && gulp",
|
|
15
|
-
"postinstall": "node scripts/copy-three.mjs
|
|
15
|
+
"postinstall": "node scripts/copy-three.mjs && node setup-scada-utils.js || true",
|
|
16
16
|
"test:ts": "mocha --config test/mocharc.custom.json test/tests/*.js",
|
|
17
17
|
"test:package": "mocha test/package --exit",
|
|
18
18
|
"test:unit": "mocha test/unit --exit",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@iobroker/adapter-core": "^3.3.2",
|
|
70
|
-
"@types/node": "^24.7.2"
|
|
70
|
+
"@types/node": "^24.7.2",
|
|
71
|
+
"three": "^0.184.0"
|
|
71
72
|
},
|
|
72
73
|
"devDependencies": {
|
|
73
74
|
"@adobe/css-tools": "4.4.4",
|
|
74
|
-
"three": "^0.184.0",
|
|
75
75
|
"@alcalzone/release-script": "^4.0.0",
|
|
76
76
|
"@alcalzone/release-script-plugin-iobroker": "^4.0.0",
|
|
77
77
|
"@alcalzone/release-script-plugin-license": "^4.0.0",
|
package/scripts/copy-three.mjs
CHANGED
|
@@ -55,9 +55,9 @@ function copyDirSync(src, dest) {
|
|
|
55
55
|
try {
|
|
56
56
|
// Check source exists
|
|
57
57
|
if (!fs.existsSync(sourceDir)) {
|
|
58
|
-
console.
|
|
59
|
-
console.log('
|
|
60
|
-
process.exit(
|
|
58
|
+
console.log(`⚠️ Source not found: ${sourceDir}`);
|
|
59
|
+
console.log(' Three.js will be available after full npm install');
|
|
60
|
+
process.exit(0);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
console.log(`✓ Source found: ${sourceDir}`);
|