Skip to content

Conversation

@pyramation
Copy link
Contributor

Summary

Replaces the hardcoded license options array with optionsFrom: "licenses" to dynamically load available licenses from create-gen-app. This ensures the license list stays in sync with create-gen-app's supported licenses, including the new CLOSED license option.

Dependency: constructive-io/dev-utils#27 must be merged and released first (implements optionsFrom support in inquirerer and registers the licenses resolver).

Review & Testing Checklist for Human

  • Critical: Ensure dev-utils PR #27 is merged and a new version of create-gen-app is released before merging this PR
  • Test pgpm init workspace and verify the license dropdown shows all options: MIT, APACHE-2.0, BSD-3-CLAUSE, CLOSED, GPL-3.0, ISC, MPL-2.0, UNLICENSE
  • Verify that selecting CLOSED license generates the correct LICENSE file content

Test plan: After dev-utils PR #27 is merged and released, update your local create-gen-app dependency, then run pgpm init workspace and check that the license dropdown is populated with all available licenses.

Notes

Replace hardcoded license options with 'optionsFrom: licenses' to
dynamically load available licenses from create-gen-app. This ensures
the license list stays in sync with create-gen-app's supported licenses,
including the new CLOSED license option.

Co-Authored-By: Dan Lynch <[email protected]>
@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
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