bundlewrap/bundles/nodejs/metadata.py

21 lines
552 B
Python
Raw Normal View History

2020-08-18 13:27:55 +00:00
defaults = {
'apt': {
2022-03-06 11:50:04 +00:00
'additional_update_commands': {
# update npm to latest version
'npm install -g npm@latest',
'npm install -g yarn@latest',
2022-03-06 11:50:04 +00:00
},
2020-08-18 13:27:55 +00:00
'repos': {
'node': {
'items': {
2020-10-24 15:20:50 +00:00
'deb https://deb.nodesource.com/node_14.x {os_release} main',
'deb-src https://deb.nodesource.com/node_14.x {os_release} main',
},
2020-02-29 14:42:54 +00:00
},
2020-08-18 13:27:55 +00:00
},
'packages': {
'nodejs': {},
},
},
}