Skip to content

Conversation

@pyramation
Copy link
Contributor

feat: update imports from inquirerer to genomic

Summary

This PR updates all package imports across the constructive repo to use the new genomic package names:

  • inquirerergenomic
  • create-gen-app@genomic/scaffolds
  • Inquirerer class → Genomic class

Changes span 59 files across packages/cli, packages/csv-to-pg, pgpm/cli, and pgpm/core.

Important: This PR depends on constructive-io/dev-utils#39 being merged and the genomic packages being published to npm first. The build will fail until those packages are available.

Review & Testing Checklist for Human

  • Verify dev-utils PR is merged first: This PR cannot be merged until dev-utils#39 is merged and genomic@3.0.0 + @genomic/scaffolds@1.0.0 are published to npm
  • Verify package versions match: Confirm the versions in package.json (genomic@^3.0.0, @genomic/scaffolds@^1.0.0) match what was published from dev-utils
  • Run build after packages are published: Execute pnpm build to verify all packages compile correctly
  • Regenerate test snapshots: The snapshot file packages/cli/__tests__/__snapshots__/cli.test.ts.snap still references "Inquirerer" in test names - run tests to regenerate
  • Spot-check sed replacements: Bulk replacement was used - verify no unintended replacements in comments or strings (grep for any remaining inquirerer or Inquirerer references)

Recommended Test Plan:

  1. Wait for dev-utils#39 to be merged and packages published
  2. Run pnpm install to fetch new packages
  3. Run pnpm build to verify compilation
  4. Run pnpm test to verify tests pass and regenerate snapshots
  5. Commit any snapshot changes

Notes

This is a breaking change that requires coordinated deployment with the dev-utils repository.

Link to Devin run: https://app.devin.ai/sessions/e5018850caff45ce8a126331548d69bc
Requested by: Dan Lynch (pyramation@gmail.com) / @pyramation

- Update all imports from 'inquirerer' to 'genomic'
- Update all imports from 'create-gen-app' to '@genomic/scaffolds'
- Rename Inquirerer class references to Genomic
- Update package.json dependencies to use new package names:
  - inquirerer@^2.4.0 -> genomic@^3.0.0
  - create-gen-app@^0.10.0 -> @genomic/scaffolds@^1.0.0

BREAKING CHANGE: This PR depends on constructive-io/dev-utils#39 being merged
and the genomic packages being published to npm first.
@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

- Update all imports to use Prompter instead of Genomic
- Update all imports to use PrompterOptions instead of GenomicOptions

This matches the upstream change in dev-utils
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