From f70f1336cafaee898119c9158aa60640a3e3bed0 Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Thu, 27 Apr 2023 14:18:32 +0200 Subject: [PATCH] chore: updated dependencies, drop node 14, add node 20 Signed-off-by: Matteo Collina --- .github/workflows/ci.yml | 2 +- package.json | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e426a4..0f77a72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [16.x, 18.x, 20,x] os: [ubuntu-latest, windows-latest, macOS-latest] steps: - uses: actions/checkout@v3 diff --git a/package.json b/package.json index 3d4b2fe..3cf130b 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "lint:typescript": "standard --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin test/types/*.ts", "example": "node example/index.js", "test": "npm run lint && npm run test:unit && npm run test:types", - "test:unit": "tap --jobs=1 --coverage-report=html test/*.js", + "test:unit": "tap --jobs=1 test/*.js", + "test:cov": "tap --jobs=1 --coverage-report=html test/*.js", "test:types": "tsd", "prepare": "husky install" }, @@ -41,7 +42,7 @@ "@graphql-tools/utils": "^9.1.1", "@typescript-eslint/eslint-plugin": "^5.43.0", "@typescript-eslint/parser": "^5.43.0", - "fastify": "^4.9.2", + "fastify": "^4.17.0", "graphql-tag": "^2.12.6", "graphql-ws": "^5.11.2", "husky": "^8.0.2", @@ -62,6 +63,6 @@ "dependencies": { "@fastify/error": "^3.0.0", "graphql": "^16.6.0", - "mercurius": "^12.0.0" + "mercurius": "^13.0.0" } }