Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Update NodeJS version to 18.19.1 #2026

Merged
merged 4 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.16
18.19.1
22 changes: 11 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,37 +77,37 @@ build-images: build-app-registry build-connector build-indexer build-coordinator
build-all: build build-template build-tests

build-app-registry:
cd ./services/blockchain-app-registry && docker buildx build --tag=lisk/service_blockchain_app_registry ./
cd ./services/blockchain-app-registry && docker buildx build --build-arg NODEJS_VERSION=$(shell cat .nvmrc) --tag=lisk/service_blockchain_app_registry ./

build-connector:
cd ./services/blockchain-connector && docker buildx build --tag=lisk/service_blockchain_connector ./
cd ./services/blockchain-connector && docker buildx build --build-arg NODEJS_VERSION=$(shell cat .nvmrc) --tag=lisk/service_blockchain_connector ./

build-indexer:
cd ./services/blockchain-indexer && docker buildx build --tag=lisk/service_blockchain_indexer ./
cd ./services/blockchain-indexer && docker buildx build --build-arg NODEJS_VERSION=$(shell cat .nvmrc) --tag=lisk/service_blockchain_indexer ./

build-coordinator:
cd ./services/blockchain-coordinator && docker buildx build --tag=lisk/service_blockchain_coordinator ./
cd ./services/blockchain-coordinator && docker buildx build --build-arg NODEJS_VERSION=$(shell cat .nvmrc) --tag=lisk/service_blockchain_coordinator ./

build-statistics:
cd ./services/transaction-statistics && docker buildx build --tag=lisk/service_transaction_statistics ./
cd ./services/transaction-statistics && docker buildx build --build-arg NODEJS_VERSION=$(shell cat .nvmrc) --tag=lisk/service_transaction_statistics ./

build-fees:
cd ./services/fee-estimator && docker buildx build --tag=lisk/service_fee_estimator ./
cd ./services/fee-estimator && docker buildx build --build-arg NODEJS_VERSION=$(shell cat .nvmrc) --tag=lisk/service_fee_estimator ./

build-market:
cd ./services/market && docker buildx build --tag=lisk/service_market ./
cd ./services/market && docker buildx build --build-arg NODEJS_VERSION=$(shell cat .nvmrc) --tag=lisk/service_market ./

build-export:
cd ./services/export && docker buildx build --tag=lisk/service_export ./
cd ./services/export && docker buildx build --build-arg NODEJS_VERSION=$(shell cat .nvmrc) --tag=lisk/service_export ./

build-gateway:
cd ./services/gateway && docker buildx build --tag=lisk/service_gateway ./
cd ./services/gateway && docker buildx build --build-arg NODEJS_VERSION=$(shell cat .nvmrc) --tag=lisk/service_gateway ./

build-template:
cd ./services/template && docker buildx build --tag=lisk/service_template ./
cd ./services/template && docker buildx build --build-arg NODEJS_VERSION=$(shell cat .nvmrc) --tag=lisk/service_template ./

build-tests:
cd ./tests && docker buildx build --tag=lisk/service_tests ./
cd ./tests && docker buildx build --build-arg NODEJS_VERSION=$(shell cat .nvmrc) --tag=lisk/service_tests ./

build-local:
yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ WebSocket-based APIs can be used through the [Socket.IO](https://socket.io/) lib

To continue the installation ensure that you have the following dependencies installed:

- [NodeJS Active LTS - ^v18.16](https://nodejs.org/en/about/releases/)
- [NodeJS Active LTS - ^v18.19.1](https://nodejs.org/en/about/releases/)
- [MySQL - ^v8.0.29](https://dev.mysql.com/doc/relnotes/mysql/8.0/en/)
- [Docker](https://www.docker.com/) with [Docker compose](https://docs.docker.com/compose/install/)
- [GNU Make](https://www.gnu.org/software/make/) and [GNU Tar](https://www.gnu.org/software/tar/)
Expand Down
Binary file added framework/dist/lisk-service-framework-1.6.13.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions framework/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lisk-service-framework",
"version": "1.6.12",
"version": "1.6.13",
"description": "Lisk Service Framework",
"keywords": [
"lisk",
Expand All @@ -19,7 +19,7 @@
"private": true,
"main": "index.js",
"engines": {
"node": ">=18.16 <=18",
"node": ">=18.19.1 <=18",
"npm": ">=8.5.0"
},
"scripts": {
Expand Down
194 changes: 103 additions & 91 deletions framework/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"license": "Apache-2.0",
"main": "app.js",
"engines": {
"node": ">=18.16 <=18",
"node": ">=18.19.1 <=18",
"npm": ">=8.5.0"
},
"scripts": {
Expand Down
6 changes: 4 additions & 2 deletions services/blockchain-app-registry/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
ARG NODEJS_VERSION=18

##### Stage 1

FROM node:18-alpine AS builder
FROM node:$NODEJS_VERSION-alpine AS builder

RUN adduser -D builder && \
mkdir /home/builder/build && \
Expand All @@ -15,7 +17,7 @@ RUN yarn install --frozen-lockfile

##### Stage 2

FROM node:18-alpine
FROM node:$NODEJS_VERSION-alpine

RUN mkdir -p /home/lisk/lisk-service/blockchain-app-registry/data && \
adduser -D lisk && \
Expand Down
4 changes: 2 additions & 2 deletions services/blockchain-app-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"license": "Apache-2.0",
"main": "app.js",
"engines": {
"node": ">=18.16 <=18",
"node": ">=18.19.1 <=18",
"npm": ">=8.5.0"
},
"scripts": {
Expand All @@ -32,7 +32,7 @@
"dependencies": {
"bluebird": "^3.7.2",
"ioredis": "^5.3.2",
"lisk-service-framework": "https://github.com/LiskHQ/lisk-service/raw/8859790842fc7a1a937d25b59d1b6286c5e1176d/framework/dist/lisk-service-framework-1.6.12.tgz",
"lisk-service-framework": "https://github.com/LiskHQ/lisk-service/raw/425a3350ef6c8c29c51c8e64ec247f3e8413d7cb/framework/dist/lisk-service-framework-1.6.13.tgz",
"lodash": "^4.17.21",
"node-fetch": "^2.6.1",
"octokit": "^3.1.2",
Expand Down
Loading
Loading