bundlewrap/bundles/nodejs/metadata.py

28 lines
909 B
Python
Raw Normal View History

2020-02-29 14:42:54 +00:00
@metadata_processor
def nodejs_apt_repos(metadata):
return {
'apt': {
'repos': {
'yarn': {
'key': '72ECF46A56B4AD39C907BBB71646B01B86E50310',
'items': [
'deb https://dl.yarnpkg.com/debian/ stable main',
],
},
'node': {
'key': '9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280',
'items': [
'deb https://deb.nodesource.com/node_10.x buster main',
'deb-src https://deb.nodesource.com/node_10.x buster main',
],
},
},
'unattended-upgrades': {
2020-04-04 09:21:30 +00:00
'sites': {
2020-02-29 14:42:54 +00:00
'deb.nodesource.com',
'dl.yarnpkg.com',
},
},
},
}, DEFAULTS, DONE