Revert "Another mop up commit to add missing changes from the last mop-up."

This reverts commit 1dcd276b1e.
This commit is contained in:
Shady Ibraheem
2019-12-18 17:37:59 -05:00
parent 66ab18a8ba
commit 54f8ffa773
188 changed files with 7393 additions and 7333 deletions

View File

@@ -1,7 +1,8 @@
#!/bin/bash
################################################################################
## File: nodejs.sh
## Desc: Installs Node.js LTS and related tooling (Gulp, Grunt)
## Team: CI-Platform
## Desc: Installs Node.js LTS and related tooling (Gulp, Bower, Grunt)
################################################################################
# Source the helpers for use with the script
@@ -10,7 +11,7 @@ source $HELPER_SCRIPTS/document.sh
# Install LTS Node.js and related build tools
curl -sL https://git.io/n-install | bash -s -- -ny -
~/n/bin/n lts
npm install -g grunt gulp n parcel-bundler typescript
npm install -g bower grunt gulp n parcel-bundler typescript
npm install -g --save-dev webpack webpack-cli
npm install -g npm
rm -rf ~/n
@@ -25,7 +26,7 @@ apt-get install -y --no-install-recommends yarn
# Run tests to determine that the software installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work"
for cmd in node grunt gulp webpack parcel yarn; do
for cmd in node bower grunt gulp webpack parcel yarn; do
if ! command -v $cmd; then
echo "$cmd was not installed"
exit 1
@@ -35,6 +36,7 @@ done
# Document what was added to the image
echo "Lastly, documenting what we added to the metadata file"
DocumentInstalledItem "Node.js ($(node --version))"
DocumentInstalledItem "Bower ($(bower --version))"
DocumentInstalledItem "Grunt ($(grunt --version))"
DocumentInstalledItem "Gulp ($(gulp --version))"
DocumentInstalledItem "n ($(n --version))"