bundlewrap/bundles/nodejs/metadata.py

20 lines
552 B
Python

defaults = {
'apt': {
'additional_update_commands': {
# update npm to latest version
'npm install -g npm@latest',
'npm install -g yarn@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': {},
},
},
}