From c2bebbc374b86c00a6d59d9b8d94adecadd04c80 Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Tue, 17 Feb 2026 16:54:54 +0100 Subject: [PATCH] chore: Use own jquery to remove it again later Signed-off-by: Julius Knorr --- package-lock.json | 12 ++++++++++++ package.json | 1 + src/document.js | 1 + src/view/FilesAppIntegration.js | 1 + 4 files changed, 15 insertions(+) diff --git a/package-lock.json b/package-lock.json index 4354b68c53..520885f544 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,6 +23,7 @@ "@nextcloud/sharing": "^0.3.0", "@nextcloud/viewer": "^1.0.0", "@nextcloud/vue": "^8.33.0", + "jquery": "^4.0.0", "vue": "^2.7.16", "vue-material-design-icons": "^5.3.1" }, @@ -12882,6 +12883,12 @@ "@sideway/pinpoint": "^2.0.0" } }, + "node_modules/jquery": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-4.0.0.tgz", + "integrity": "sha512-TXCHVR3Lb6TZdtw1l3RTLf8RBWVGexdxL6AC8/e0xZKEpBflBsjh9/8LXw+dkNFuOyW9B7iB3O1sP7hS0Kiacg==", + "license": "MIT" + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -29838,6 +29845,11 @@ "@sideway/pinpoint": "^2.0.0" } }, + "jquery": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-4.0.0.tgz", + "integrity": "sha512-TXCHVR3Lb6TZdtw1l3RTLf8RBWVGexdxL6AC8/e0xZKEpBflBsjh9/8LXw+dkNFuOyW9B7iB3O1sP7hS0Kiacg==" + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", diff --git a/package.json b/package.json index 70421d1d78..3107e11f17 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "@nextcloud/sharing": "^0.3.0", "@nextcloud/viewer": "^1.0.0", "@nextcloud/vue": "^8.33.0", + "jquery": "^4.0.0", "vue": "^2.7.16", "vue-material-design-icons": "^5.3.1" }, diff --git a/src/document.js b/src/document.js index b121107305..1f386c3d07 100644 --- a/src/document.js +++ b/src/document.js @@ -3,6 +3,7 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ import './init-shared.js' +import $ from 'jquery' import { emit } from '@nextcloud/event-bus' import { generateOcsUrl, getRootUrl, imagePath } from '@nextcloud/router' import { getRequestToken } from '@nextcloud/auth' diff --git a/src/view/FilesAppIntegration.js b/src/view/FilesAppIntegration.js index e60b0be3bb..bc7bce5764 100644 --- a/src/view/FilesAppIntegration.js +++ b/src/view/FilesAppIntegration.js @@ -3,6 +3,7 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ +import $ from 'jquery' import { generateUrl } from '@nextcloud/router' import { getCurrentUser } from '@nextcloud/auth' import { getFilePickerBuilder, spawnDialog } from '@nextcloud/dialogs'