Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cli): upgrade the node version to 18 #1655

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine AS build
FROM node:18-alpine AS build

WORKDIR /app

Expand All @@ -10,7 +10,7 @@ COPY . ./

RUN yarn build

FROM node:16-alpine AS runtime
FROM node:18-alpine AS runtime

WORKDIR /app

Expand Down
19 changes: 10 additions & 9 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"license": "Apache-2.0",
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"axios": "^0.27.2",
Expand All @@ -31,6 +31,7 @@
"core-js": "^3.26.0",
"js-yaml": "^4.1.0",
"json-bigint": "^1.0.0",
"lodash": "^4.17.21",
"mqtt": "^4.3.7",
"protobufjs": "^7.2.3",
"pump": "^3.0.0",
Expand All @@ -55,14 +56,14 @@
},
"pkg": {
"targets": [
"node16-linux-x64",
"node16-macos-x64",
"node16-win-x64",
"node16-alpine-x64",
"node16-linux-arm64",
"node16-macos-arm64",
"node16-win-arm64",
"node16-alpine-arm64"
"node18-linux-x64",
"node18-macos-x64",
"node18-win-x64",
"node18-alpine-x64",
"node18-linux-arm64",
"node18-macos-arm64",
"node18-win-arm64",
"node18-alpine-arm64"
],
"outputPath": "release",
"scripts": [
Expand Down
5 changes: 5 additions & 0 deletions cli/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,11 @@ locate-path@^2.0.0:
p-locate "^2.0.0"
path-exists "^3.0.0"

lodash@^4.17.21:
version "4.17.21"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==

long@^5.0.0:
version "5.2.3"
resolved "https://registry.npmjs.org/long/-/long-5.2.3.tgz"
Expand Down
Loading