Skip to content

Conversation

@pyramation
Copy link
Contributor

@pyramation pyramation commented Dec 21, 2025

Summary

Adds two improvements to the workspace boilerplate template:

  1. defaultFrom: "workspace.dirname" for the repoName question - reduces redundant prompts by defaulting repository name to the workspace folder name
  2. optionsFrom: "licenses" for the license question - replaces hardcoded license options with dynamic loading from create-gen-app, ensuring the list stays in sync (including the new CLOSED license)

Dependencies:

Review & Testing Checklist for Human

  • Ensure constructive PR #435 is merged before merging this PR
  • Ensure dev-utils PR #27 is merged and released before merging this PR
  • Critical: Test that license options actually appear when running pgpm init workspace (if optionsFrom fails silently, the list will be empty)
  • Verify CLOSED license appears in the license options list
  • Test that repoName defaults to the folder name you entered

Test plan: After both upstream PRs are merged, run pgpm init workspace and verify:

  1. Repository name defaults to the workspace folder name
  2. License dropdown shows all options including CLOSED (should show: MIT, Apache-2.0, ISC, BSD-3-Clause, GPL-3.0, MPL-2.0, Unlicense, CLOSED)

Notes

@devin-ai-integration
Copy link

🤖 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 closed this Dec 21, 2025
@devin-ai-integration devin-ai-integration bot changed the title feat: add workspace.dirname default for repoName question feat: add workspace.dirname default and dynamic license options Dec 21, 2025
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