bundlewrap/bundles/nodejs/metadata.py
Franziska Kunsmann a693e90aa3
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
bundles/nodejs: auto-upgrade npm
2022-03-06 12:50:04 +01:00

19 lines
510 B
Python

defaults = {
'apt': {
'additional_update_commands': {
# update npm to latest version
'npm install -g npm@latest',
},
'repos': {
'node': {
'items': {
'deb https://deb.nodesource.com/node_14.x {os_release} main',
'deb-src https://deb.nodesource.com/node_14.x {os_release} main',
},
},
},
'packages': {
'nodejs': {},
},
},
}