iobroker.mywebui 1.40.8 → 1.41.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/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "mywebui",
4
- "version": "1.40.8",
4
+ "version": "1.41.0",
5
5
  "titleLang": {
6
6
  "en": "mywebui",
7
7
  "de": "mywebui",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.mywebui",
3
- "version": "1.40.8",
3
+ "version": "1.41.0",
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 || true && node setup-scada-utils.js || echo 'SCADA setup will run on adapter start'",
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",
@@ -55,9 +55,9 @@ function copyDirSync(src, dest) {
55
55
  try {
56
56
  // Check source exists
57
57
  if (!fs.existsSync(sourceDir)) {
58
- console.error(`✗ Source not found: ${sourceDir}`);
59
- console.log(' Run: npm install');
60
- process.exit(1);
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}`);