Skip to content

Commit

Permalink
upgrade node to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
solomon-negusse committed Jul 18, 2023
1 parent 9d4afaa commit 94c4a26
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: node_js
services:
- mongodb
node_js:
- "16.18"
- "20.3"
cache:
directories:
- "node_modules"
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM node:16.18-alpine3.15
FROM node:20.3-bullseye
MAINTAINER [email protected]

ENV NAME gfw-geostore-api
ENV USER geostore

RUN apk update && apk upgrade && \
apk add --no-cache --update bash git openssh python3 alpine-sdk
RUN apt-get clean && apt-get update -y && apt-get upgrade -y && \
apt-get install -y bash git ssh python3 make

RUN addgroup $USER && adduser -s /bin/bash -D -G $USER $USER
RUN addgroup $USER && useradd -ms /bin/bash $USER -g $USER
RUN yarn global add bunyan grunt@~1.3

RUN mkdir -p /opt/$NAME
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"url": "https://github.com/gfw-api/gfw-geostore-api/issues"
},
"engines": {
"node": "~16.18"
"node": "~20.3"
},
"homepage": "https://github.com/gfw-api/gfw-geostore-api#readme",
"dependencies": {
Expand Down Expand Up @@ -58,7 +58,7 @@
"mongoose": "^5.9.14",
"mustache": "^2.3.2",
"rw-api-microservice-node": "^4.0.7",
"sleep": "^6.1.0"
"sleep": "6.3.0"
},
"devDependencies": {
"chai": "^4.2.0",
Expand Down
17 changes: 11 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5603,11 +5603,16 @@ mv@~2:
ncp "~2.0.0"
rimraf "~2.4.0"

nan@^2.0.8, nan@^2.13.2:
nan@^2.0.8:
version "2.14.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==

nan@^2.14.1:
version "2.17.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb"
integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==

nanomatch@^1.2.9:
version "1.2.13"
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
Expand Down Expand Up @@ -7035,12 +7040,12 @@ slash@^3.0.0:
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==

sleep@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/sleep/-/sleep-6.1.0.tgz#5507b520556a82ffb983d39123c5459470fa2a9e"
integrity sha512-Z1x4JjJxsru75Tqn8F4tnOFeEu3HjtITTsumYUiuz54sGKdISgLCek9AUlXlVVrkhltRFhNUsJDJE76SFHTDIQ==
sleep@6.3.0:
version "6.3.0"
resolved "https://registry.yarnpkg.com/sleep/-/sleep-6.3.0.tgz#c524e0e6d8d2e45d3f14e0ba5650fbe45f2ae876"
integrity sha512-+WgYl951qdUlb1iS97UvQ01pkauoBK9ML9I/CMPg41v0Ze4EyMlTgFTDDo32iYj98IYqxIjDMRd+L71lawFfpQ==
dependencies:
nan "^2.13.2"
nan "^2.14.1"

[email protected]:
version "0.0.4"
Expand Down

0 comments on commit 94c4a26

Please sign in to comment.