Skip to content

Conversation

@riddhi2910
Copy link
Contributor

@riddhi2910 riddhi2910 commented Jan 8, 2026

Description

Upgraded @adobe/aio-cli-plugin-console to @oclif/core v2 by updating the dependency to ^2.0.0, switching from CliUx to direct ux imports, replacing CliUx.ux.open() with the open package, and refactoring command arguments to the new object-based syntax. Updated test files and added jest.setup.js configuration for v2 compatibility. Guide

Motivation and Context

https://jira.corp.adobe.com/browse/ACNA-2493

How Has This Been Tested?

Yes, npm test

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link

codecov bot commented Jan 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

package.json Outdated
"js-yaml": "^4.1.0"
"@oclif/core": "^2.0.0",
"js-yaml": "^4.1.0",
"open": "^8.4.2"
Copy link
Member

Choose a reason for hiding this comment

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

Consider v10, like how I'm doing it here: adobe/aio-lib-ims-oauth@8946a9e
... to potentially avoid the same issue in that lib under Windows.

However, it requires a change in how you call Jest (see the package.json npm run script in the commit above).

@riddhi2910 riddhi2910 merged commit 64706a7 into master Jan 13, 2026
11 checks passed
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.

4 participants