From a693e90aa3f5c5d098197d0d15c7b757529ace41 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 6 Mar 2022 12:50:04 +0100 Subject: [PATCH] bundles/nodejs: auto-upgrade npm --- bundles/nodejs/metadata.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/nodejs/metadata.py b/bundles/nodejs/metadata.py index c101018..e1b90cf 100644 --- a/bundles/nodejs/metadata.py +++ b/bundles/nodejs/metadata.py @@ -1,5 +1,9 @@ defaults = { 'apt': { + 'additional_update_commands': { + # update npm to latest version + 'npm install -g npm@latest', + }, 'repos': { 'node': { 'items': {