Skip to content

Oclif4#20

Draft
pviti wants to merge 9 commits intomainfrom
oclif4
Draft

Oclif4#20
pviti wants to merge 9 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, @commercelayer/cli-ux, and @commercelayer/cli-dev to oclif4 channel
  • Node requirement: Bumps minimum Node.js engine from >=20 to >=22
  • CLI UX import: Updates cli-ux import from named * as cliux to default cliux import, matching the new module export style
  • Type imports: Replaces removed CommandError from @oclif/core/lib/interfaces with Interfaces.CommandError from @oclif/core; relaxes handleError signature to error: unknown for better type safety
  • 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
  • tsconfig: Adds explicit "types": ["node"] to compiler options
  • Release config: Adds oclif4 branch as a prerelease channel in .releaserc
  • noc command: Adds required this.parse(Noc) call to satisfy oclif v4's stricter command lifecycle

pviti and others added 9 commits August 20, 2024 16:02
BREAKING CHANGE: upgrade to oclif core v4
# [3.0.0-oclif4.1](v2.2.2...v3.0.0-oclif4.1) (2026-03-26)

### Features

* migrate to oclif/core v4 and oclif/test v4 ([5caae7c](5caae7c))
* upgrade to oclif core v4 ([972b3c4](972b3c4))

### BREAKING CHANGES

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

### Bug Fixes

* run tests in updates workflow ([7ac67f4](7ac67f4))
* update dependencies ([20cb159](20cb159))
* update dependencies and add updates workflow ([3670fb6](3670fb6))
@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

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants