bundlewrap/bundles/nodejs/metadata.py

27 lines
753 B
Python

defaults = {
'apt': {
'repos': {
'yarn': {
'items': [
'deb https://dl.yarnpkg.com/{os}/ stable main',
],
},
'node': {
'items': [
'deb https://deb.nodesource.com/node_10.x {os_release} main',
'deb-src https://deb.nodesource.com/node_10.x {os_release} main',
],
},
},
'unattended-upgrades': {
'origins': {
'o=Node Source,l=Node Source,c=main',
'o=yarn,a=stable,n=stable,l=yarn-stable,c=main',
},
},
'packages': {
'nodejs': {},
'yarn': {},
},
},
}