Skip to content

Commit

Permalink
Merge pull request #18 from JDIZM/vitest
Browse files Browse the repository at this point in the history
chore(deps): update vitest and use @vitest/coverage-v8 at 1.2.2
  • Loading branch information
JDIZM authored Feb 15, 2024
2 parents aef6b69 + 19dcf27 commit a0b8b73
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@types/node": "^20.2.1",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@vitest/coverage-c8": "^0.33.0",
"@vitest/coverage-v8": "^1.2.2",
"eslint": "^8.37.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-alias": "^1.1.2",
Expand All @@ -31,14 +31,17 @@
"prettier": "^3.0.0",
"typescript": "^5.0.4",
"vite-node": "^0.31.1",
"vitest": "^0.31.1"
"vitest": "^1.2.2"
},
"volta": {
"node": "20.11.1"
},
"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 a0b8b73

Please sign in to comment.