From 35bb6aeae0dd1e80eefe1d614f850a0c7a9e00bb Mon Sep 17 00:00:00 2001 From: dartcafe Date: Sat, 28 Sep 2024 07:51:43 +0200 Subject: [PATCH] fix build for linux and remove unimportable type Signed-off-by: dartcafe --- package-lock.json | 8 ++++---- package.json | 7 ++++--- src/components/Export/ExportPoll.vue | 4 ++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8bfc9d5d2..0e1c15c99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "vue": "^3.4.30", "vue-material-design-icons": "^5.3.0", "vue-router": "^4.4.0", - "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz" + "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz" }, "devDependencies": { "@nextcloud/browserslist-config": "^3.0.1", @@ -13152,9 +13152,9 @@ } }, "node_modules/xlsx": { - "version": "0.20.2", - "resolved": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz", - "integrity": "sha512-+nKZ39+nvK7Qq6i0PvWWRA4j/EkfWOtkP/YhMtupm+lJIiHxUrgTr1CcKv1nBk1rHtkRRQ3O2+Ih/q/sA+FXZA==", + "version": "0.20.3", + "resolved": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz", + "integrity": "sha512-oLDq3jw7AcLqKWH2AhCpVTZl8mf6X2YReP+Neh0SJUzV/BdZYjth94tG5toiMB1PPrYtxOCfaoUCkvtuH+3AJA==", "license": "Apache-2.0", "bin": { "xlsx": "bin/xlsx.njs" diff --git a/package.json b/package.json index 1e5392fb1..e7e56c37c 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,9 @@ "stylelint:fix": "stylelint src --fix", "version": "node update-app-version.mjs && git add ./appinfo/info.xml", "build": "vite --mode production build", - "dev": "set NODE_ENV=production && vite --mode development build", - "watch": "set NODE_ENV=production && vite --mode development build --watch" + "dev": "NODE_ENV=development vite --mode development build", + "dev:win": "set NODE_ENV=development && vite --mode development build", + "watch": "NODE_ENV=development vite --mode development build --watch" }, "browserslist": [ "extends @nextcloud/browserslist-config" @@ -52,7 +53,7 @@ "vue": "^3.4.30", "vue-material-design-icons": "^5.3.0", "vue-router": "^4.4.0", - "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz" + "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz" }, "devDependencies": { "@nextcloud/browserslist-config": "^3.0.1", diff --git a/src/components/Export/ExportPoll.vue b/src/components/Export/ExportPoll.vue index e4983cb78..6b3e180f8 100644 --- a/src/components/Export/ExportPoll.vue +++ b/src/components/Export/ExportPoll.vue @@ -6,7 +6,7 @@