Move filemanager/ to frontend/

This commit is contained in:
Johannes Zellner
2023-07-12 14:22:58 +02:00
parent 9b6957b52f
commit caa160b3fd
518 changed files with 16 additions and 16 deletions
+5 -5
View File
@@ -55,11 +55,11 @@ echo "==> Building dashboard assets"
(cd "${bundle_dir}/dashboard" && ./node_modules/.bin/gulp --revision ${box_version})
rm -rf "${bundle_dir}/dashboard/node_modules"
echo "==> Building filemanager assets"
(cd "${bundle_dir}/filemanager" && npm install)
(cd "${bundle_dir}/filemanager" && ./node_modules/.bin/vite build --base=/filemanager/)
mv "${bundle_dir}/filemanager/dist" "${bundle_dir}/dashboard/dist/filemanager"
rm -rf "${bundle_dir}/filemanager"
echo "==> Building new frontend assets"
(cd "${bundle_dir}/frontend" && npm install)
(cd "${bundle_dir}/frontend" && ./node_modules/.bin/vite build --base=/frontend/)
mv "${bundle_dir}/frontend/dist" "${bundle_dir}/dashboard/dist/frontend"
rm -rf "${bundle_dir}/frontend"
echo "==> Installing toplevel node modules"
(cd "${bundle_dir}" && npm install --omit=dev --omit=optional)