Skip to content

fix(align-deps): fix vigilant mode not handling catalog: in peer dependencies#4066

Merged
tido64 merged 1 commit intomainfrom
tido/align-deps/handle-foreign-protocols
Mar 30, 2026
Merged

fix(align-deps): fix vigilant mode not handling catalog: in peer dependencies#4066
tido64 merged 1 commit intomainfrom
tido/align-deps/handle-foreign-protocols

Conversation

@tido64
Copy link
Copy Markdown
Member

@tido64 tido64 commented Mar 30, 2026

Description

Fixed vigilant mode not handling catalog: in peer dependencies

Test plan

Add catalog: in peer dependencies:

diff --git a/scripts/align-deps-preset.cjs b/scripts/align-deps-preset.cjs
index 23f66f3c7..e9d96c6c4 100644
--- a/scripts/align-deps-preset.cjs
+++ b/scripts/align-deps-preset.cjs
@@ -68,6 +68,10 @@ const profile = {
     version: "^11.0.0",
     devOnly: true,
   },
+  "react": {
+    name: "react",
+    version: "catalog:",
+  },
   semver: {
     name: "semver",
     version: "^7.0.0",

Run yarn rnx-align-deps. This should not crash.

@github-actions github-actions bot added the feature: align-deps This is related to align-deps label Mar 30, 2026
@github-actions

This comment was marked as resolved.

@tido64 tido64 force-pushed the tido/align-deps/handle-foreign-protocols branch from 1d236b8 to dec3fc7 Compare March 30, 2026 15:10
@tido64 tido64 force-pushed the tido/align-deps/handle-foreign-protocols branch 2 times, most recently from eccd77f to 7c27049 Compare March 30, 2026 15:18
@tido64 tido64 force-pushed the tido/align-deps/handle-foreign-protocols branch from 7c27049 to d87372f Compare March 30, 2026 15:20
@tido64 tido64 merged commit 945813d into main Mar 30, 2026
15 checks passed
@tido64 tido64 deleted the tido/align-deps/handle-foreign-protocols branch March 30, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: align-deps This is related to align-deps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants