From f0b4656b6ca85f9d1c7804c418aebedf18b9129f Mon Sep 17 00:00:00 2001 From: ryan-dia Date: Sat, 19 Aug 2023 12:32:37 +0900 Subject: [PATCH 1/2] Add @types/react as peer deps --- packages/react/package.json | 3 ++- packages/styled/package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/react/package.json b/packages/react/package.json index e92b6c195..c0a29b5ad 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -80,7 +80,8 @@ "hoist-non-react-statics": "^3.3.1" }, "peerDependencies": { - "react": ">=16.8.0" + "react": ">=16.8.0", + "@types/react": ">=16.8.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/styled/package.json b/packages/styled/package.json index 05fcdab8c..fd09bc343 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -20,7 +20,8 @@ }, "peerDependencies": { "@emotion/react": "^11.0.0-rc.0", - "react": ">=16.8.0" + "react": ">=16.8.0", + "@types/react": ">=16.8.0" }, "peerDependenciesMeta": { "@types/react": { From 01507531fe496d7ae5e3188110fce640e78bd601 Mon Sep 17 00:00:00 2001 From: ryan-dia Date: Sat, 19 Aug 2023 12:51:03 +0900 Subject: [PATCH 2/2] Add changeset --- .changeset/sixty-kiwis-beam.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/sixty-kiwis-beam.md diff --git a/.changeset/sixty-kiwis-beam.md b/.changeset/sixty-kiwis-beam.md new file mode 100644 index 000000000..f22303e19 --- /dev/null +++ b/.changeset/sixty-kiwis-beam.md @@ -0,0 +1,6 @@ +--- +'@emotion/react': patch +'@emotion/styled': patch +--- + +Explicitly update the version of the @types/react package listed in peerDependencies.