Skip to content

Commit

Permalink
chore(deps): require node ^18
Browse files Browse the repository at this point in the history
  • Loading branch information
JDIZM committed Feb 15, 2024
1 parent c08de20 commit 19dcf27
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 16, 18, 20]
node-version: [18, 20]
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A finance calculator to:

This library will work both client and server side, it is bundled using [esbuild](https://esbuild.github.io/) and is written in TypeScript.

This has only been tested with `node 14` and above however it exports both `CJS` and `ESM`.
If this package is being used on the server then it requires `node 18` and above however it exports both `CJS` and `ESM`.

```bash
npm install @jdizm/finance-calculator
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
"files": [
"dist"
],
"engines": {
"node": "^18.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/JDIZM/compound-interest.git"
Expand Down

0 comments on commit 19dcf27

Please sign in to comment.