From 6ea1a4e6c61adee4ad2300c278a248e6e22c7f9e Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sun, 27 Oct 2024 18:06:10 +0100 Subject: [PATCH] fix build: remove ts, replace hash with chunkhash on webpack conf --- .woodpecker/.build.yml | 12 ++++++------ package.json | 1 + src/AppMenu.vue | 19 +++++++------------ webpack.js | 4 ++-- 4 files changed, 16 insertions(+), 20 deletions(-) diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index 4fee5b5..5ccb8ac 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -7,16 +7,16 @@ when: branch: [master, develop, feature/*, fix/*, bugfix/*, translations] steps: - # "Install dependencies": - # image: node:20 - # pull: true - # commands: - # - npm i + "Install dependencies": + image: node:20 + pull: true + commands: + - npm i "Build JS": image: node:20 commands: - - make build + - npm run build "Build translations": image: deblan/php:8.3 diff --git a/package.json b/package.json index d5799ac..f002d50 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "@nextcloud/event-bus": "^3.3.1", "@nextcloud/initial-state": "^2.2.0", "@nextcloud/l10n": "^3.1.0", + "@nextcloud/vue": "^8.19.0", "@vueuse/core": "^11.1.0", "axios": "^1.6.7", "trim": "^1.0.1" diff --git a/src/AppMenu.vue b/src/AppMenu.vue index 75001de..f75bac1 100644 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -70,9 +70,7 @@ -