Skip to content

fix: make packages optional in pnpm-workspace.yaml#124

Merged
branchseer merged 2 commits intomainfrom
01-23-fix_make_packages_optional_in_pnpm-workspace.yaml_
Jan 23, 2026
Merged

fix: make packages optional in pnpm-workspace.yaml#124
branchseer merged 2 commits intomainfrom
01-23-fix_make_packages_optional_in_pnpm-workspace.yaml_

Conversation

@branchseer
Copy link
Copy Markdown
Member

@branchseer branchseer commented Jan 23, 2026

fix: make packages optional in pnpm-workspace.yaml

Added the #[serde(default)] attribute to the packages field in the PnpmWorkspace struct to make it optional. This allows PNPM workspaces to function correctly even when the packages field is not specified in the pnpm-workspace.yaml file.

Added a test fixture with a pnpm-workspace.yaml that doesn't include a packages field to verify the fix works correctly.

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@branchseer branchseer marked this pull request as ready for review January 23, 2026 02:59
@branchseer branchseer merged commit b6805fa into main Jan 23, 2026
7 checks passed
@branchseer branchseer deleted the 01-23-fix_make_packages_optional_in_pnpm-workspace.yaml_ branch January 23, 2026 03:11
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.

2 participants