20 lines
552 B
Python
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_18.x {os_release} main',
|
|
'deb-src https://deb.nodesource.com/node_18.x {os_release} main',
|
|
},
|
|
},
|
|
},
|
|
'packages': {
|
|
'nodejs': {},
|
|
},
|
|
},
|
|
}
|