From ff8c685806c5fa8cc123acf5bf0ccfc6d42116f6 Mon Sep 17 00:00:00 2001 From: Siddharth Kshetrapal Date: Fri, 26 May 2023 17:08:53 +0200 Subject: [PATCH] Move theme dependencies on lodash from devDependencies to dependencies (#3332) * move theme deps from devDependencies * Create eleven-sloths-laugh.md --- .changeset/eleven-sloths-laugh.md | 5 +++++ package-lock.json | 10 ++++------ package.json | 4 ++-- 3 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 .changeset/eleven-sloths-laugh.md diff --git a/.changeset/eleven-sloths-laugh.md b/.changeset/eleven-sloths-laugh.md new file mode 100644 index 00000000000..c009b61b511 --- /dev/null +++ b/.changeset/eleven-sloths-laugh.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move `lodash.isempty` and `lodash.isobject` from `devDependencies` to `dependencies` diff --git a/package-lock.json b/package-lock.json index 132787616fa..ee5db109bbb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,6 +31,8 @@ "focus-visible": "^5.2.0", "fzy.js": "0.4.1", "history": "^5.0.0", + "lodash.isempty": "4.4.0", + "lodash.isobject": "3.0.2", "react-intersection-observer": "9.4.3", "styled-system": "^5.1.5" }, @@ -133,8 +135,6 @@ "jscodeshift": "0.14.0", "lint-staged": "13.2.2", "lodash.groupby": "4.6.0", - "lodash.isempty": "4.4.0", - "lodash.isobject": "3.0.2", "lodash.keyby": "4.6.0", "markdownlint-cli2": "^0.7.1", "markdownlint-cli2-formatter-pretty": "0.0.3", @@ -32356,14 +32356,12 @@ "node_modules/lodash.isempty": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.isempty/-/lodash.isempty-4.4.0.tgz", - "integrity": "sha1-b4bL7di+TsmHvpqvM8loTbGzHn4=", - "dev": true + "integrity": "sha1-b4bL7di+TsmHvpqvM8loTbGzHn4=" }, "node_modules/lodash.isobject": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-3.0.2.tgz", - "integrity": "sha1-PI+41bW/S/kK4G4U8qUwpO2TXh0=", - "dev": true + "integrity": "sha1-PI+41bW/S/kK4G4U8qUwpO2TXh0=" }, "node_modules/lodash.iteratee": { "version": "4.7.0", diff --git a/package.json b/package.json index a2145dd7900..1e5d87a42a3 100644 --- a/package.json +++ b/package.json @@ -115,6 +115,8 @@ "focus-visible": "^5.2.0", "fzy.js": "0.4.1", "history": "^5.0.0", + "lodash.isempty": "4.4.0", + "lodash.isobject": "3.0.2", "react-intersection-observer": "9.4.3", "styled-system": "^5.1.5" }, @@ -217,8 +219,6 @@ "jscodeshift": "0.14.0", "lint-staged": "13.2.2", "lodash.groupby": "4.6.0", - "lodash.isempty": "4.4.0", - "lodash.isobject": "3.0.2", "lodash.keyby": "4.6.0", "markdownlint-cli2": "^0.7.1", "markdownlint-cli2-formatter-pretty": "0.0.3",