Support monorepo fragments, export * re-exports, and clearer unresolved-import errors#94
Support monorepo fragments, export * re-exports, and clearer unresolved-import errors#94
Conversation
🦋 Changeset detectedLatest commit: 6cfd6d8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
Thanks for create this PR so quickly. I'd like to do some manual testing with this before I review the code. I'll try to do that sometime this week. I'm a little concerned about how we build the module map. During assessment testing periods we have multiple versions of |
|
hmmmm so do you think we should be doing full package.json parsing to determine the resolution for an import? I wonder if there's a package for that. |
|
turns out there was! @kevinb-khan I now think that this solution will support the "assessments uses a pinned version while something else doesn't". however, |
Summary:
resolvepackage to follow nodejs import resolutionexport * from "./..."re-exports when resolving fragments.Code mostly generated with gpt-5.2-codex
Test plan:
yarn test src/parser/__test__/utils.test.tsyarn test src/parser/__test__/parse.test.ts