Skip to content

Commit

Permalink
chore!: bump required Node.JS version to 18.19
Browse files Browse the repository at this point in the history
  • Loading branch information
aloisklink committed Oct 12, 2024
1 parent 1d47dfa commit 8a58ebc
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "18.19"
registry-url: "https://registry.npmjs.org"
- name: Update NPM to support `--provenance``
run: npm install -g npm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [18.19, 20]
steps:
- name: Install Mermaid `trebuchet ms` font
run: |
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### BREAKING CHANGES

- Bump required Node.JS version to 18.19

## [2.1.1] - 2023-05-11

### Fixed
Expand Down
23 changes: 12 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"prepare": "husky install && tsc"
},
"engines": {
"node": "^14.13 || >=16.0"
"node": "^18.19 || >=20.0"
},
"files": [
"index.js",
Expand Down Expand Up @@ -41,7 +41,7 @@
"vfile": "^5.3.7"
},
"devDependencies": {
"@tsconfig/node14": "^14.1.0",
"@tsconfig/node18": "^18.0.0",
"eslint": "^8.18.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-node": "^11.1.0",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
// our minimum supported Node version is Node v14
"extends": "@tsconfig/node14/tsconfig.json",
// our minimum supported Node version is Node v18
"extends": "@tsconfig/node18/tsconfig.json",
"include": ["src/*", "index.js"],

"compilerOptions": {
Expand Down

0 comments on commit 8a58ebc

Please sign in to comment.