Skip to content
Permalink
Browse files

Add npm-proxy

Often urls change or are temporarily not available. As we do not want our build to break in these situations we added a Proxy. If this Proxy is reachable, Npm packages will be installed from the Proxy.

Browse the Proxy:
http://nexus.lan.tribe29.com/#browse/browse:npm-proxy

Change-Id: I3b2cc43c4be71670bc0e69cacb050191e49424ed
  • Loading branch information...
AZurhake committed May 13, 2019
1 parent 4ed38f3 commit 699d68b289823ba1d4370d43cc7ea331f604a5dd
Showing with 3 additions and 0 deletions.
  1. +3 −0 Makefile
@@ -304,6 +304,9 @@ optimize-images:
# tests and building versions. Once we have the then build system this should not
# be necessary anymore.
node_modules: package.json
if curl --head 'http://nexus.lan.tribe29.com:8081/#browse/browse:npm-proxy' | grep '200\ OK'; then \
npm config set registry http://nexus.lan.tribe29.com:8081/repository/npm-proxy/; \
fi
npm install --unsafe-perm

web/htdocs/js/%_min.js: node_modules webpack.config.js $(JAVASCRIPT_SOURCES)

0 comments on commit 699d68b

Please sign in to comment.
You can’t perform that action at this time.