From d935f1c5f8cdae122df49a4f967918064ffd61f7 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 13 Feb 2024 17:57:29 +0100 Subject: [PATCH 1/3] chore: Update NPM version to 10 to support current LTS Node 20 Signed-off-by: Ferdinand Thiessen --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4d01a2bc..f8534f15 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ }, "engines": { "node": "^20.0.0", - "npm": "^9.0.0" + "npm": "^10.0.0" }, "homepage": "https://github.com/skjnldsv/nextcloud-upload", "devDependencies": { From 2a182b97431256096ba1e9735f6ebcf2675aeb7b Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 13 Feb 2024 17:57:52 +0100 Subject: [PATCH 2/3] fix: `emitDeclarationOnly` is only valid if `noEmit` is set to `false` Signed-off-by: Ferdinand Thiessen --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 90f02e0c..3e5aa3ac 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,7 @@ "esModuleInterop": true, "emitDeclarationOnly": true, "moduleResolution": "Bundler", + "noEmit": false, "lib": ["DOM", "ESNext"], "outDir": "./dist", "rootDir": "lib/", From 8cd8f41166feb101d39a9ead7b604afa4186a045 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 13 Feb 2024 17:58:42 +0100 Subject: [PATCH 3/3] fix: There should be only one `Vue` version used in an application to make `Vue` a peer dependency Signed-off-by: Ferdinand Thiessen --- package-lock.json | 8 ++++---- package.json | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 53c490aa..1f035ca1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,8 +23,7 @@ "p-cancelable": "^4.0.1", "p-limit": "^5.0.0", "p-queue": "^8.0.0", - "simple-eta": "^3.0.2", - "vue": "^2.7.15" + "simple-eta": "^3.0.2" }, "devDependencies": { "@cypress/vue2": "^2.0.1", @@ -46,10 +45,11 @@ }, "engines": { "node": "^20.0.0", - "npm": "^9.0.0" + "npm": "^10.0.0" }, "peerDependencies": { - "@nextcloud/vue": "^8.0.0-beta || ^8.0.0" + "@nextcloud/vue": "^8.0.0-beta || ^8.0.0", + "vue": "^2.7.16" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index f8534f15..f282f901 100644 --- a/package.json +++ b/package.json @@ -84,10 +84,10 @@ "p-cancelable": "^4.0.1", "p-limit": "^5.0.0", "p-queue": "^8.0.0", - "simple-eta": "^3.0.2", - "vue": "^2.7.15" + "simple-eta": "^3.0.2" }, "peerDependencies": { - "@nextcloud/vue": "^8.0.0-beta || ^8.0.0" + "@nextcloud/vue": "^8.0.0-beta || ^8.0.0", + "vue": "^2.7.16" } }