Skip to content

Commit

Permalink
refactor: Remove node.js v14 support (#464)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node.js v14 is not supported.
  • Loading branch information
avaly authored May 22, 2023
1 parent e14265a commit 935b331
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [14.x, 16.x, 18.x, 20.x]
node: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3.3.0
- name: Use Node.js ${{ matrix.node }}
Expand Down
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"search.exclude": {
".yarn/releases/*": true,
"yarn.lock": true
},
"typescript.tsdk": "node_modules/typescript/lib"
}
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Getting Started

_Prerequisites:_ [MongoDB](https://www.mongodb.com/) server (v3.6+) and [NodeJS](https://nodejs.org/) (v14+) installed.
_Prerequisites:_ [MongoDB](https://www.mongodb.com/) server (v3.6+) and [NodeJS](https://nodejs.org/) (v16+) installed.

## Install

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"license": "MIT",
"engines": {
"node": "^14.0.0 || >=15.0.0"
"node": ">=16.0.0"
},
"type": "module",
"types": "./esm/index.d.ts",
Expand Down Expand Up @@ -61,7 +61,7 @@
"@byu-oit/bar-chart": "1.4.2",
"@commitlint/cli": "17.5.1",
"@commitlint/config-conventional": "17.4.4",
"@types/node": "14.18.37",
"@types/node": "16.18.32",
"@typescript-eslint/eslint-plugin": "5.54.0",
"@typescript-eslint/parser": "5.54.0",
"arg": "5.0.2",
Expand Down Expand Up @@ -121,7 +121,7 @@
"trailingComma": "es5"
},
"volta": {
"node": "14.21.3",
"node": "16.20.0",
"yarn": "1.22.19"
},
"packageManager": "yarn@3.3.1"
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3086,10 +3086,10 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:14.18.37":
version: 14.18.37
resolution: "@types/node@npm:14.18.37"
checksum: d21e8c58ddd01ae069b196c2a4eaf9c9749e6666565349667334c60cfc119c1fa280234a8001157dd7ffe73501ce4f4940ca05f9d5c402c5abe78c8dca8376a6
"@types/node@npm:16.18.32":
version: 16.18.32
resolution: "@types/node@npm:16.18.32"
checksum: c5966c8e671205b2971ae66ae548ce92235cef89ae1a0f2ecbf118e775923259dc85f57c58cfc56267089d56dfce967700c058276199c6ed9510d0a0b077af2d
languageName: node
linkType: hard

Expand Down Expand Up @@ -9341,7 +9341,7 @@ __metadata:
"@byu-oit/bar-chart": 1.4.2
"@commitlint/cli": 17.5.1
"@commitlint/config-conventional": 17.4.4
"@types/node": 14.18.37
"@types/node": 16.18.32
"@typescript-eslint/eslint-plugin": 5.54.0
"@typescript-eslint/parser": 5.54.0
arg: 5.0.2
Expand Down

0 comments on commit 935b331

Please sign in to comment.