From 3b180e7cb528eb381c03b7633f58d98d35a1b3fc Mon Sep 17 00:00:00 2001 From: Paul Rastoin <45004772+prastoin@users.noreply.github.com> Date: Tue, 5 May 2026 17:13:31 +0200 Subject: [PATCH] Fix root monorepo package json focused installation (#20292) # Introduction Running `yarn workspace focus twenty`( only installing root package.json dependencies ) would fail because the yarn constraint expect the yarn types to be installed --- package.json | 1 + yarn.lock | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index 171b9139cd..f5e65b17a6 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "@nx/web": "22.5.4", "@types/react": "^18.2.39", "@types/react-dom": "^18.2.15", + "@yarnpkg/types": "^4.0.0", "concurrently": "^8.2.2", "http-server": "^14.1.1", "nx": "22.5.4", diff --git a/yarn.lock b/yarn.lock index c8ad61871e..08396600c6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -54951,6 +54951,7 @@ __metadata: "@nx/web": "npm:22.5.4" "@types/react": "npm:^18.2.39" "@types/react-dom": "npm:^18.2.15" + "@yarnpkg/types": "npm:^4.0.0" concurrently: "npm:^8.2.2" http-server: "npm:^14.1.1" nx: "npm:22.5.4"