From 589c2b36dd3e8728cf939afa071c60f9f6cc36f6 Mon Sep 17 00:00:00 2001 From: Rallysson Diogo Date: Thu, 25 Oct 2018 16:47:25 -0300 Subject: [PATCH 1/2] fix(package.json): added postinstall script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 25e4f257..c06754ef 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "lint": "kcd-scripts lint", "precommit": "kcd-scripts precommit", "predeploy": "npm run storybook:build", + "postinstall": "cd date-fns-v2/ && npm install", "semantic-release": "semantic-release", "storybook": "start-storybook -p 9001 -c stories", "storybook:build": "build-storybook -c stories", From 96f8da76f97a15451568afef113990c625fe2ed0 Mon Sep 17 00:00:00 2001 From: Rallysson Diogo Date: Fri, 26 Oct 2018 10:12:43 -0300 Subject: [PATCH 2/2] build(docker): added date-fns package copy --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 74adffff..2856cad4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM mhart/alpine-node:10 WORKDIR /usr/src COPY package.json yarn.lock /usr/src/ +COPY date-fns-v2/package.json yarn.lock /usr/src/date-fns-v2/ RUN yarn install COPY . . RUN yarn storybook:build