Skip to content

Conversation

@pyramation
Copy link
Contributor

Summary

Updates the genomic dependency from ^5.0.3 to ^5.1.0 in both pgpm/core and pgpm/cli packages.

genomic@5.1.0 includes recursive boilerplate scanning functionality that enables proper filtering of directories by .boilerplate.json presence. This is future-proofing for cases where users use --dir . to bypass .boilerplates.json - directories without .boilerplate.json (like scripts/) will no longer appear as boilerplate options.

Existing behavior is unchanged - the new recursive scan only runs as a fallback after existing resolution methods fail.

Review & Testing Checklist for Human

  • Verify pgpm init workspace still works correctly with pgpm-boilerplates
  • Verify pgpm init (module) still works correctly
  • Optionally test pgpm init --dir . to confirm only valid boilerplates appear (not scripts/)

Test Plan

# In a test directory
pgpm init workspace
cd packages/
pgpm init
# Both should work as before

Notes

Updates genomic dependency to 5.1.0 which includes:
- scanBoilerplatesRecursive() for recursive boilerplate discovery
- findBoilerplateByPath() for matching fromPath against discovered boilerplates
- Updated resolveFromPath with recursive scan fallback

This enables proper boilerplate filtering when using --dir . to bypass
.boilerplates.json, ensuring directories without .boilerplate.json
(like scripts/) are never shown as options.
@devin-ai-integration
Copy link
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@pyramation pyramation merged commit 0ce2a23 into main Dec 27, 2025
34 checks passed
@pyramation pyramation deleted the devin/1766833370-update-genomic-5.1.0 branch December 27, 2025 11:39
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