iobroker.mywebui 1.40.3 → 1.40.5

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.3",
4
+ "version": "1.40.5",
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.3",
3
+ "version": "1.40.5",
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
  "prepublishOnly": "npm run build",
14
14
  "build": "npm i && npm run reflection && gulp delAll && tsc && gulp",
15
- "postinstall": "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 || echo 'SCADA setup will run on adapter start'",
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",
@@ -66,11 +66,11 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@iobroker/adapter-core": "^3.3.2",
69
- "@types/node": "^24.7.2",
70
- "three": "^0.184.0"
69
+ "@types/node": "^24.7.2"
71
70
  },
72
71
  "devDependencies": {
73
72
  "@adobe/css-tools": "4.4.4",
73
+ "three": "^0.184.0",
74
74
  "@alcalzone/release-script": "^4.0.0",
75
75
  "@alcalzone/release-script-plugin-iobroker": "^4.0.0",
76
76
  "@alcalzone/release-script-plugin-license": "^4.0.0",
@@ -197,8 +197,8 @@
197
197
  <script type="importmap">
198
198
  {
199
199
  "imports": {
200
- "three": "../../node_modules/three/build/three.module.js",
201
- "three/addons/": "../../node_modules/three/examples/jsm/"
200
+ "three": "/mywebui/node_modules/three/build/three.module.js",
201
+ "three/addons/": "/mywebui/node_modules/three/examples/jsm/"
202
202
  }
203
203
  }
204
204
  </script>
package/www/demo.html CHANGED
@@ -197,8 +197,8 @@
197
197
  <script type="importmap">
198
198
  {
199
199
  "imports": {
200
- "three": "../node_modules/three/build/three.module.js",
201
- "three/addons/": "../node_modules/three/examples/jsm/"
200
+ "three": "/mywebui/node_modules/three/build/three.module.js",
201
+ "three/addons/": "/mywebui/node_modules/three/examples/jsm/"
202
202
  }
203
203
  }
204
204
  </script>