From b2a22a2b5052f9dc999af20bbb444f99a0f1a313 Mon Sep 17 00:00:00 2001 From: agadzik Date: Wed, 20 Mar 2024 14:39:26 -0400 Subject: [PATCH 1/2] Move Playwright to be a peerDependency of next.js --- packages/next/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/next/package.json b/packages/next/package.json index 0ea4d04aeed82..94d018736b4f5 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -101,6 +101,7 @@ "styled-jsx": "5.1.1" }, "peerDependencies": { + "@playwright/test": "^1.41.2", "@opentelemetry/api": "^1.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", From 9f1cedbd1b7c244cf62297094239bf53e5ab1d21 Mon Sep 17 00:00:00 2001 From: agadzik Date: Thu, 21 Mar 2024 08:33:00 -0400 Subject: [PATCH 2/2] Mark @playwright/test as optional --- packages/next/package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/next/package.json b/packages/next/package.json index 94d018736b4f5..2f5c540a8d5c6 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -113,6 +113,9 @@ }, "@opentelemetry/api": { "optional": true + }, + "@playwright/test": { + "optional": true } }, "devDependencies": {