From 28ef24cd85f139afb62135948fa7c10f48100bdd Mon Sep 17 00:00:00 2001 From: Leonel Lima Date: Wed, 19 Oct 2022 21:19:20 -0400 Subject: [PATCH] remove graphql-ws --- package-lock.json | 18 ------------------ package.json | 4 ++-- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index ea290b9..cae3f3f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,6 @@ "@mui/system": "^5.10.8", "@testing-library/jest-dom": "^5.16.5", "graphql": "^16.6.0", - "graphql-ws": "^5.11.2", "next": "^12.3.1", "next-http-proxy-middleware": "^1.2.4", "react": "18.2.0", @@ -4957,17 +4956,6 @@ "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" } }, - "node_modules/graphql-ws": { - "version": "5.11.2", - "resolved": "https://registry.npmjs.org/graphql-ws/-/graphql-ws-5.11.2.tgz", - "integrity": "sha512-4EiZ3/UXYcjm+xFGP544/yW1+DVI8ZpKASFbzrV5EDTFWJp0ZvLl4Dy2fSZAzz9imKp5pZMIcjB0x/H69Pv/6w==", - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "graphql": ">=0.11 <=16" - } - }, "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -13374,12 +13362,6 @@ "tslib": "^2.1.0" } }, - "graphql-ws": { - "version": "5.11.2", - "resolved": "https://registry.npmjs.org/graphql-ws/-/graphql-ws-5.11.2.tgz", - "integrity": "sha512-4EiZ3/UXYcjm+xFGP544/yW1+DVI8ZpKASFbzrV5EDTFWJp0ZvLl4Dy2fSZAzz9imKp5pZMIcjB0x/H69Pv/6w==", - "requires": {} - }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", diff --git a/package.json b/package.json index 2bee521..7bba0df 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "start": "next start", "lint": "next lint", "eslint": "eslint . --ext .js,.jsx,.ts,.tsx --fix", - "test": "jest" + "test": "jest", + "prepare": "husky install" }, "dependencies": { "@apollo/client": "^3.7.0", @@ -24,7 +25,6 @@ "@mui/system": "^5.10.8", "@testing-library/jest-dom": "^5.16.5", "graphql": "^16.6.0", - "graphql-ws": "^5.11.2", "next": "^12.3.1", "next-http-proxy-middleware": "^1.2.4", "react": "18.2.0",