Skip to content

Oclif4#2

Draft
pviti wants to merge 6 commits intomainfrom
oclif4
Draft

Oclif4#2
pviti wants to merge 6 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
  • 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
  • Type imports: Removes the now-unavailable CommandError import from @oclif/core/lib/interfaces; the super.catch(error) call no longer requires a cast
  • noc command: Adds required this.parse(Noc) call to satisfy oclif v4's stricter command lifecycle
  • Tests: Adds .timeout(5000) to all runCommand-based test cases (tests were already on the @oclif/test v4 pattern)
  • Build artifacts removed: Deletes the committed lib/ directory (pre-compiled .d.ts and .js files) from version control — these are generated at publish time and should not be tracked in git
  • Dependency bumps: eventsource-parser^3.0.8, ora^9.4.0
  • tsconfig: Adds explicit "types": ["node"] to compiler options
  • Release config: Adds oclif4 branch as a prerelease channel in .releaserc

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

### Features

* upgrade to oclif core v4 and node v22 ([16d11c6](16d11c6))

### BREAKING CHANGES

* upgrade to oclif core v4 and node v22
# [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 ([045a532](045a532))
* update dependencies and add updates workflow ([9121603](9121603))
@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