Skip to content

Conversation

leosvelperez
Copy link
Member

Current Behavior

When detecting whether a workspace is set up with pnpm workspaces, we only check for the existence of the pnpm-workspace.yaml file. While most of the time that's enough, it's not entirely correct because that file can exist without a packages entry and solely contain other settings.

Expected Behavior

When detecting whether a workspace is set up with pnpm workspaces, we should check for the existence of the pnpm-workspace.yaml file and the packages entry.

@leosvelperez leosvelperez self-assigned this Aug 22, 2025
@leosvelperez leosvelperez requested review from a team as code owners August 22, 2025 12:33
Copy link

vercel bot commented Aug 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Aug 22, 2025 2:11pm

Copy link
Contributor

nx-cloud bot commented Aug 22, 2025

🤖 Nx Cloud AI Fix

Ensure the fix-ci command is configured to always run in your CI pipeline to get automatic fixes in future runs. For more information, please see https://nx.dev/ci/features/self-healing-ci


View your CI Pipeline Execution ↗ for commit c651797

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 55m 23s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 2m 5s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 6s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 5s View ↗
nx documentation ✅ Succeeded 58s View ↗
nx affected -t e2e-macos-local --parallel=1 --b... ✅ Succeeded 20m 39s View ↗

☁️ Nx Cloud last updated this comment at 2025-08-22 14:57:00 UTC

@leosvelperez leosvelperez force-pushed the misc/fix-pnpm-workspaces-detection branch from 21069dd to c651797 Compare August 22, 2025 13:54
@FrozenPandaz FrozenPandaz merged commit 0494d09 into master Aug 22, 2025
12 checks passed
@FrozenPandaz FrozenPandaz deleted the misc/fix-pnpm-workspaces-detection branch August 22, 2025 15:39
FrozenPandaz pushed a commit that referenced this pull request Aug 22, 2025
…etup (#32474)

## Current Behavior

When detecting whether a workspace is set up with pnpm workspaces, we
only check for the existence of the `pnpm-workspace.yaml` file. While
most of the time that's enough, it's not entirely correct because that
file can exist without a `packages` entry and solely contain other
settings.

## Expected Behavior

When detecting whether a workspace is set up with pnpm workspaces, we
should check for the existence of the `pnpm-workspace.yaml` file and the
`packages` entry.

(cherry picked from commit 0494d09)
Copy link
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants