build: Don't install @edx/studio-frontend

The dependencies on this package via studio should all be removed now
and so we no longer need to install this package to pickup any
components from it.

This work is part of:
* https://github.com/openedx/edx-platform/issues/36275
* https://github.com/openedx/edx-platform/issues/36108
This commit is contained in:
Feanil Patel
2025-10-14 16:39:53 -04:00
parent 14d4aa22c8
commit 1ebe64db56
3 changed files with 1474 additions and 1662 deletions

View File

@@ -42,15 +42,6 @@ log "Ensuring vendor directories exist..."
log_and_run mkdir -p "$vendor_js"
log_and_run mkdir -p "$vendor_css"
log "Copying studio-frontend JS & CSS from node_modules into vendor directores..."
while read -r -d $'\0' src_file ; do
if [[ "$src_file" = *.css ]] || [[ "$src_file" = *.css.map ]] ; then
log_and_run cp --force "$src_file" "$vendor_css"
else
log_and_run cp --force "$src_file" "$vendor_js"
fi
done < <(find "$node_modules/@edx/studio-frontend/dist" -type f -print0)
log "Copying certain JS modules from node_modules into vendor directory..."
log_and_run cp --force \
"$node_modules/backbone.paginator/lib/backbone.paginator.js" \