From 8ca28bb32ab93df1038ba91c6b2ccc4e85ec97cc Mon Sep 17 00:00:00 2001 From: Sergii Kipot Date: Wed, 31 May 2017 16:38:48 +0200 Subject: [PATCH] TT#15750 Add our own npm registry cache to .npmrc From now we have npmlazy cache available so let's use it wherever possible. Exact dependencies versions must be controlled via npm-shrinkwrap.json file otherwise we have no guarantee each time package is build with the same dependencies tree. Change-Id: I9731921ef9ea263cd73d3a3a469926f613d7cc9f --- debian/patches/000005_npmrc | 6 ++++++ debian/patches/series | 1 + 2 files changed, 7 insertions(+) create mode 100644 debian/patches/000005_npmrc diff --git a/debian/patches/000005_npmrc b/debian/patches/000005_npmrc new file mode 100644 index 0000000..2abe826 --- /dev/null +++ b/debian/patches/000005_npmrc @@ -0,0 +1,6 @@ +Index: kibana/.npmrc +=================================================================== +--- /dev/null ++++ kibana/.npmrc +@@ -0,0 +1 @@ ++registry = https://npm-registry.sipwise.com/ diff --git a/debian/patches/series b/debian/patches/series index 2359042..3cad029 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ 000002_NGCP_Search_Kibana_dashboard.json 000003_NGCP_VoIP_Kibana_dashboard.json 000004_NGCP_Errors_Kibana_dashboard.json +000005_npmrc