Skip to content

fix(js): handle when there are no package manager workspaces' patterns#30666

Merged
leosvelperez merged 1 commit intomasterfrom
js/handle-empty-pm-workspace-patterns
Apr 10, 2025
Merged

fix(js): handle when there are no package manager workspaces' patterns#30666
leosvelperez merged 1 commit intomasterfrom
js/handle-empty-pm-workspace-patterns

Conversation

@leosvelperez
Copy link
Copy Markdown
Member

Current Behavior

The helper to add a project to the package manager workspaces' configuration doesn't handle correctly when there are no patterns and this results in the error Invalid glob pattern being thrown.

Expected Behavior

The helper to add a project to the package manager workspaces' configuration should handle when there are no patterns.

Related Issue(s)

Fixes #

@leosvelperez leosvelperez requested a review from a team as a code owner April 10, 2025 12:05
@leosvelperez leosvelperez self-assigned this Apr 10, 2025
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Apr 10, 2025 0:05am

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Apr 10, 2025

View your CI Pipeline Execution ↗ for commit f6dcd9a.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-ci ✅ Succeeded 3m 40s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 19s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 1s View ↗
nx documentation ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-04-10 13:16:09 UTC

@leosvelperez leosvelperez enabled auto-merge (squash) April 10, 2025 13:02
@leosvelperez leosvelperez merged commit 136e721 into master Apr 10, 2025
12 checks passed
@leosvelperez leosvelperez deleted the js/handle-empty-pm-workspace-patterns branch April 10, 2025 13:16
@github-actions
Copy link
Copy Markdown
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 Apr 16, 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