43c3e5b11b
Node.js 8 ends its support at the end of 2019. Node 12 will be supported until April 2022 which is way past AngularJS end of support. Some dependencies needed to be updated to make them work in Node.js 12.
19 lines
389 B
Bash
Executable File
19 lines
389 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Install nvm for this shell
|
|
source ~/.nvm/nvm.sh
|
|
|
|
# Use version of node.js found in .nvmrc
|
|
nvm install
|
|
|
|
# clean out and install yarn
|
|
rm -rf ~/.yarn
|
|
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.21.1
|
|
export PATH="$HOME/.yarn/bin:$PATH"
|
|
|
|
# Ensure that we have the local dependencies installed
|
|
yarn install
|
|
|
|
echo testing grunt version
|
|
yarn grunt --version
|