Skip to content

Commit

Permalink
mojaloop#1175: Upgrade to Node 12 .16.0 LTS (mojaloop#239)
Browse files Browse the repository at this point in the history
* Upgrade to Node 12 .16.0 LTS
- Update CircleCI and docker scripts to use Node 12.16.0 LTS
- Restore default config
- Fix audit issue
- Update dependencies. 
- Lock versions for hapi related libraries due to breaking changes. 
- Resolve audit issues, temporarily
- Downgrade hapi-swagger.
  • Loading branch information
oderayi authored Feb 20, 2020
1 parent 05f7e19 commit 908f011
Show file tree
Hide file tree
Showing 10 changed files with 796 additions and 2,301 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ executors:
default-docker:
working_directory: /home/circleci/project
docker:
- image: node:10.15.3-alpine
- image: node:12.16.0-alpine

default-machine:
machine:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ coverage
# nyc test coverage
.nyc_output

# Integration test output
junit.xml

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

Expand Down
7 changes: 3 additions & 4 deletions .ncurc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"reject": [
"@hapi/hapi",
"@hapi/vision",
"@hapi/inert",
"hapi-swagger",
"get-port"
"@hapi/vision",
"hapi-swagger"
]
}
}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10.15.3-alpine AS builder
FROM node:12.16.0-alpine AS builder

WORKDIR /opt/account-lookup-service

Expand All @@ -15,7 +15,7 @@ COPY migrations /opt/account-lookup-service/migrations
COPY seeds /opt/account-lookup-service/seeds
COPY src /opt/account-lookup-service/src

FROM node:10.15.3-alpine
FROM node:12.16.0-alpine

WORKDIR /opt/account-lookup-service

Expand Down
2 changes: 1 addition & 1 deletion admin.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10.15.3-alpine
FROM node:12.16.0-alpine

WORKDIR /opt/account-lookup-service

Expand Down
2 changes: 1 addition & 1 deletion api.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10.15.3-alpine
FROM node:12.16.0-alpine

WORKDIR /opt/account-lookup-service

Expand Down
Loading

0 comments on commit 908f011

Please sign in to comment.