Skip to content

Oclif4#9

Draft
pviti wants to merge 5 commits intomainfrom
oclif4
Draft

Oclif4#9
pviti wants to merge 5 commits intomainfrom
oclif4

Conversation

@pviti
Copy link
Copy Markdown
Member

@pviti pviti commented May 5, 2026

Changes

  • oclif core v4: Upgrades @oclif/core from ^3.27.0 to ^4.11.0 and @oclif/test from ^3.x to ^4.x
  • Internal packages: Switches @commercelayer/cli-core and @commercelayer/cli-dev to oclif4 channel
  • Node requirement: Bumps minimum Node.js engine from >=20 to >=22
  • Type imports: Removes the now-unavailable CommandError import from @oclif/core/lib/interfaces; the super.catch(error) call no longer requires a cast
  • Test syntax: Migrates all test files from the old test.stdout().command().it() chain to the new runCommand + async/await pattern from @oclif/test v4
  • noc command: Adds required this.parse(Noc) call to satisfy oclif v4's stricter command lifecycle
  • tsconfig: Adds explicit "types": ["node"] to compiler options
  • Release config: Adds oclif4 branch as a prerelease channel in .releaserc

pviti and others added 5 commits March 26, 2026 21:24
BREAKING CHANGE: upgrade to oclif core v4
# [2.0.0-oclif4.1](v1.1.1...v2.0.0-oclif4.1) (2026-03-26)

### Features

* upgrade to oclif core v4 ([ae66f8c](ae66f8c))

### BREAKING CHANGES

* upgrade to oclif core v4
# [2.0.0-oclif4.2](v2.0.0-oclif4.1...v2.0.0-oclif4.2) (2026-05-05)

### Bug Fixes

* run tests in updates workflow ([8083adf](8083adf))
* update dependencies and add updates workflow ([de1ba34](de1ba34))
@pviti
Copy link
Copy Markdown
Member Author

pviti commented May 5, 2026

🎉 This PR is included in version 2.0.0-oclif4.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@pviti pviti self-assigned this May 5, 2026
@pviti pviti added the enhancement New feature or request label May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants