fix(core): inherit nested target capabilities - #1478
Draft
aidenybai wants to merge 1 commit into
Draft
Conversation
commit: |
This was referenced Jul 29, 2026
Contributor
|
React Doctor skipped this pull request — it changed no React files. Reviewed by React Doctor for commit |
aidenybai
force-pushed
the
codex/internal-architecture-rewrite
branch
from
July 30, 2026 03:03
49cbd22 to
5b70e00
Compare
aidenybai
force-pushed
the
codex/internal-architecture-02-core-execution
branch
from
July 30, 2026 03:06
ce55017 to
9b6c1d1
Compare
aidenybai
changed the base branch from
codex/internal-architecture-rewrite
to
main
July 30, 2026 03:06
aidenybai
force-pushed
the
codex/internal-architecture-02-core-execution
branch
from
July 30, 2026 03:16
9b6c1d1 to
afd61af
Compare
Contributor
Interactive terminal E2ERecorded from the built CLI at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What changed
When React Doctor is invoked from a nested directory without its own package manifest, capability detection now reads the nearest enclosing package.json and resolves Browserslist from that package root.
Why
The discovered project already inherited React/framework metadata from its enclosing package, but target-blank protection was computed against the nested directory. That could silently disable the rule for old browser and Electron targets.
Regression review
noopenernoreferrerThis PR is independent and targets
main.