From dd15c94e2c85fbfec5807a0bae276c23dab81268 Mon Sep 17 00:00:00 2001 From: Craig Patik Date: Sun, 6 Aug 2023 21:26:30 +0200 Subject: [PATCH 1/4] Add missing dependency @types/hoist-non-react-statics, closes #3837 --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 43f9f7000..0a292bb3e 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "@playwright/test": "^1.34.3", "@types/benchmark": "^2.1.2", "@types/jest": "^25.0.0", + "@types/hoist-non-react-statics": "^3.3.1", "benchmark": "^2.1.4", "esm": "^3.2.25", "husky": "^4.3.0", From 4b8f5ee9abaceba20dc896527baeae1d87a44985 Mon Sep 17 00:00:00 2001 From: Evan Jacobs <570070+probablyup@users.noreply.github.com> Date: Fri, 8 Sep 2023 09:55:54 -0400 Subject: [PATCH 2/4] chore: add changset --- .changeset/soft-guests-study.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/soft-guests-study.md diff --git a/.changeset/soft-guests-study.md b/.changeset/soft-guests-study.md new file mode 100644 index 000000000..0f8cd8362 --- /dev/null +++ b/.changeset/soft-guests-study.md @@ -0,0 +1,5 @@ +--- +formik: patch +--- + +Add missing dependency `@types/hoist-non-react-statics`, closes #3837 From 078f41e3fa4c1615fcd6adf22e15425fe4eadef8 Mon Sep 17 00:00:00 2001 From: Craig Patik Date: Sun, 17 Sep 2023 21:36:35 +0200 Subject: [PATCH 3/4] move @types/hoist-non-react-statics from devDependencies to dependencies --- packages/formik/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/formik/package.json b/packages/formik/package.json index d991b48ca..beae82474 100644 --- a/packages/formik/package.json +++ b/packages/formik/package.json @@ -45,6 +45,7 @@ "lint": "tsdx lint" }, "dependencies": { + "@types/hoist-non-react-statics": "^3.3.1", "deepmerge": "^2.1.1", "hoist-non-react-statics": "^3.3.0", "lodash": "^4.17.21", @@ -55,7 +56,6 @@ }, "devDependencies": { "@testing-library/react": "^14.0.0", - "@types/hoist-non-react-statics": "^3.3.1", "@types/lodash": "^4.14.119", "@types/react": "^18.2.7", "@types/react-dom": "^18.2.4", From 0a0b0de787d6ecd164a2754c60405e0c84fe725f Mon Sep 17 00:00:00 2001 From: Craig Patik Date: Sun, 17 Sep 2023 21:41:01 +0200 Subject: [PATCH 4/4] remove from root package.json --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 0a292bb3e..43f9f7000 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "@playwright/test": "^1.34.3", "@types/benchmark": "^2.1.2", "@types/jest": "^25.0.0", - "@types/hoist-non-react-statics": "^3.3.1", "benchmark": "^2.1.4", "esm": "^3.2.25", "husky": "^4.3.0",