feat: restructure packages - inquirerer for CLI prompts, genomic for scaffolds #41
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: restructure packages - inquirerer for CLI prompts, genomic for scaffolds
Summary
This PR swaps the package names to leverage the existing
inquirerernpm package reputation:genomicinquirerer@3.5.0@genomic/scaffoldsgenomic@4.0.2@genomic/utils@inquirerer/utils@2.0.2All internal imports in
create-gen-app-testhave been updated to use the new package names.BREAKING CHANGE: This is a complete package identity swap. Existing users of
genomic(the prompt library) must now useinquirerer. Thegenomicpackage name is being repurposed for scaffolding.Updates since last revision
Prompterback toInquirerer(andPrompterOptions→InquirererOptions) to stay on brand with the package nameInquirererinstead ofPrompterInquirererclass namepackages/utils→packages/inquirerer-utilsto match the scoped package nameinquirerer-utilsfolder instead ofutilsReview & Testing Checklist for Human
dependenciesblock has extra indentation (2 extra spaces) that breaks JSON formatting consistency - this should be corrected before mergeInquirerer/InquirererOptionsare exported from inquirerer package (notPrompter)Inquirerer/ListQuestionimports come frominquirerer, whileCacheManager/GitCloner/Templatizercome fromgenomicRecommended test plan:
pnpm install && pnpm build && pnpm testpackages/inquirerer/src/prompt.tsexportsclass Inquirererandinterface InquirererOptionspackages/inquirerer/package.jsonhas nameinquirererand version3.5.0packages/genomic/package.jsonhas namegenomicand version4.0.2packages/inquirerer-utils/package.jsonhas name@inquirerer/utilsand version2.0.2Notes
After this PR is merged and packages are published, the
constructiverepo will also need to be updated to use the new package names withInquirererclass.Session: https://app.devin.ai/sessions/e5018850caff45ce8a126331548d69bc
Requested by: Dan Lynch (@pyramation)