From 5f3744a3e1a1c5d0617b076475cf1c0c5d33407a Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Tue, 8 Sep 2026 15:37:50 +0200 Subject: [PATCH] fix(deps): ship vue and @nextcloud/vue as dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Declaring them as peer dependencies meant a consumer had to provide Vue 3 itself, which a Vue 2 app cannot, and the dialog had to be reached through a bridge registered from a separate Vue 3 entry point. As dependencies they are installed with the library and nested where the consumer's own Vue is incompatible, so the dialog can be imported directly from a Vue 2 app — the same way @nextcloud/dialogs already does it. Both stay external in the build, so a consumer on a compatible version still gets a single deduped copy. @nextcloud/vue is raised to ^9.11.0, the first release in which the multiple recipient select renders at the same width as the other selects. Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: skjnldsv --- package-lock.json | 16 +++------------- package.json | 9 ++++----- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 704b24b..7145415 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,10 +17,12 @@ "@nextcloud/l10n": "^3.4.1", "@nextcloud/logger": "^3.0.3", "@nextcloud/router": "^3.1.0", + "@nextcloud/vue": "^9.11.0", "debounce": "^3.0.0", "is-svg": "^6.1.0", "qrcode.vue": "^3.10.0", - "uuid": "^14.0.2" + "uuid": "^14.0.2", + "vue": "^3.5.0" }, "devDependencies": { "@nextcloud/eslint-config": "^9.0.1", @@ -45,10 +47,6 @@ }, "engines": { "node": "^20.0.0 || ^22.0.0 || ^24.0.0" - }, - "peerDependencies": { - "@nextcloud/vue": "^9.0.0", - "vue": "^3.5.0" } }, "node_modules/@babel/generator": { @@ -9156,7 +9154,6 @@ "cpu": [ "arm" ], - "libc": "glibc", "license": "MIT", "optional": true, "os": [ @@ -9173,7 +9170,6 @@ "cpu": [ "arm64" ], - "libc": "glibc", "license": "MIT", "optional": true, "os": [ @@ -9190,7 +9186,6 @@ "cpu": [ "arm" ], - "libc": "musl", "license": "MIT", "optional": true, "os": [ @@ -9207,7 +9202,6 @@ "cpu": [ "arm64" ], - "libc": "musl", "license": "MIT", "optional": true, "os": [ @@ -9224,7 +9218,6 @@ "cpu": [ "riscv64" ], - "libc": "musl", "license": "MIT", "optional": true, "os": [ @@ -9241,7 +9234,6 @@ "cpu": [ "x64" ], - "libc": "musl", "license": "MIT", "optional": true, "os": [ @@ -9258,7 +9250,6 @@ "cpu": [ "riscv64" ], - "libc": "glibc", "license": "MIT", "optional": true, "os": [ @@ -9275,7 +9266,6 @@ "cpu": [ "x64" ], - "libc": "glibc", "license": "MIT", "optional": true, "os": [ diff --git a/package.json b/package.json index 25656d8..083b279 100644 --- a/package.json +++ b/package.json @@ -61,10 +61,12 @@ "@nextcloud/l10n": "^3.4.1", "@nextcloud/logger": "^3.0.3", "@nextcloud/router": "^3.1.0", + "@nextcloud/vue": "^9.11.0", "debounce": "^3.0.0", "is-svg": "^6.1.0", "qrcode.vue": "^3.10.0", - "uuid": "^14.0.2" + "uuid": "^14.0.2", + "vue": "^3.5.0" }, "devDependencies": { "@nextcloud/eslint-config": "^9.0.1", @@ -87,10 +89,7 @@ "vue": "^3.5.42", "vue-tsc": "^3.3.11" }, - "peerDependencies": { - "@nextcloud/vue": "^9.0.0", - "vue": "^3.5.0" - }, + "peerDependencies": {}, "engines": { "node": "^20.0.0 || ^22.0.0 || ^24.0.0" },