<commit_before>## This configuration file uses BoxStarter to configure the system
## and Chocolatey to install necessary packages

## Development Tools - Node.JS & Yarn

choco install nvm

choco install yarn

nvm install latest

# choco install visualstudio2019-workload-node
<commit_msg>Tweak node based on Microsoft's version<commit_after>## This configuration file uses BoxStarter to configure the system
## and Chocolatey to install necessary packages

# Based on https://github.com/microsoft/azure-pipelines-image-generation/blob/master/images/win/scripts/Installers/Install-NodeLts.ps1

$PrefixPath = 'C:\npm\prefix'
$CachePath = 'C:\npm\cache'

New-Item -Path $PrefixPath -Force -ItemType Directory
New-Item -Path $CachePath -Force -ItemType Directory

choco install nodejs-lts -y --force

setx NPM_CONFIG_PREFIX $PrefixPath /M
$env:NPM_CONFIG_PREFIX = $PrefixPath

setx NPM_CONFIG_CACHE $CachePath /M
$env:NPM_CONFIG_CACHE = $CachePath

npm config set registry http://registry.npmjs.org/

npm install -g cordova
npm install -g grunt-cli
npm install -g gulp-cli
npm install -g parcel-bundler
npm install -g --save-dev webpack webpack-cli
npm install -g yarn

## Development Tools - Node.JS & Yarn

choco install nvm

nvm install latest

# choco install visualstudio2019-workload-node
{'fraction_non_alphanumeric': 0.0815868263473054, 'fraction_numerical': 0.006736526946107785, 'mean_word_length': 3.9154411764705883, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6304314', 'n_tokens_mistral': 466, 'n_tokens_neox': 405, 'n_words': 133}