Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from deprecated cli-ux to @oclif/core #969

Merged
merged 21 commits into from Feb 10, 2022

Conversation

Kupuyc
Copy link
Contributor

@Kupuyc Kupuyc commented Feb 8, 2022

Summary

cli-ux package is deprecated now. This PR contains migration from cli-ux to @oclif/core.

All changes were made by instructions from package migration manual.

Also, there are some other "old" @oclif/* packages in project (like @oclif/command, @oclif/config, etc). They all marked as "in maintenance mode" and replaced by @oclif/core. It's probably better to do their migration in another PR.

Testing Plan

Whole refactoring pretty transparent: import another namespace from new package and use it instead of old one. I tested every refactored command manually and ran yarn test for sure. All tests passed.

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and
what additional work is required, if any.

[ ] Yes
[x] No

@Kupuyc Kupuyc requested a review from a team as a code owner February 8, 2022 17:53
@dguenther
Copy link
Member

dguenther commented Feb 8, 2022

This is great! We'll try to get this tested when we have some free time. Do you think you'll have the spare time to migrate the old packages to @oclif/core in a future PR?

@Kupuyc
Copy link
Contributor Author

Kupuyc commented Feb 8, 2022

Do you think you'll have the spare time to migrate the old packages to @oclif/core in a future PR?

Yep, sure.

Copy link
Member

@dguenther dguenther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you!

@dguenther dguenther merged commit 3e13335 into iron-fish:staging Feb 10, 2022
@Kupuyc Kupuyc deleted the cliUxToOclifCore branch February 10, 2022 06:12
@Kupuyc Kupuyc mentioned this pull request Feb 10, 2022
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.

None yet

2 participants