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': {}, }, }, }