fix(resolver): resolution of namespace members#9904
Conversation
🦋 Changeset detectedLatest commit: f3f4831 The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe changes ensure namespace/module members are always populated when finalising the JS module graph (even if type inference is disabled) by adding a dedicated Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Merging this PR will not alter performance
Comparing Footnotes
|
Update the Biome schema and disable the project-domain checks that started failing this repo under 2.4.12. The main blocker is noUnresolvedImports. Biome's docs explicitly say TypeScript users probably don't want this rule: https://biomejs.dev/linter/rules/no-unresolved-imports/ Related upstream regression and fix: biomejs/biome#9626 biomejs/biome#9904 Also disable the remaining existing findings surfaced by this bump: useHookAtTopLevel, noArrayIndexKey, and noImportCycles. Include the lint:fix export-order changes required for the i18n job to stay clean.
Update the Biome schema and disable the project-domain checks that started failing this repo under 2.4.12. The main blocker is noUnresolvedImports. Biome's docs explicitly say TypeScript users probably don't want this rule: https://biomejs.dev/linter/rules/no-unresolved-imports/ Related upstream regression and fix: biomejs/biome#9626 biomejs/biome#9904 Also disable the remaining existing findings surfaced by this bump: useHookAtTopLevel, noArrayIndexKey, and noImportCycles. Include the lint:fix export-order changes required for the i18n job to stay clean.
Summary
Closes #9626
There were two problems:
infer_types, and since in 2.4.0 we broke down the project domain and type domain, this surfaced and started to failImplemented with the help of an AI agent
Test Plan
Added a regression test
Docs