From 90b11feb28110ccb10355c5be372cc632279dddf Mon Sep 17 00:00:00 2001 From: kovacsv Date: Mon, 8 Nov 2021 19:31:42 +0100 Subject: [PATCH] Remove version postfix from lib files. --- libs/{jquery-3.5.1.min.js => jquery.min.js} | 0 ...ickr.es5.min-1.8.2.js => pickr.es5.min.js} | 0 ...h.min-1.8.2.css => pickr.monolith.min.css} | 0 libs/{three.min-r134.js => three.min.js} | 0 package.json | 6 ++- sandbox/embed_selfhost_errors.html | 2 +- sandbox/embed_selfhost_externallibs.html | 2 +- sandbox/embed_selfhost_fullscreen.html | 2 +- sandbox/embed_selfhost_manual.html | 2 +- sandbox/embed_selfhost_multiple.html | 2 +- sandbox/embed_selfhost_single.html | 2 +- sandbox/embed_selfhost_single_scroll.html | 2 +- sandbox/invalid_driver_detector.html | 2 +- sandbox/three_minimal.html | 2 +- tools/build.py | 14 +++--- tools/config.json | 8 +-- tools/updatelibs.py | 49 +++---------------- website/embed.html | 14 +++--- website/index.html | 8 +-- 19 files changed, 42 insertions(+), 75 deletions(-) rename libs/{jquery-3.5.1.min.js => jquery.min.js} (100%) rename libs/{pickr.es5.min-1.8.2.js => pickr.es5.min.js} (100%) rename libs/{pickr.monolith.min-1.8.2.css => pickr.monolith.min.css} (100%) rename libs/{three.min-r134.js => three.min.js} (100%) diff --git a/libs/jquery-3.5.1.min.js b/libs/jquery.min.js similarity index 100% rename from libs/jquery-3.5.1.min.js rename to libs/jquery.min.js diff --git a/libs/pickr.es5.min-1.8.2.js b/libs/pickr.es5.min.js similarity index 100% rename from libs/pickr.es5.min-1.8.2.js rename to libs/pickr.es5.min.js diff --git a/libs/pickr.monolith.min-1.8.2.css b/libs/pickr.monolith.min.css similarity index 100% rename from libs/pickr.monolith.min-1.8.2.css rename to libs/pickr.monolith.min.css diff --git a/libs/three.min-r134.js b/libs/three.min.js similarity index 100% rename from libs/three.min-r134.js rename to libs/three.min.js diff --git a/package.json b/package.json index 4136a39..29ea1db 100644 --- a/package.json +++ b/package.json @@ -20,10 +20,12 @@ "test": "mocha test", "build": "node tools/run_python.js tools/build.py", "update": "node tools/run_python.js tools/update.py", - "updatelibs": "node tools/run_python.js tools/updatelibs.py && npm run update", + "updatelibs": "npm install && node tools/run_python.js tools/updatelibs.py", "svg": "node tools/run_python.js tools/svg.py" }, - "dependencies": {}, + "dependencies": { + "three": "0.134.0" + }, "eslintConfig": { "env": { "browser": true, diff --git a/sandbox/embed_selfhost_errors.html b/sandbox/embed_selfhost_errors.html index 76285f2..c561800 100644 --- a/sandbox/embed_selfhost_errors.html +++ b/sandbox/embed_selfhost_errors.html @@ -7,7 +7,7 @@ Online 3D Viewer - + diff --git a/sandbox/embed_selfhost_externallibs.html b/sandbox/embed_selfhost_externallibs.html index 2c2a03a..c615b63 100644 --- a/sandbox/embed_selfhost_externallibs.html +++ b/sandbox/embed_selfhost_externallibs.html @@ -7,7 +7,7 @@ Online 3D Viewer - + diff --git a/sandbox/embed_selfhost_fullscreen.html b/sandbox/embed_selfhost_fullscreen.html index 566005d..f70cce1 100644 --- a/sandbox/embed_selfhost_fullscreen.html +++ b/sandbox/embed_selfhost_fullscreen.html @@ -7,7 +7,7 @@ Online 3D Viewer - + diff --git a/sandbox/embed_selfhost_manual.html b/sandbox/embed_selfhost_manual.html index 36027a1..40ac3ad 100644 --- a/sandbox/embed_selfhost_manual.html +++ b/sandbox/embed_selfhost_manual.html @@ -7,7 +7,7 @@ Online 3D Viewer - + diff --git a/sandbox/embed_selfhost_multiple.html b/sandbox/embed_selfhost_multiple.html index 046fc58..17533d9 100644 --- a/sandbox/embed_selfhost_multiple.html +++ b/sandbox/embed_selfhost_multiple.html @@ -7,7 +7,7 @@ Online 3D Viewer - + diff --git a/sandbox/embed_selfhost_single.html b/sandbox/embed_selfhost_single.html index 84f2aa1..ae7d0e6 100644 --- a/sandbox/embed_selfhost_single.html +++ b/sandbox/embed_selfhost_single.html @@ -7,7 +7,7 @@ Online 3D Viewer - + diff --git a/sandbox/embed_selfhost_single_scroll.html b/sandbox/embed_selfhost_single_scroll.html index 14318ae..4bf3491 100644 --- a/sandbox/embed_selfhost_single_scroll.html +++ b/sandbox/embed_selfhost_single_scroll.html @@ -7,7 +7,7 @@ Online 3D Viewer - + diff --git a/sandbox/invalid_driver_detector.html b/sandbox/invalid_driver_detector.html index 7270cc5..c9794eb 100644 --- a/sandbox/invalid_driver_detector.html +++ b/sandbox/invalid_driver_detector.html @@ -7,7 +7,7 @@ Online 3D Viewer - + + - - - + + + + - + @@ -81,7 +81,7 @@ - + diff --git a/website/index.html b/website/index.html index e713d53..533640f 100644 --- a/website/index.html +++ b/website/index.html @@ -9,10 +9,10 @@ Online 3D Viewer - - - - + + + +