Upgrade version of h5web/app and h5web/lib
It would be great to be able to have in our gui running the latest official release of h5web. At the moment, in the package.json we have:
"@h5web/app": "1.4.0"
"@h5web/lib": "1.4.0"
and it would be great to go to:
"@h5web/app": "4.1.0"
"@h5web/lib": "4.1.0"
The import lines in gui/src/components/visualization/H5Web.js should change to this instead of the commented lines:
import '@h5web/app/dist/styles.css'
import '@h5web/lib/dist/styles.css'
// import '@h5web/app/dist/style-lib.css'
// import '@h5web/app/dist/style.css'
Unfortunately, this seems to give me some issues with uploading files. After doing this and running yarn I get the following warnings:
[1/4] Resolving packages...
warning @h5web/app > axios@0.27.1: Formdata complete broken, incorrect build size
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@h5web/app > @react-three/fiber@7.0.26" has incorrect peer dependency "react@>=17.0".
warning "@h5web/app > @react-three/fiber > react-reconciler@0.26.2" has incorrect peer dependency "react@^17.0.2".
warning "@h5web/app > @react-three/fiber > use-asset@1.0.4" has incorrect peer dependency "react@>=17.0".
warning " > @h5web/lib@4.1.0" has unmet peer dependency "@react-three/fiber@>=6.0.14".
warning " > @h5web/lib@4.1.0" has unmet peer dependency "three@>=0.120".
Edited by Jose Marquez Prieto