From patchwork Sat Dec 4 19:21:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Vermaete X-Patchwork-Id: 1563643 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20210112 header.b=EHd/Xh4a; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=K6AfKyyg; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::53b; helo=mail-ed1-x53b.google.com; envelope-from=swupdate+bncbdripn7u2aibbnh7v2gqmgqe6lpbk6a@googlegroups.com; receiver=) Received: from mail-ed1-x53b.google.com (mail-ed1-x53b.google.com [IPv6:2a00:1450:4864:20::53b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J60155BGXz9s3q for ; Sun, 5 Dec 2021 06:21:27 +1100 (AEDT) Received: by mail-ed1-x53b.google.com with SMTP id c1-20020aa7c741000000b003e7bf1da4bcsf5118206eds.21 for ; Sat, 04 Dec 2021 11:21:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1638645684; cv=pass; d=google.com; s=arc-20160816; b=mLLXNYtSW1madt+41ftoP/obLGtnH7DKtFnwsqIMS5OKRlQ43i8Uu5WDvMw+XJCeqU 6vtV1SgIY1OarVDRS+tU9aACnhfcMHPnHjU1wz67ORcnulZ/T9iHUHJ7doOsafc85aVR Ov4hnXE1U1WUFmkfrMyYEW7j1wuwQYij/L5bV+PCQWI4ld8093bPmvXUQDXP8EgUd/eL EDMDmrORN7YYoL7CZ7xD91F1mpS2qP4AedEBexRDkW6En234OJx+T8Shik8BJRmykaPX ugq11rdsTTZ5+Ew7Pl2kq+iSWeCU6VfZxFtifA2uqUaTm9tgPsoJUbPuIdsvnt2vwyi1 pUzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature:dkim-signature; bh=LbfITywRnEHCSLglspR00Z175ST0GMqobZ3VPSGGoyQ=; b=YfhVMGRO1DQ5V+8EwT5fQTMRO5hSX+u1FdcGXpj1AjaBLdU0lLsxNqW13EgKx5Lkc9 rEsnK+ou8i674Bi+5WIrQkCAV+6mxQ+iLIPseCm1cvyEJ/3+o0GfSkiL2T1k4TlAfADZ +3dm1EI3cb0NnlTpjTrmxtrJLvi34dp5yJs97WBk3/SZ1urwGQKhT8z4aBShtoe4GjJ4 7hZ7z23eCynrXYiF079opnw/Z9EvUNenks2cb+Z2teYvE+gat9QgeLrAw+iQa+mxztzL M8xbMMs7R5XAJUW2wcDmzX5c75PqOyAgyGAgytU8wTckP6e+Wzno5or8Hqgw4mPNPzb5 HCog== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Eq0tlecT; spf=pass (google.com: domain of jan.vermaete@gmail.com designates 2a00:1450:4864:20::532 as permitted sender) smtp.mailfrom=jan.vermaete@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=LbfITywRnEHCSLglspR00Z175ST0GMqobZ3VPSGGoyQ=; b=EHd/Xh4afzoHdfSFMej8EQJ4zaiIrmS8FkBAgxEtWriyGOYZPDytxmqxuEp0UG4QT+ 5EeNdwlgB/ba0fZw0Rwkz5MQAcabh1tQy4z7hJlzLBkjeJhk3yni5/WE+OXk1NjGAVh0 sN4jvQnJCGx/RlOovHKJlP/Dspdb3QFKHpaKwTsHAY7IVhKrhRIpBndm22tmV0x59dER qohcKhvAGngvQbswg1eSX68fs9dhQLedBDgLZOEmkCEhNtzVU0hy6jaMst5RwnjhAgUh cCaSAKjWUD7NLEnduoA5pH+exsf9E4R5kyclcdTUsQzTUWlz045ymfbRWlTW8q7hfRPq TA1Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=LbfITywRnEHCSLglspR00Z175ST0GMqobZ3VPSGGoyQ=; b=K6AfKyyg/sQJyoB78SzFFHPN7ykuSUhSfAItbwaZLUg3sitFElTgW3cNTvqMzJfFL7 QEQDB9qyrn2BrWvc6CJOPHs2Szlahrc0ecSkvB2oWdl2cEHfjc1d+uyVN1One/zUjQ/h 1nKS6klO6snq3J/MNUz+xl5A01PwSJqUgiOtQYm1ean84LL9DU1ZvlMFwZVxCj+r5vGD sm1UTHawxJ+Xw82zkAlnYdi1Udzz4Aiq394QwEmg4nslcxPWv9d7L+VW558fKIngVD/E 4slUuFU5L+NChNgIFPdAujM8hZTutvtYPdqRSUNi0V+4tChAIa1mn0cWaQuPkwlTQs27 gq6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=LbfITywRnEHCSLglspR00Z175ST0GMqobZ3VPSGGoyQ=; b=XmWgs0ovtw9arN4G/A8RD2raK4MVU+vYBVplcPlR4Ac/vUM7PcE9SOreQUOop0P8A5 H/1+YPcwonDeVQJKPtZnl3ieVOKHnPYyQvKkrM7q0lkFzFOYGU0pOToNLDGus0u8+/Wf BZ2Id+/5tg4RF+zPCG3d5vwXPpNGjS0D/GRm1IZqt69ehSIt4uDPzsu6GHHwoDUZYA9t vg7BzzeA3/45yZChZmYUfPHiZDWxYDM1q9vDGBLmjnN3/1VzUgN3sBAkJEoxcrvxZBK3 7o2RUvxbtrvn4KOOrmyuaLWXMVapykvLT1qjKVLbH57xRi0AuJdK4S1wy+vkm3g6iZiN BDaA== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM532o44e8J8M22AZaSeGVJRPSjCCnOyCTf74uKF8Doj3UbfD2LI2s Ueh+qxuCJR4I0PmROcXhdpY= X-Google-Smtp-Source: ABdhPJyB8rSE+8o1yyPFpczZ4KUN9MnAgqwjeWVcegEpoU/8IYxsXtdEk46C53eAt+4wLtwoiayRVw== X-Received: by 2002:aa7:cd8a:: with SMTP id x10mr38304614edv.3.1638645684394; Sat, 04 Dec 2021 11:21:24 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:aa7:c98f:: with SMTP id c15ls2413493edt.0.gmail; Sat, 04 Dec 2021 11:21:23 -0800 (PST) X-Received: by 2002:a05:6402:50d4:: with SMTP id h20mr39397328edb.52.1638645683441; Sat, 04 Dec 2021 11:21:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1638645683; cv=none; d=google.com; s=arc-20160816; b=N5xinqtURqzBXtuHgDrT/WlBazBZFCBtRhEl3b/EaV04wkIBzKUQa3nojmGY+q4sIS IJjQ6dPlCxm8CJqBtYiT3Bj+q9z8SYKGB0q4IfF61tbFp1Vo2rogt4G6IDHGVVphwLs1 tc11pHEwakwDoXPW31JsGULpux6uM+5ZMPegaotqrUNlRf5Y+J4F77p3ApGz3drfv5vm GAOQrCOMY2PvpTh1cKQAZhZ20KXiZ0W7E+KqlNVcYJkEP+BkxhZFaFRY/5RosXqm0XMw ELAD7knT4B6uTcp7d0cvFrmLbwwyOzvprwZx4KkEfuk9p0rJZIPRNYk3Gt8ft13uekha V2nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=+SOUvW7biu3BNJDfEJW4lA3lb0P+lVuW2JhHX3n+vQQ=; b=OZo0jlXU33yKxuo+xaV49GpoMy2nP6mpY4zCoqYBZnhqGRMkiu9kpNRySYsCBUG0TE zPS42toS7SPcUYfdXsYRvrzbC8rfb8Z/Jbcz7dAtLoPCqxcXAHet250xDV23TdTHXy0e Xwb2NxukM1qTZwkKojNfLXtxDMQTWsAS0KUx0wK9jsEx4XgNaV2X1x9UILE/o93wCylB UJDK1kDoKwChBycDd/UfXhW1c4EbaikHzHeKY6vA9GvssMQ9glJ8TjiZZQlUiAdXXKOz /gN0aCfktw+JJ+OPmck9xwK3Px0C+L8xg0vcBSRDl6LdYTH30wFElqGzjn0XOP8kkFYr coiA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Eq0tlecT; spf=pass (google.com: domain of jan.vermaete@gmail.com designates 2a00:1450:4864:20::532 as permitted sender) smtp.mailfrom=jan.vermaete@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com. [2a00:1450:4864:20::532]) by gmr-mx.google.com with ESMTPS id w5si304022ede.3.2021.12.04.11.21.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 04 Dec 2021 11:21:23 -0800 (PST) Received-SPF: pass (google.com: domain of jan.vermaete@gmail.com designates 2a00:1450:4864:20::532 as permitted sender) client-ip=2a00:1450:4864:20::532; Received: by mail-ed1-x532.google.com with SMTP id r11so25300823edd.9 for ; Sat, 04 Dec 2021 11:21:23 -0800 (PST) X-Received: by 2002:a05:6402:5194:: with SMTP id q20mr37855254edd.123.1638645683007; Sat, 04 Dec 2021 11:21:23 -0800 (PST) Received: from localhost.localdomain (78-20-160-86.access.telenet.be. [78.20.160.86]) by smtp.googlemail.com with ESMTPSA id e8sm4889953edz.73.2021.12.04.11.21.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Dec 2021 11:21:22 -0800 (PST) From: Jan Vermaete To: swupdate@googlegroups.com Cc: Jan Vermaete Subject: [swupdate] [PATCH 1/2] Update of the website. Date: Sat, 4 Dec 2021 20:21:00 +0100 Message-Id: <20211204192101.46818-1-jan.vermaete@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jan.vermaete@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Eq0tlecT; spf=pass (google.com: domain of jan.vermaete@gmail.com designates 2a00:1450:4864:20::532 as permitted sender) smtp.mailfrom=jan.vermaete@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , The web-app website was not building anymore for me with Ubuntu 20.04. And also not with only updating npm, as I did in the past. Now I had to update nodejs too: https://github.com/nodesource/distributions/blob/master/README.md And with some small changes in gulpfile.js and packages.json it's building again. I have update the package list with 'ncu'. Installed with `sudo npm install -g npm-check-updates` Signed-off-by: Jan Vermaete --- web-app/gulpfile.js | 31 +++++++++++++++++-------------- web-app/package.json | 40 +++++++++++++++++++++------------------- 2 files changed, 38 insertions(+), 33 deletions(-) diff --git a/web-app/gulpfile.js b/web-app/gulpfile.js index 19d17a1..3e1b343 100755 --- a/web-app/gulpfile.js +++ b/web-app/gulpfile.js @@ -5,20 +5,23 @@ * SPDX-License-Identifier: MIT */ -var cleanCSS = require('gulp-clean-css') -var del = require('del') -var gulp = require('gulp') -var gzip = require('gulp-gzip') -var imagemin = require('gulp-imagemin') -var filter = require('gulp-filter') -var htmlmin = require('gulp-htmlmin') -var minify = require('gulp-minify') -var rename = require('gulp-rename') -var replace = require('gulp-replace') -var sass = require('gulp-sass') -var tar = require('gulp-tar') -var useref = require('gulp-useref') -var minimist = require('minimist') +import cleanCSS from 'gulp-clean-css' +import del from 'del' +import gulp from 'gulp' +import gzip from 'gulp-gzip' +import imagemin from 'gulp-imagemin' +import filter from 'gulp-filter' +import htmlmin from 'gulp-htmlmin' +import minify from 'gulp-minify' +import rename from 'gulp-rename' +import replace from 'gulp-replace' +import dartSass from 'sass' +import gulpSass from 'gulp-sass' +import tar from 'gulp-tar' +import useref from 'gulp-useref' +import minimist from 'minimist' + +const sass = gulpSass(dartSass) var knownOptions = { string: 'output', diff --git a/web-app/package.json b/web-app/package.json index 2909b45..f7b5a21 100755 --- a/web-app/package.json +++ b/web-app/package.json @@ -3,6 +3,7 @@ "version": "0.2.0", "description": "Software Update for Embedded Systems Web Front End", "main": "index.html", + "type": "module", "scripts": { "htmlhint": "htmlhint *.html", "standard": "standard --fix *.js", @@ -15,32 +16,33 @@ "license": "MIT", "devDependencies": { "csslint": "^1.0.5", - "del": "^3.0.0", - "gulp": "^4.0.0", - "gulp-clean-css": "^4.0.0", - "gulp-filter": "^5.1.0", + "del": "^6.0.0", + "gulp": "^4.0.2", + "sass": "^1.44.0", + "gulp-clean-css": "^4.3.0", + "gulp-filter": "^7.0.0", "gulp-gzip": "^1.4.2", "gulp-html-replace": "^1.6.2", "gulp-htmlmin": "^5.0.1", - "gulp-imagemin": "^5.0.3", + "gulp-imagemin": "^8.0.0", "gulp-minify": "^3.1.0", - "gulp-rename": "^1.4.0", - "gulp-replace": "^1.0.0", - "gulp-sass": "^4.0.2", - "gulp-tar": "^2.1.0", - "gulp-useref": "^3.1.6", - "htmlhint": "^0.10.1", - "minimist": "^1.2.0", - "sass-lint": "^1.12.1", - "standard": "^12.0.1", - "eslint": "^5.11.1" + "gulp-rename": "^2.0.0", + "gulp-replace": "^1.1.3", + "gulp-sass": "^5.0.0", + "gulp-tar": "^3.1.0", + "gulp-useref": "^5.0.0", + "htmlhint": "^1.0.0", + "minimist": "^1.2.5", + "sass-lint": "^1.13.1", + "standard": "^16.0.4", + "eslint": "^8.4.0" }, "dependencies": { - "@fortawesome/fontawesome-free": "^5.6.3", - "bootstrap": "^4.2.1", + "@fortawesome/fontawesome-free": "^5.15.4", + "bootstrap": "^5.1.3", "popper.js": "^1.14.6", - "dropzone": "5.5.1", - "jquery": "^3.3.1" + "dropzone": "5.9.3", + "jquery": "^3.6.0" }, "standard": { "ignore": [