From 62dec5738f0577137ff3c968d652cdfba4cb3d65 Mon Sep 17 00:00:00 2001 From: Edoardo Ranghieri Date: Thu, 22 Feb 2024 14:15:05 +0100 Subject: [PATCH] chore: add missing ESLint dependency, remove Zod --- package-lock.json | 28 ++++++++++++-------------- packages/next-safe-action/package.json | 4 +--- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index dc6fcb49..279493a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4142,18 +4142,6 @@ } } }, - "node_modules/eslint-config-next/node_modules/eslint-plugin-react-hooks": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", - "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", - "dev": true, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" - } - }, "node_modules/eslint-config-prettier": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", @@ -4373,6 +4361,18 @@ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" } }, + "node_modules/eslint-plugin-react-hooks": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", + "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", + "dev": true, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" + } + }, "node_modules/eslint-plugin-react/node_modules/doctrine": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", @@ -13535,6 +13535,7 @@ "@typescript-eslint/parser": "^7.0.2", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", + "eslint-plugin-react-hooks": "^4.6.0", "next": "14.1.0", "prettier": "^3.2.5", "react": "18.2.0", @@ -13544,9 +13545,6 @@ "engines": { "node": ">=18.17" }, - "optionalDependencies": { - "zod": "^3.22.4" - }, "peerDependencies": { "next": ">= 14.0.0", "react": ">= 18.2.0" diff --git a/packages/next-safe-action/package.json b/packages/next-safe-action/package.json index 61ca0c3f..446f62b1 100644 --- a/packages/next-safe-action/package.json +++ b/packages/next-safe-action/package.json @@ -57,6 +57,7 @@ "@typescript-eslint/parser": "^7.0.2", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", + "eslint-plugin-react-hooks": "^4.6.0", "next": "14.1.0", "prettier": "^3.2.5", "react": "18.2.0", @@ -73,8 +74,5 @@ }, "dependencies": { "@decs/typeschema": "^0.12.2" - }, - "optionalDependencies": { - "zod": "^3.22.4" } }