Skip to content

Commit

Permalink
Require Node.js 18 (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Apr 12, 2023
1 parent 1dcbd52 commit 92616d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ JSKOS Server implements the JSKOS API web service and storage for [JSKOS] data s
The easiest way to install and use JSKOS Server is with Docker and Docker Compose. Please refer to [our Docker documentation](https://github.com/gbv/jskos-server/blob/master/docker/README.md) for more information and instructions.

### Dependencies
You need Node.js 14 or later to run jskos-server (16 recommended). You need to have access to a [MongoDB database](https://docs.mongodb.com/manual/installation/).
You need Node.js 18 to run JSKOS Server[^nodejs]. You need to have access to a [MongoDB database](https://docs.mongodb.com/manual/installation/) (v5 or v6 recommended).

### Clone and Install
```bash
Expand Down Expand Up @@ -2202,3 +2202,4 @@ MIT © 2018 Verbundzentrale des GBV (VZG)

[login-server]: https://github.com/gbv/login-server
[jskos-validate]: https://github.com/gbv/jskos-validate
[^nodejs]: In theory, Node.js 16 or even 14 should work as well, but as of JSKOS Server 2.0.0, we decided to require Node.js 18 due to the [upcoming early EOL of Node.js 16](https://nodejs.org/en/blog/announcements/nodejs16-eol).
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "module",
"exports": "./server.js",
"engines": {
"node": ">=14"
"node": ">=18"
},
"scripts": {
"test": "NODE_ENV=test mocha --loader=esmock --exit --timeout 20000 --slow 2000",
Expand Down

0 comments on commit 92616d0

Please sign in to comment.