Skip to content

Conversation

@sbosio
Copy link
Contributor

@sbosio sbosio commented Jan 23, 2026

Description

This PR copies and refactors the types and utils required for the migration of NGPG plugin commands to Core CLI v11.x.

Initially, I followed the WI instructions and put the types file under packages/cli/types/data.ts, but that caused a hard to debug issue where all tests using runCommand from @oclif/test would fail. Strangely, those based on our runCommand helper didn't. That's why I decided to relocate the file under packages/cli/src/lib/data/types.ts, that fixed the problem, but I still don't understand why.

Some tests required to bring in some of the fixtures defined in NGPG code base. In the same spirit of splitting the utils to their own files I just copied the required fixtures on its own file under packages/cli/test/fixtures/data.

Testing

  • Passing unit tests is enough for now.

SOC2 Compliance

GUS WI: W-20610475

@sbosio sbosio temporarily deployed to AcceptanceTests January 23, 2026 19:36 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests January 23, 2026 19:36 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests January 23, 2026 19:36 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests January 23, 2026 19:36 — with GitHub Actions Inactive
@sbosio sbosio marked this pull request as ready for review January 23, 2026 19:36
@sbosio sbosio requested a review from a team as a code owner January 23, 2026 19:36
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.

1 participant