diff --git a/README.md b/README.md index ccb1322..cec1b27 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,11 @@ __Absolutely NO WARRANTIES or GUARANTEES are provided.__ +## Get the book +These scripts have been developed to support my book _Angular for Enterprise Applications_. You can get the book on [AngularForEnterprise.com](https://AngularForEnterprise.com). + ## Minimum System Requirements -__Windows 10:__ Windows 10 Pro v1703+ with PowerShell v5.1+ (Recommended: [Powershell 7](https://github.com/PowerShell/PowerShell/releases)) +__Windows 10:__ Windows 10 Pro v1703+ with [Powershell 7](https://github.com/PowerShell/PowerShell/releases) > Install [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701) for the best command-line experience, then set Powershell 7 as the default option in `settings.json` @@ -47,11 +50,10 @@ If you're interested in developing your own scripts and publishing them, check o chmod a+x setup-mac-dev-env.sh ./setup-mac-dev-env.sh ``` -## Get the book -These scripts have been developed in support of my book _Angular for Enterprise-Ready Web Applications_. You can get the book on http://AngularForEnterprise.com. +## Related Projects Check out **LocalCast Weather**, to learn Angular, Material, RxJS fundemantals using OpenWeatherMap.org APIs, at https://github.com/duluca/local-weather-app. -Check out **LemonMart**, an Angular 6 Grocery Store LOB App implemented with a Router-first architecture, at https://github.com/duluca/lemon-mart. +Check out **LemonMart**, an Angular Grocery Store LOB App implemented with a Router-first architecture, at https://github.com/duluca/lemon-mart. -Build, debug and publish Docker images with [**npm Scripts for Docker**](bit.ly/npmScriptsForDocker) and achieve Blue-Green deployments on AWS Fargate with [**npm Scripts for AWS**](bit.ly/npmScriptsForAWS). +Build, debug and publish Docker images with [**npm Scripts for Docker**](https://bit.ly/npmScriptsForDocker) and achieve Blue-Green deployments on AWS Fargate with [**npm Scripts for AWS**](https://bit.ly/npmScriptsForAWS). diff --git a/setup-mac-dev-env.sh b/setup-mac-dev-env.sh index 631d7e0..b698b8d 100755 --- a/setup-mac-dev-env.sh +++ b/setup-mac-dev-env.sh @@ -7,7 +7,7 @@ read -r -p "Absolutely NO WARRANTIES or GUARANTEES are provided. Are you sure yo if [[ "$response" =~ ^([yY][eE][sS]|[yY])+$ ]] then echo "Installing brew" - /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" echo "Installing git" brew install git @@ -18,8 +18,8 @@ then brew upgrade github echo "Installing NodeJS" - brew install node@12 - brew upgrade node@12 + brew install node@20 + brew upgrade node@20 echo "Installing Docker" brew install docker @@ -41,6 +41,10 @@ then echo "Node: $nodeVersion" npmVersion=$(npm -v) echo "npm: $npmVersion" + + echo "Ensuring Node LTS is installed" + npm i -g n@latest + n lts else echo "Aborted." fi