From 49ae9e1eeea64fe627a9b191f9c15b971d330294 Mon Sep 17 00:00:00 2001 From: Tom Gallacher Date: Fri, 6 Jan 2017 11:26:08 +0000 Subject: [PATCH] Fix ui deployment --- ui/Dockerfile.build | 1 - ui/Makefile | 2 +- ui/stories/index.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ui/Dockerfile.build b/ui/Dockerfile.build index 50851074..10d037d9 100644 --- a/ui/Dockerfile.build +++ b/ui/Dockerfile.build @@ -4,7 +4,6 @@ ARG CIRCLE_BUILD_NUM ENV NPM_TOKEN ${NPM_TOKEN} ENV CIRCLE_BUILD_NUM ${CIRCLE_BUILD_NUM} RUN echo -e "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc -RUN make install RUN NODE_ENV=production make compile RUN npm version 0.0.1-${CIRCLE_BUILD_NUM} RUN npm publish --tag alpha --access public diff --git a/ui/Makefile b/ui/Makefile index fefd799d..49427d20 100644 --- a/ui/Makefile +++ b/ui/Makefile @@ -28,7 +28,7 @@ install-docs: .PHONY: install install: install-embed-markdown-loader - yarn install --prefer-offline + NODE_ENV=development yarn install --prefer-offline .PHONY: start start: diff --git a/ui/stories/index.js b/ui/stories/index.js index 2e37db61..dfefbc60 100644 --- a/ui/stories/index.js +++ b/ui/stories/index.js @@ -311,7 +311,7 @@ const colors = { alt: 'rgba(245, 93, 93, 0.2)' }; storiesOf('Metrics', module) - .add('mini', () => ( + .add('Mini Metric', () => (