LP#1775466 developer prereqs update Node / add angular/cli
authorBill Erickson <berickxx@gmail.com>
Wed, 5 Sep 2018 19:56:41 +0000 (15:56 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 6 Sep 2018 20:56:04 +0000 (16:56 -0400)
NodeJS version updated from v6 to v8.
Install angular/cli globally, needed for building the Angular app.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/extras/Makefile.install
Open-ILS/src/extras/install/Makefile.common

index abb1086..fde4423 100644 (file)
@@ -40,7 +40,7 @@ export LIBDBI_HOST=http://open-ils.org/~denials/evergreen
 
 # some OSes require a newer version of NodeJS
 # NOTE: Using the LTS binaries for NodeJS
-export NODEJS_VERSION=v6.11.3
+export NODEJS_VERSION=v8.11.4
 export NODEJS_BINDIR=node-$(NODEJS_VERSION)-linux-x64
 export NODEJS_TARBIN=$(NODEJS_BINDIR).tar.xz
 export NODEJS_BINARY="https://nodejs.org/dist/$(NODEJS_VERSION)/$(NODEJS_TARBIN)"
index 0cc35b1..c542287 100644 (file)
@@ -33,7 +33,7 @@ install_nodejs_from_source:
        wget -N $(NODEJS_BINARY)
        tar -C /usr/local --strip-components 1 -xJf $(NODEJS_TARBIN)
        npm update
-       npm install -g grunt-cli
+       npm install -g @angular/cli
 
 clean:
        make -C $(LIBDBI) clean