Skip to content

Commit

Permalink
feat(package.json): update nodejs version to 16.20
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
Minimal NodeJS version is now 16.20.1
  • Loading branch information
hasezoey committed Nov 3, 2023
1 parent 6b62891 commit 8dd8467
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -46,7 +46,7 @@ jobs:
env:
CI: true
- name: Send codecov.io stats
if: matrix.node-version == '14.x'
if: matrix.node-version == '18.x'
uses: codecov/codecov-action@v3
test-types:
permissions:
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Like `public: string[]` is in reflection only `Array`.
### Requirements

- TypeScript version `^4.9` (since 10.0) is recommended, though older ones may also work
- NodeJS `>=14.17.0` (and `@types/node@16`)
- NodeJS `>=16.20.1` (and `@types/node@16`)
- Mongoose `~7.6.3`
- A IDE that supports TypeScript linting is recommended to be used (VSCode is recommended)
- This Guide expects you to know how Mongoose (or at least its models) works
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "lib/typegoose.js",
"types": "lib/typegoose.d.ts",
"engines": {
"node": ">=14.17.0"
"node": ">=16.20.1"
},
"files": [
"lib/**/*.js",
Expand Down

0 comments on commit 8dd8467

Please sign in to comment.