From d2b2da4234481f14b8514b3a2d95e7979b22976e Mon Sep 17 00:00:00 2001 From: Deep Kumar Singh Kushwah Date: Mon, 13 Jul 2026 16:40:56 +0530 Subject: [PATCH] =?UTF-8?q?feat(parser-react):=20instance=20tree=20?= =?UTF-8?q?=E2=80=94=20import-resolved=20definitions,=20nesting,=20design-?= =?UTF-8?q?system=20instances?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Step 2.1 (TRACKER). Failure modes C1 (graph half), A5: - JSX tags resolve through the file's imports via getExportedDeclarations: barrel files, renames (export { ProfileCardInner as ProfileCard }), and default-export aliases (export { default as Avatar }) all land on the original definition's node id. Same-file and unique-name fallbacks retained; HOC aliases compose with import resolution. - Design-system instances (A5): tags imported from configured designSystemPackages (or resolving into node_modules) materialize as instances flagged external-definition with definitionId external:# — the usage site is ours even when the definition isn't. Unconfigured unresolvable imports (react-i18next Trans etc.) stay excluded. - Same-body nesting: