Skip to content

fix(workspace): ignore packages inside node_modules#539

Open
jong-kyung wants to merge 2 commits into
voidzero-dev:mainfrom
jong-kyung:fix/ignore-node-modules-workspaces
Open

fix(workspace): ignore packages inside node_modules#539
jong-kyung wants to merge 2 commits into
voidzero-dev:mainfrom
jong-kyung:fix/ignore-node-modules-workspaces

Conversation

@jong-kyung

@jong-kyung jong-kyung commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Motivation

Broad workspace patterns such as samples/** caused vp run to treat installed dependencies beneath node_modules as workspace packages and execute their matching scripts. Workspace discovery now prunes every node_modules tree before package manifests are collected, while preserving legitimate nested workspace packages.

A regression test covers the reported broad-glob layout and verifies that only the root and intended app package are discovered.

Related: voidzero-dev/vite-plus#2153

@jong-kyung jong-kyung force-pushed the fix/ignore-node-modules-workspaces branch 2 times, most recently from 07fc7cf to f8c7e01 Compare July 12, 2026 11:47

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

Copy link
Copy Markdown

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.

Reviewed commit: e76cbf61bd

ℹ️ 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 thread crates/vite_workspace/src/lib.rs
Co-authored-by: GPT-5.2 <codex@openai.com>
@jong-kyung jong-kyung force-pushed the fix/ignore-node-modules-workspaces branch from f8c7e01 to 667d805 Compare July 12, 2026 11:59
Signed-off-by: JongKyung Lee  <jongkyung0413@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant