Skip to content

Commit

Permalink
chore: upgrade prism to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
pazsaragi committed Jan 20, 2025
1 parent 75d0f96 commit da1c8a0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18 AS compiler
FROM node:20 AS compiler

WORKDIR /usr/src/prism

Expand All @@ -8,7 +8,7 @@ COPY packages/ /usr/src/prism/packages/
RUN yarn && yarn build

###############################################################
FROM node:18 AS dependencies
FROM node:20 AS dependencies

WORKDIR /usr/src/prism/

Expand All @@ -34,7 +34,7 @@ RUN if [ $(uname -m) != "aarch64" ]; then curl -sfL https://gobinaries.com/tj/no
RUN if [ $(uname -m) != "aarch64" ]; then node-prune; fi

###############################################################
FROM node:18-alpine
FROM node:20-alpine

# https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#handling-kernel-signals
RUN apk add --no-cache tini
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"yargs": "^16.2.0"
},
"engines": {
"node": ">=18.20.1"
"node": ">=20.0.0"
},
"files": [
"/dist"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"/dist"
],
"engines": {
"node": ">=18.20.1"
"node": ">=20.0.0"
},
"dependencies": {
"fp-ts": "^2.11.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/http-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/stoplightio/prism.git"
},
"engines": {
"node": ">=18.20.1"
"node": ">=20.0.0"
},
"files": [
"/dist"
Expand Down
2 changes: 1 addition & 1 deletion packages/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"/dist"
],
"engines": {
"node": ">=18.20.1"
"node": ">=20.0.0"
},
"dependencies": {
"@faker-js/faker": "^6.0.0",
Expand Down

0 comments on commit da1c8a0

Please sign in to comment.