Skip to content

Conversation

@imrishabh18
Copy link
Member

@imrishabh18 imrishabh18 commented Dec 2, 2025

Have separated out the methods used in the getAllNodeModuleFilePaths to make it more readable

DevServer now uploads all the packages listed in the package.json dependencies

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 593 to 596
// Only upload packages that are explicitly listed in dependencies
if (!isProjectDependency) {
continue
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Upload transitive deps for linked packages

Lines 593-596 now skip every resolved dependency that is not listed in the root package.json. When using a locally linked/file:/yalc package, its own dependencies are discovered by collectAllNodeModuleDependencies but typically are not declared in the app’s dependencies, so this filter drops them and they are never uploaded. Any linked package that imports its own dependency (e.g., axios inside the linked library) will now hit MODULE_NOT_FOUND on the server because those files are omitted, whereas the previous hasLocalPackages path uploaded these transitive deps.

Useful? React with 👍 / 👎.

@imrishabh18 imrishabh18 changed the title remove the local package check which looked for link, yalc or file: refactor and remove the local package check which looked for link, yalc or file: Dec 2, 2025
@imrishabh18 imrishabh18 requested a review from seveibar December 2, 2025 11:57
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants