From 2cd2bafbf666ff63428a7343d25e1d2bf3428b55 Mon Sep 17 00:00:00 2001 From: Matthew Haines-Young Date: Thu, 21 Nov 2024 11:49:52 +0000 Subject: [PATCH] No dependencies, Use peerdeps instead --- package-lock.json | 10 +++++----- package.json | 8 +++++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8fe326f..3fa8a77 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,9 +8,6 @@ "name": "@humanmade/block-editor-components", "version": "0.7.0", "license": "GPL-2.0-or-later", - "dependencies": { - "classnames": "^2.3.2" - }, "devDependencies": { "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-private-property-in-object": "^7.21.11", @@ -23,6 +20,7 @@ "babel-eslint": "^10.1.0", "babel-jest": "^29.5.0", "babel-loader": "^8.3.0", + "classnames": "^2.5.1", "eslint": "^8.37.0", "eslint-config-react-app": "^7.0.1", "eslint-plugin-flowtype": "^8.0.3", @@ -5151,7 +5149,8 @@ "node_modules/classnames": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", - "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==" + "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==", + "dev": true }, "node_modules/clipboard": { "version": "2.0.11", @@ -15974,7 +15973,8 @@ "classnames": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", - "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==" + "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==", + "dev": true }, "clipboard": { "version": "2.0.11", diff --git a/package.json b/package.json index 56323d8..1c4de8c 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "babel-eslint": "^10.1.0", "babel-jest": "^29.5.0", "babel-loader": "^8.3.0", + "classnames": "^2.5.1", "eslint": "^8.37.0", "eslint-config-react-app": "^7.0.1", "eslint-plugin-flowtype": "^8.0.3", @@ -51,13 +52,14 @@ "webpack": "^5.77.0", "webpack-cli": "^4.10.0" }, + "peerDependencies": { + "react": "^17.0.2", + "classnames": "^2.5.1" + }, "engines": { "node": ">=16" }, "publishConfig": { "access": "public" - }, - "dependencies": { - "classnames": "^2.3.2" } }