From c92c4c49f20ffb19a709251ae5969360a622cfcf Mon Sep 17 00:00:00 2001 From: Test User Date: Thu, 4 Jan 2024 15:31:37 +0100 Subject: [PATCH 1/3] refactor(next-adapter): loosen peer dependency versions This may break the integration in the future, but does remove the hard limitation on possible later versions. --- packages/next-adapter/package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/next-adapter/package.json b/packages/next-adapter/package.json index 467b259..c735988 100644 --- a/packages/next-adapter/package.json +++ b/packages/next-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@expo/next-adapter", - "version": "5.0.2", + "version": "6.0.0", "author": "Expo ", "description": "Adapter for using Next.js to bundle Expo web projects", "keywords": [ @@ -39,10 +39,10 @@ "expo-module-scripts": "^3.4.0" }, "peerDependencies": { - "expo": "^46", - "next": "^13", - "react": "^18", - "react-native-web": "~0.18.0", + "expo": ">=46", + "next": ">=13", + "react": ">=18", + "react-native-web": ">=0.18.0", "webpack": "^4.46.0 || ^5.74.0" }, "publishConfig": { From 829f630878f121647305e4b8f50d915cdcb97f3a Mon Sep 17 00:00:00 2001 From: Test User Date: Thu, 4 Jan 2024 15:37:33 +0100 Subject: [PATCH 2/3] docs(next-adapter): add changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3099f7..05cf800 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ This is the log of notable changes to Expo CLI and related packages. ### ๐Ÿ›  Breaking changes +- [next-adapter] Loosen peer dependency restrictions ([#25](https://github.com/expo/expo-webpack-integrations/pull/25)) + ### ๐ŸŽ‰ New features ### ๐Ÿงน Chores From d15bc0c9a6dc1654cf7720575604eb7f931a5378 Mon Sep 17 00:00:00 2001 From: Test User Date: Thu, 4 Jan 2024 15:40:42 +0100 Subject: [PATCH 3/3] refactor(next-adapter): remove next peer dependency --- packages/next-adapter/package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/next-adapter/package.json b/packages/next-adapter/package.json index c735988..343da95 100644 --- a/packages/next-adapter/package.json +++ b/packages/next-adapter/package.json @@ -40,9 +40,7 @@ }, "peerDependencies": { "expo": ">=46", - "next": ">=13", - "react": ">=18", - "react-native-web": ">=0.18.0", + "react-native-web": "^0.18 || ^0.19", "webpack": "^4.46.0 || ^5.74.0" }, "publishConfig": {