From daa1646b3d6d0ff86bb5eaf2e957f4c71cc80efc Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 12 Jun 2024 21:20:30 +0200 Subject: [PATCH 1/4] chore: Adjust post-build script to add license files for sourcemaps on build Signed-off-by: Ferdinand Thiessen --- build/npm-post-build.sh | 29 +++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100755 build/npm-post-build.sh diff --git a/build/npm-post-build.sh b/build/npm-post-build.sh new file mode 100755 index 0000000000000..51a8bda3b606f --- /dev/null +++ b/build/npm-post-build.sh @@ -0,0 +1,29 @@ +#!/bin/sh + +# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later + +set -e + +# Build CSS files from SCSS +npm run sass +# Build icons +npm run sass:icons + +# Add licenses for source maps +if [ -d "dist" ]; then + for f in dist/*.js; do + # If license file and source map exists copy license for the sourcemap + if [ -f "$f.license" ] && [ -f "$f.map" ]; then + # Remove existing link + [ -e "$f.map.license" ] || [ -L "$f.map.license" ] && rm "$f.map.license" + # Create a new link + ln -s "$(basename "$f.license")" "$f.map.license" + fi + done + echo "Copying licenses for sourcemaps done" +else + echo "This script needs to be executed from the root of the repository" + exit 1 +fi + diff --git a/package.json b/package.json index 6b44619139601..8b81d18e92690 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "scripts": { "build": "webpack --node-env production --progress", - "postbuild": "npm run sass && npm run sass:icons", + "postbuild": "build/npm-post-build.sh", "dev": "webpack --node-env development --progress", "watch": "webpack --node-env development --progress --watch", "lint": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then printf \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern", From 9282063865b1d038cf73c6a8c10a5c897642857d Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 12 Jun 2024 21:24:45 +0200 Subject: [PATCH 2/4] chore: Compile assets Signed-off-by: Ferdinand Thiessen --- dist/1110-1110.js.map.license | 1 + dist/1439-1439.js.map.license | 1 + dist/5390-5390.js.map.license | 1 + dist/5455-5455.js.map.license | 1 + dist/7462-7462.js.map.license | 1 + dist/7883-7883.js.map.license | 1 + dist/8377-8377.js.map.license | 1 + dist/8450-8450.js.map.license | 1 + dist/comments-comments-app.js.map.license | 1 + dist/comments-comments-tab.js.map.license | 1 + dist/comments-init.js.map.license | 1 + dist/core-common.js.map.license | 1 + dist/core-files_client.js.map.license | 1 + dist/core-files_fileinfo.js.map.license | 1 + dist/core-install.js.map.license | 1 + dist/core-legacy-unified-search.js.map.license | 1 + dist/core-login.js.map.license | 1 + dist/core-main.js.map.license | 1 + dist/core-maintenance.js.map.license | 1 + dist/core-profile.js.map.license | 1 + dist/core-recommendedapps.js.map.license | 1 + dist/core-systemtags.js.map.license | 1 + dist/core-unified-search.js.map.license | 1 + dist/core-unsupported-browser-redirect.js.map.license | 1 + dist/core-unsupported-browser.js.map.license | 1 + dist/dashboard-main.js.map.license | 1 + dist/dav-settings-admin-caldav.js.map.license | 1 + dist/dav-settings-personal-availability.js.map.license | 1 + dist/federatedfilesharing-external.js.map.license | 1 + dist/federatedfilesharing-vue-settings-admin.js.map.license | 1 + dist/federatedfilesharing-vue-settings-personal.js.map.license | 1 + dist/files-init.js.map.license | 1 + dist/files-main.js.map.license | 1 + dist/files-personal-settings.js.map.license | 1 + dist/files-reference-files.js.map.license | 1 + dist/files-search.js.map.license | 1 + dist/files-sidebar.js.map.license | 1 + dist/files_external-init.js.map.license | 1 + dist/files_reminders-init.js.map.license | 1 + dist/files_sharing-additionalScripts.js.map.license | 1 + dist/files_sharing-files_sharing_tab.js.map.license | 1 + dist/files_sharing-init.js.map.license | 1 + dist/files_sharing-main.js.map.license | 1 + dist/files_sharing-personal-settings.js.map.license | 1 + dist/files_trashbin-main.js.map.license | 1 + dist/files_versions-files_versions.js.map.license | 1 + dist/oauth2-oauth2.js.map.license | 1 + dist/settings-apps-view-4529.js.map.license | 1 + dist/settings-apps.js.map.license | 1 + dist/settings-declarative-settings-forms.js.map.license | 1 + dist/settings-legacy-admin.js.map.license | 1 + dist/settings-users-3239.js.map.license | 1 + dist/settings-vue-settings-admin-ai.js.map.license | 1 + dist/settings-vue-settings-admin-basic-settings.js.map.license | 1 + dist/settings-vue-settings-admin-delegation.js.map.license | 1 + dist/settings-vue-settings-admin-security.js.map.license | 1 + dist/settings-vue-settings-admin-sharing.js.map.license | 1 + dist/settings-vue-settings-apps-users-management.js.map.license | 1 + dist/settings-vue-settings-nextcloud-pdf.js.map.license | 1 + dist/settings-vue-settings-personal-info.js.map.license | 1 + dist/settings-vue-settings-personal-password.js.map.license | 1 + dist/settings-vue-settings-personal-security.js.map.license | 1 + dist/settings-vue-settings-personal-webauthn.js.map.license | 1 + dist/sharebymail-vue-settings-admin-sharebymail.js.map.license | 1 + dist/systemtags-admin.js.map.license | 1 + dist/systemtags-init.js.map.license | 1 + dist/theming-admin-theming.js.map.license | 1 + dist/theming-personal-theming.js.map.license | 1 + dist/twofactor_backupcodes-settings.js.map.license | 1 + dist/updatenotification-init.js.map.license | 1 + dist/updatenotification-updatenotification.js.map.license | 1 + dist/user-status-modal-5133.js.map.license | 1 + dist/user_status-menu.js.map.license | 1 + dist/weather_status-weather-status.js.map.license | 1 + dist/workflowengine-workflowengine.js.map.license | 1 + 75 files changed, 75 insertions(+) create mode 120000 dist/1110-1110.js.map.license create mode 120000 dist/1439-1439.js.map.license create mode 120000 dist/5390-5390.js.map.license create mode 120000 dist/5455-5455.js.map.license create mode 120000 dist/7462-7462.js.map.license create mode 120000 dist/7883-7883.js.map.license create mode 120000 dist/8377-8377.js.map.license create mode 120000 dist/8450-8450.js.map.license create mode 120000 dist/comments-comments-app.js.map.license create mode 120000 dist/comments-comments-tab.js.map.license create mode 120000 dist/comments-init.js.map.license create mode 120000 dist/core-common.js.map.license create mode 120000 dist/core-files_client.js.map.license create mode 120000 dist/core-files_fileinfo.js.map.license create mode 120000 dist/core-install.js.map.license create mode 120000 dist/core-legacy-unified-search.js.map.license create mode 120000 dist/core-login.js.map.license create mode 120000 dist/core-main.js.map.license create mode 120000 dist/core-maintenance.js.map.license create mode 120000 dist/core-profile.js.map.license create mode 120000 dist/core-recommendedapps.js.map.license create mode 120000 dist/core-systemtags.js.map.license create mode 120000 dist/core-unified-search.js.map.license create mode 120000 dist/core-unsupported-browser-redirect.js.map.license create mode 120000 dist/core-unsupported-browser.js.map.license create mode 120000 dist/dashboard-main.js.map.license create mode 120000 dist/dav-settings-admin-caldav.js.map.license create mode 120000 dist/dav-settings-personal-availability.js.map.license create mode 120000 dist/federatedfilesharing-external.js.map.license create mode 120000 dist/federatedfilesharing-vue-settings-admin.js.map.license create mode 120000 dist/federatedfilesharing-vue-settings-personal.js.map.license create mode 120000 dist/files-init.js.map.license create mode 120000 dist/files-main.js.map.license create mode 120000 dist/files-personal-settings.js.map.license create mode 120000 dist/files-reference-files.js.map.license create mode 120000 dist/files-search.js.map.license create mode 120000 dist/files-sidebar.js.map.license create mode 120000 dist/files_external-init.js.map.license create mode 120000 dist/files_reminders-init.js.map.license create mode 120000 dist/files_sharing-additionalScripts.js.map.license create mode 120000 dist/files_sharing-files_sharing_tab.js.map.license create mode 120000 dist/files_sharing-init.js.map.license create mode 120000 dist/files_sharing-main.js.map.license create mode 120000 dist/files_sharing-personal-settings.js.map.license create mode 120000 dist/files_trashbin-main.js.map.license create mode 120000 dist/files_versions-files_versions.js.map.license create mode 120000 dist/oauth2-oauth2.js.map.license create mode 120000 dist/settings-apps-view-4529.js.map.license create mode 120000 dist/settings-apps.js.map.license create mode 120000 dist/settings-declarative-settings-forms.js.map.license create mode 120000 dist/settings-legacy-admin.js.map.license create mode 120000 dist/settings-users-3239.js.map.license create mode 120000 dist/settings-vue-settings-admin-ai.js.map.license create mode 120000 dist/settings-vue-settings-admin-basic-settings.js.map.license create mode 120000 dist/settings-vue-settings-admin-delegation.js.map.license create mode 120000 dist/settings-vue-settings-admin-security.js.map.license create mode 120000 dist/settings-vue-settings-admin-sharing.js.map.license create mode 120000 dist/settings-vue-settings-apps-users-management.js.map.license create mode 120000 dist/settings-vue-settings-nextcloud-pdf.js.map.license create mode 120000 dist/settings-vue-settings-personal-info.js.map.license create mode 120000 dist/settings-vue-settings-personal-password.js.map.license create mode 120000 dist/settings-vue-settings-personal-security.js.map.license create mode 120000 dist/settings-vue-settings-personal-webauthn.js.map.license create mode 120000 dist/sharebymail-vue-settings-admin-sharebymail.js.map.license create mode 120000 dist/systemtags-admin.js.map.license create mode 120000 dist/systemtags-init.js.map.license create mode 120000 dist/theming-admin-theming.js.map.license create mode 120000 dist/theming-personal-theming.js.map.license create mode 120000 dist/twofactor_backupcodes-settings.js.map.license create mode 120000 dist/updatenotification-init.js.map.license create mode 120000 dist/updatenotification-updatenotification.js.map.license create mode 120000 dist/user-status-modal-5133.js.map.license create mode 120000 dist/user_status-menu.js.map.license create mode 120000 dist/weather_status-weather-status.js.map.license create mode 120000 dist/workflowengine-workflowengine.js.map.license diff --git a/dist/1110-1110.js.map.license b/dist/1110-1110.js.map.license new file mode 120000 index 0000000000000..323079c6a62d6 --- /dev/null +++ b/dist/1110-1110.js.map.license @@ -0,0 +1 @@ +1110-1110.js.license \ No newline at end of file diff --git a/dist/1439-1439.js.map.license b/dist/1439-1439.js.map.license new file mode 120000 index 0000000000000..172fc7382f3f7 --- /dev/null +++ b/dist/1439-1439.js.map.license @@ -0,0 +1 @@ +1439-1439.js.license \ No newline at end of file diff --git a/dist/5390-5390.js.map.license b/dist/5390-5390.js.map.license new file mode 120000 index 0000000000000..cfc04c4b81b76 --- /dev/null +++ b/dist/5390-5390.js.map.license @@ -0,0 +1 @@ +5390-5390.js.license \ No newline at end of file diff --git a/dist/5455-5455.js.map.license b/dist/5455-5455.js.map.license new file mode 120000 index 0000000000000..098ea00ba5b10 --- /dev/null +++ b/dist/5455-5455.js.map.license @@ -0,0 +1 @@ +5455-5455.js.license \ No newline at end of file diff --git a/dist/7462-7462.js.map.license b/dist/7462-7462.js.map.license new file mode 120000 index 0000000000000..cb256dd7f450d --- /dev/null +++ b/dist/7462-7462.js.map.license @@ -0,0 +1 @@ +7462-7462.js.license \ No newline at end of file diff --git a/dist/7883-7883.js.map.license b/dist/7883-7883.js.map.license new file mode 120000 index 0000000000000..237debb2d76cf --- /dev/null +++ b/dist/7883-7883.js.map.license @@ -0,0 +1 @@ +7883-7883.js.license \ No newline at end of file diff --git a/dist/8377-8377.js.map.license b/dist/8377-8377.js.map.license new file mode 120000 index 0000000000000..fe5aa4f492c4b --- /dev/null +++ b/dist/8377-8377.js.map.license @@ -0,0 +1 @@ +8377-8377.js.license \ No newline at end of file diff --git a/dist/8450-8450.js.map.license b/dist/8450-8450.js.map.license new file mode 120000 index 0000000000000..657bdfe18d69a --- /dev/null +++ b/dist/8450-8450.js.map.license @@ -0,0 +1 @@ +8450-8450.js.license \ No newline at end of file diff --git a/dist/comments-comments-app.js.map.license b/dist/comments-comments-app.js.map.license new file mode 120000 index 0000000000000..19f6ef5c4eddc --- /dev/null +++ b/dist/comments-comments-app.js.map.license @@ -0,0 +1 @@ +comments-comments-app.js.license \ No newline at end of file diff --git a/dist/comments-comments-tab.js.map.license b/dist/comments-comments-tab.js.map.license new file mode 120000 index 0000000000000..6e06a45dc00f0 --- /dev/null +++ b/dist/comments-comments-tab.js.map.license @@ -0,0 +1 @@ +comments-comments-tab.js.license \ No newline at end of file diff --git a/dist/comments-init.js.map.license b/dist/comments-init.js.map.license new file mode 120000 index 0000000000000..847ff6b625785 --- /dev/null +++ b/dist/comments-init.js.map.license @@ -0,0 +1 @@ +comments-init.js.license \ No newline at end of file diff --git a/dist/core-common.js.map.license b/dist/core-common.js.map.license new file mode 120000 index 0000000000000..4e1c14ac15c4f --- /dev/null +++ b/dist/core-common.js.map.license @@ -0,0 +1 @@ +core-common.js.license \ No newline at end of file diff --git a/dist/core-files_client.js.map.license b/dist/core-files_client.js.map.license new file mode 120000 index 0000000000000..4445e6b549a99 --- /dev/null +++ b/dist/core-files_client.js.map.license @@ -0,0 +1 @@ +core-files_client.js.license \ No newline at end of file diff --git a/dist/core-files_fileinfo.js.map.license b/dist/core-files_fileinfo.js.map.license new file mode 120000 index 0000000000000..4e9c4943a0167 --- /dev/null +++ b/dist/core-files_fileinfo.js.map.license @@ -0,0 +1 @@ +core-files_fileinfo.js.license \ No newline at end of file diff --git a/dist/core-install.js.map.license b/dist/core-install.js.map.license new file mode 120000 index 0000000000000..c649c73626109 --- /dev/null +++ b/dist/core-install.js.map.license @@ -0,0 +1 @@ +core-install.js.license \ No newline at end of file diff --git a/dist/core-legacy-unified-search.js.map.license b/dist/core-legacy-unified-search.js.map.license new file mode 120000 index 0000000000000..995a3aebd9e61 --- /dev/null +++ b/dist/core-legacy-unified-search.js.map.license @@ -0,0 +1 @@ +core-legacy-unified-search.js.license \ No newline at end of file diff --git a/dist/core-login.js.map.license b/dist/core-login.js.map.license new file mode 120000 index 0000000000000..65c298ef5d87c --- /dev/null +++ b/dist/core-login.js.map.license @@ -0,0 +1 @@ +core-login.js.license \ No newline at end of file diff --git a/dist/core-main.js.map.license b/dist/core-main.js.map.license new file mode 120000 index 0000000000000..8355b955d2781 --- /dev/null +++ b/dist/core-main.js.map.license @@ -0,0 +1 @@ +core-main.js.license \ No newline at end of file diff --git a/dist/core-maintenance.js.map.license b/dist/core-maintenance.js.map.license new file mode 120000 index 0000000000000..c3d98c8e258a1 --- /dev/null +++ b/dist/core-maintenance.js.map.license @@ -0,0 +1 @@ +core-maintenance.js.license \ No newline at end of file diff --git a/dist/core-profile.js.map.license b/dist/core-profile.js.map.license new file mode 120000 index 0000000000000..e34ace48c17d2 --- /dev/null +++ b/dist/core-profile.js.map.license @@ -0,0 +1 @@ +core-profile.js.license \ No newline at end of file diff --git a/dist/core-recommendedapps.js.map.license b/dist/core-recommendedapps.js.map.license new file mode 120000 index 0000000000000..9723684fa137c --- /dev/null +++ b/dist/core-recommendedapps.js.map.license @@ -0,0 +1 @@ +core-recommendedapps.js.license \ No newline at end of file diff --git a/dist/core-systemtags.js.map.license b/dist/core-systemtags.js.map.license new file mode 120000 index 0000000000000..89f7f46af6a13 --- /dev/null +++ b/dist/core-systemtags.js.map.license @@ -0,0 +1 @@ +core-systemtags.js.license \ No newline at end of file diff --git a/dist/core-unified-search.js.map.license b/dist/core-unified-search.js.map.license new file mode 120000 index 0000000000000..a0d1a2e2dfae3 --- /dev/null +++ b/dist/core-unified-search.js.map.license @@ -0,0 +1 @@ +core-unified-search.js.license \ No newline at end of file diff --git a/dist/core-unsupported-browser-redirect.js.map.license b/dist/core-unsupported-browser-redirect.js.map.license new file mode 120000 index 0000000000000..390b116ba396e --- /dev/null +++ b/dist/core-unsupported-browser-redirect.js.map.license @@ -0,0 +1 @@ +core-unsupported-browser-redirect.js.license \ No newline at end of file diff --git a/dist/core-unsupported-browser.js.map.license b/dist/core-unsupported-browser.js.map.license new file mode 120000 index 0000000000000..413a0e568f9c1 --- /dev/null +++ b/dist/core-unsupported-browser.js.map.license @@ -0,0 +1 @@ +core-unsupported-browser.js.license \ No newline at end of file diff --git a/dist/dashboard-main.js.map.license b/dist/dashboard-main.js.map.license new file mode 120000 index 0000000000000..0532a23bf654b --- /dev/null +++ b/dist/dashboard-main.js.map.license @@ -0,0 +1 @@ +dashboard-main.js.license \ No newline at end of file diff --git a/dist/dav-settings-admin-caldav.js.map.license b/dist/dav-settings-admin-caldav.js.map.license new file mode 120000 index 0000000000000..261d07c28c827 --- /dev/null +++ b/dist/dav-settings-admin-caldav.js.map.license @@ -0,0 +1 @@ +dav-settings-admin-caldav.js.license \ No newline at end of file diff --git a/dist/dav-settings-personal-availability.js.map.license b/dist/dav-settings-personal-availability.js.map.license new file mode 120000 index 0000000000000..8b8fa4f2f40c7 --- /dev/null +++ b/dist/dav-settings-personal-availability.js.map.license @@ -0,0 +1 @@ +dav-settings-personal-availability.js.license \ No newline at end of file diff --git a/dist/federatedfilesharing-external.js.map.license b/dist/federatedfilesharing-external.js.map.license new file mode 120000 index 0000000000000..0395b6b45129b --- /dev/null +++ b/dist/federatedfilesharing-external.js.map.license @@ -0,0 +1 @@ +federatedfilesharing-external.js.license \ No newline at end of file diff --git a/dist/federatedfilesharing-vue-settings-admin.js.map.license b/dist/federatedfilesharing-vue-settings-admin.js.map.license new file mode 120000 index 0000000000000..c463ecf51d14d --- /dev/null +++ b/dist/federatedfilesharing-vue-settings-admin.js.map.license @@ -0,0 +1 @@ +federatedfilesharing-vue-settings-admin.js.license \ No newline at end of file diff --git a/dist/federatedfilesharing-vue-settings-personal.js.map.license b/dist/federatedfilesharing-vue-settings-personal.js.map.license new file mode 120000 index 0000000000000..176f1b7653518 --- /dev/null +++ b/dist/federatedfilesharing-vue-settings-personal.js.map.license @@ -0,0 +1 @@ +federatedfilesharing-vue-settings-personal.js.license \ No newline at end of file diff --git a/dist/files-init.js.map.license b/dist/files-init.js.map.license new file mode 120000 index 0000000000000..e1e617779d743 --- /dev/null +++ b/dist/files-init.js.map.license @@ -0,0 +1 @@ +files-init.js.license \ No newline at end of file diff --git a/dist/files-main.js.map.license b/dist/files-main.js.map.license new file mode 120000 index 0000000000000..ca1e3ccbf455a --- /dev/null +++ b/dist/files-main.js.map.license @@ -0,0 +1 @@ +files-main.js.license \ No newline at end of file diff --git a/dist/files-personal-settings.js.map.license b/dist/files-personal-settings.js.map.license new file mode 120000 index 0000000000000..9523d3ff93d4d --- /dev/null +++ b/dist/files-personal-settings.js.map.license @@ -0,0 +1 @@ +files-personal-settings.js.license \ No newline at end of file diff --git a/dist/files-reference-files.js.map.license b/dist/files-reference-files.js.map.license new file mode 120000 index 0000000000000..f81d91b215192 --- /dev/null +++ b/dist/files-reference-files.js.map.license @@ -0,0 +1 @@ +files-reference-files.js.license \ No newline at end of file diff --git a/dist/files-search.js.map.license b/dist/files-search.js.map.license new file mode 120000 index 0000000000000..92258239cdb55 --- /dev/null +++ b/dist/files-search.js.map.license @@ -0,0 +1 @@ +files-search.js.license \ No newline at end of file diff --git a/dist/files-sidebar.js.map.license b/dist/files-sidebar.js.map.license new file mode 120000 index 0000000000000..c19d055ee76fa --- /dev/null +++ b/dist/files-sidebar.js.map.license @@ -0,0 +1 @@ +files-sidebar.js.license \ No newline at end of file diff --git a/dist/files_external-init.js.map.license b/dist/files_external-init.js.map.license new file mode 120000 index 0000000000000..16ec34c0e6a62 --- /dev/null +++ b/dist/files_external-init.js.map.license @@ -0,0 +1 @@ +files_external-init.js.license \ No newline at end of file diff --git a/dist/files_reminders-init.js.map.license b/dist/files_reminders-init.js.map.license new file mode 120000 index 0000000000000..cf20a475c70ce --- /dev/null +++ b/dist/files_reminders-init.js.map.license @@ -0,0 +1 @@ +files_reminders-init.js.license \ No newline at end of file diff --git a/dist/files_sharing-additionalScripts.js.map.license b/dist/files_sharing-additionalScripts.js.map.license new file mode 120000 index 0000000000000..a4f5f85b92eff --- /dev/null +++ b/dist/files_sharing-additionalScripts.js.map.license @@ -0,0 +1 @@ +files_sharing-additionalScripts.js.license \ No newline at end of file diff --git a/dist/files_sharing-files_sharing_tab.js.map.license b/dist/files_sharing-files_sharing_tab.js.map.license new file mode 120000 index 0000000000000..10889aa2e38ee --- /dev/null +++ b/dist/files_sharing-files_sharing_tab.js.map.license @@ -0,0 +1 @@ +files_sharing-files_sharing_tab.js.license \ No newline at end of file diff --git a/dist/files_sharing-init.js.map.license b/dist/files_sharing-init.js.map.license new file mode 120000 index 0000000000000..4803a68466b84 --- /dev/null +++ b/dist/files_sharing-init.js.map.license @@ -0,0 +1 @@ +files_sharing-init.js.license \ No newline at end of file diff --git a/dist/files_sharing-main.js.map.license b/dist/files_sharing-main.js.map.license new file mode 120000 index 0000000000000..85577d1127641 --- /dev/null +++ b/dist/files_sharing-main.js.map.license @@ -0,0 +1 @@ +files_sharing-main.js.license \ No newline at end of file diff --git a/dist/files_sharing-personal-settings.js.map.license b/dist/files_sharing-personal-settings.js.map.license new file mode 120000 index 0000000000000..9e486854b347d --- /dev/null +++ b/dist/files_sharing-personal-settings.js.map.license @@ -0,0 +1 @@ +files_sharing-personal-settings.js.license \ No newline at end of file diff --git a/dist/files_trashbin-main.js.map.license b/dist/files_trashbin-main.js.map.license new file mode 120000 index 0000000000000..284efcbf4fa56 --- /dev/null +++ b/dist/files_trashbin-main.js.map.license @@ -0,0 +1 @@ +files_trashbin-main.js.license \ No newline at end of file diff --git a/dist/files_versions-files_versions.js.map.license b/dist/files_versions-files_versions.js.map.license new file mode 120000 index 0000000000000..0abab321e4a2f --- /dev/null +++ b/dist/files_versions-files_versions.js.map.license @@ -0,0 +1 @@ +files_versions-files_versions.js.license \ No newline at end of file diff --git a/dist/oauth2-oauth2.js.map.license b/dist/oauth2-oauth2.js.map.license new file mode 120000 index 0000000000000..09b469891887c --- /dev/null +++ b/dist/oauth2-oauth2.js.map.license @@ -0,0 +1 @@ +oauth2-oauth2.js.license \ No newline at end of file diff --git a/dist/settings-apps-view-4529.js.map.license b/dist/settings-apps-view-4529.js.map.license new file mode 120000 index 0000000000000..b52759378c7ad --- /dev/null +++ b/dist/settings-apps-view-4529.js.map.license @@ -0,0 +1 @@ +settings-apps-view-4529.js.license \ No newline at end of file diff --git a/dist/settings-apps.js.map.license b/dist/settings-apps.js.map.license new file mode 120000 index 0000000000000..967d1e9a30721 --- /dev/null +++ b/dist/settings-apps.js.map.license @@ -0,0 +1 @@ +settings-apps.js.license \ No newline at end of file diff --git a/dist/settings-declarative-settings-forms.js.map.license b/dist/settings-declarative-settings-forms.js.map.license new file mode 120000 index 0000000000000..d4663315ddd12 --- /dev/null +++ b/dist/settings-declarative-settings-forms.js.map.license @@ -0,0 +1 @@ +settings-declarative-settings-forms.js.license \ No newline at end of file diff --git a/dist/settings-legacy-admin.js.map.license b/dist/settings-legacy-admin.js.map.license new file mode 120000 index 0000000000000..3f5a1a6dadfce --- /dev/null +++ b/dist/settings-legacy-admin.js.map.license @@ -0,0 +1 @@ +settings-legacy-admin.js.license \ No newline at end of file diff --git a/dist/settings-users-3239.js.map.license b/dist/settings-users-3239.js.map.license new file mode 120000 index 0000000000000..dfcb3f87a3c87 --- /dev/null +++ b/dist/settings-users-3239.js.map.license @@ -0,0 +1 @@ +settings-users-3239.js.license \ No newline at end of file diff --git a/dist/settings-vue-settings-admin-ai.js.map.license b/dist/settings-vue-settings-admin-ai.js.map.license new file mode 120000 index 0000000000000..b7d8a7548243e --- /dev/null +++ b/dist/settings-vue-settings-admin-ai.js.map.license @@ -0,0 +1 @@ +settings-vue-settings-admin-ai.js.license \ No newline at end of file diff --git a/dist/settings-vue-settings-admin-basic-settings.js.map.license b/dist/settings-vue-settings-admin-basic-settings.js.map.license new file mode 120000 index 0000000000000..913bbeeb341aa --- /dev/null +++ b/dist/settings-vue-settings-admin-basic-settings.js.map.license @@ -0,0 +1 @@ +settings-vue-settings-admin-basic-settings.js.license \ No newline at end of file diff --git a/dist/settings-vue-settings-admin-delegation.js.map.license b/dist/settings-vue-settings-admin-delegation.js.map.license new file mode 120000 index 0000000000000..b51048fe3eb80 --- /dev/null +++ b/dist/settings-vue-settings-admin-delegation.js.map.license @@ -0,0 +1 @@ +settings-vue-settings-admin-delegation.js.license \ No newline at end of file diff --git a/dist/settings-vue-settings-admin-security.js.map.license b/dist/settings-vue-settings-admin-security.js.map.license new file mode 120000 index 0000000000000..31ee3770dc585 --- /dev/null +++ b/dist/settings-vue-settings-admin-security.js.map.license @@ -0,0 +1 @@ +settings-vue-settings-admin-security.js.license \ No newline at end of file diff --git a/dist/settings-vue-settings-admin-sharing.js.map.license b/dist/settings-vue-settings-admin-sharing.js.map.license new file mode 120000 index 0000000000000..161d542bbad35 --- /dev/null +++ b/dist/settings-vue-settings-admin-sharing.js.map.license @@ -0,0 +1 @@ +settings-vue-settings-admin-sharing.js.license \ No newline at end of file diff --git a/dist/settings-vue-settings-apps-users-management.js.map.license b/dist/settings-vue-settings-apps-users-management.js.map.license new file mode 120000 index 0000000000000..a502b38f52bd3 --- /dev/null +++ b/dist/settings-vue-settings-apps-users-management.js.map.license @@ -0,0 +1 @@ +settings-vue-settings-apps-users-management.js.license \ No newline at end of file diff --git a/dist/settings-vue-settings-nextcloud-pdf.js.map.license b/dist/settings-vue-settings-nextcloud-pdf.js.map.license new file mode 120000 index 0000000000000..59a36eef0bfab --- /dev/null +++ b/dist/settings-vue-settings-nextcloud-pdf.js.map.license @@ -0,0 +1 @@ +settings-vue-settings-nextcloud-pdf.js.license \ No newline at end of file diff --git a/dist/settings-vue-settings-personal-info.js.map.license b/dist/settings-vue-settings-personal-info.js.map.license new file mode 120000 index 0000000000000..02e87dc77adb8 --- /dev/null +++ b/dist/settings-vue-settings-personal-info.js.map.license @@ -0,0 +1 @@ +settings-vue-settings-personal-info.js.license \ No newline at end of file diff --git a/dist/settings-vue-settings-personal-password.js.map.license b/dist/settings-vue-settings-personal-password.js.map.license new file mode 120000 index 0000000000000..c57ffe3e892af --- /dev/null +++ b/dist/settings-vue-settings-personal-password.js.map.license @@ -0,0 +1 @@ +settings-vue-settings-personal-password.js.license \ No newline at end of file diff --git a/dist/settings-vue-settings-personal-security.js.map.license b/dist/settings-vue-settings-personal-security.js.map.license new file mode 120000 index 0000000000000..28149c5438e4e --- /dev/null +++ b/dist/settings-vue-settings-personal-security.js.map.license @@ -0,0 +1 @@ +settings-vue-settings-personal-security.js.license \ No newline at end of file diff --git a/dist/settings-vue-settings-personal-webauthn.js.map.license b/dist/settings-vue-settings-personal-webauthn.js.map.license new file mode 120000 index 0000000000000..7a8c6cd5e779f --- /dev/null +++ b/dist/settings-vue-settings-personal-webauthn.js.map.license @@ -0,0 +1 @@ +settings-vue-settings-personal-webauthn.js.license \ No newline at end of file diff --git a/dist/sharebymail-vue-settings-admin-sharebymail.js.map.license b/dist/sharebymail-vue-settings-admin-sharebymail.js.map.license new file mode 120000 index 0000000000000..378ca045b3220 --- /dev/null +++ b/dist/sharebymail-vue-settings-admin-sharebymail.js.map.license @@ -0,0 +1 @@ +sharebymail-vue-settings-admin-sharebymail.js.license \ No newline at end of file diff --git a/dist/systemtags-admin.js.map.license b/dist/systemtags-admin.js.map.license new file mode 120000 index 0000000000000..8253007b76a10 --- /dev/null +++ b/dist/systemtags-admin.js.map.license @@ -0,0 +1 @@ +systemtags-admin.js.license \ No newline at end of file diff --git a/dist/systemtags-init.js.map.license b/dist/systemtags-init.js.map.license new file mode 120000 index 0000000000000..a3d7634502c19 --- /dev/null +++ b/dist/systemtags-init.js.map.license @@ -0,0 +1 @@ +systemtags-init.js.license \ No newline at end of file diff --git a/dist/theming-admin-theming.js.map.license b/dist/theming-admin-theming.js.map.license new file mode 120000 index 0000000000000..b9a70b8807fe9 --- /dev/null +++ b/dist/theming-admin-theming.js.map.license @@ -0,0 +1 @@ +theming-admin-theming.js.license \ No newline at end of file diff --git a/dist/theming-personal-theming.js.map.license b/dist/theming-personal-theming.js.map.license new file mode 120000 index 0000000000000..d0b48e7aa3a93 --- /dev/null +++ b/dist/theming-personal-theming.js.map.license @@ -0,0 +1 @@ +theming-personal-theming.js.license \ No newline at end of file diff --git a/dist/twofactor_backupcodes-settings.js.map.license b/dist/twofactor_backupcodes-settings.js.map.license new file mode 120000 index 0000000000000..e68bd99784e3c --- /dev/null +++ b/dist/twofactor_backupcodes-settings.js.map.license @@ -0,0 +1 @@ +twofactor_backupcodes-settings.js.license \ No newline at end of file diff --git a/dist/updatenotification-init.js.map.license b/dist/updatenotification-init.js.map.license new file mode 120000 index 0000000000000..261ec36c06525 --- /dev/null +++ b/dist/updatenotification-init.js.map.license @@ -0,0 +1 @@ +updatenotification-init.js.license \ No newline at end of file diff --git a/dist/updatenotification-updatenotification.js.map.license b/dist/updatenotification-updatenotification.js.map.license new file mode 120000 index 0000000000000..bd41bd1223d51 --- /dev/null +++ b/dist/updatenotification-updatenotification.js.map.license @@ -0,0 +1 @@ +updatenotification-updatenotification.js.license \ No newline at end of file diff --git a/dist/user-status-modal-5133.js.map.license b/dist/user-status-modal-5133.js.map.license new file mode 120000 index 0000000000000..f15831848bae8 --- /dev/null +++ b/dist/user-status-modal-5133.js.map.license @@ -0,0 +1 @@ +user-status-modal-5133.js.license \ No newline at end of file diff --git a/dist/user_status-menu.js.map.license b/dist/user_status-menu.js.map.license new file mode 120000 index 0000000000000..3e01f188ea532 --- /dev/null +++ b/dist/user_status-menu.js.map.license @@ -0,0 +1 @@ +user_status-menu.js.license \ No newline at end of file diff --git a/dist/weather_status-weather-status.js.map.license b/dist/weather_status-weather-status.js.map.license new file mode 120000 index 0000000000000..94e4a173777cf --- /dev/null +++ b/dist/weather_status-weather-status.js.map.license @@ -0,0 +1 @@ +weather_status-weather-status.js.license \ No newline at end of file diff --git a/dist/workflowengine-workflowengine.js.map.license b/dist/workflowengine-workflowengine.js.map.license new file mode 120000 index 0000000000000..f6fe907108d0c --- /dev/null +++ b/dist/workflowengine-workflowengine.js.map.license @@ -0,0 +1 @@ +workflowengine-workflowengine.js.license \ No newline at end of file From f069b30e2782381bf38530a1d3f9568f735666b2 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Thu, 13 Jun 2024 23:23:17 +0000 Subject: [PATCH 3/4] chore(assets): Recompile assets Signed-off-by: nextcloud-command --- dist/8450-8450.js.map.license | 1 - dist/8821-8821.js.map.license | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 120000 dist/8450-8450.js.map.license create mode 120000 dist/8821-8821.js.map.license diff --git a/dist/8450-8450.js.map.license b/dist/8450-8450.js.map.license deleted file mode 120000 index 657bdfe18d69a..0000000000000 --- a/dist/8450-8450.js.map.license +++ /dev/null @@ -1 +0,0 @@ -8450-8450.js.license \ No newline at end of file diff --git a/dist/8821-8821.js.map.license b/dist/8821-8821.js.map.license new file mode 120000 index 0000000000000..0cd4caba9750b --- /dev/null +++ b/dist/8821-8821.js.map.license @@ -0,0 +1 @@ +8821-8821.js.license \ No newline at end of file From bcbef7aaa8a311524848e85f714d3c0a1a4d5289 Mon Sep 17 00:00:00 2001 From: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Date: Fri, 14 Jun 2024 08:53:02 +0200 Subject: [PATCH 4/4] Update build/npm-post-build.sh Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> --- build/npm-post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/npm-post-build.sh b/build/npm-post-build.sh index 51a8bda3b606f..7f12728f14b3b 100755 --- a/build/npm-post-build.sh +++ b/build/npm-post-build.sh @@ -13,7 +13,7 @@ npm run sass:icons # Add licenses for source maps if [ -d "dist" ]; then for f in dist/*.js; do - # If license file and source map exists copy license for the sourcemap + # If license file and source map exists copy license for the source map if [ -f "$f.license" ] && [ -f "$f.map" ]; then # Remove existing link [ -e "$f.map.license" ] || [ -L "$f.map.license" ] && rm "$f.map.license"