Skip to content

Oclif4#13

Draft
pviti wants to merge 3 commits intomainfrom
oclif4
Draft

Oclif4#13
pviti wants to merge 3 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; adds @commercelayer/cli-ux (oclif4) as an explicit dependency — ux as cliux was previously pulled from @oclif/core directly
  • Node requirement: Bumps minimum Node.js engine from >=20 to >=22
  • Type imports: Replaces the removed CommandError import from @oclif/core/lib/interfaces with Interfaces.CommandError from @oclif/core
  • 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
  • Code style: Removes trailing semicolons across all command files, consistent with the Biome formatter config applied to this package
  • tsconfig: Adds explicit "types": ["node"] to compiler options
  • Release config: Adds oclif branch as a prerelease channel in .releaserc

@pviti pviti self-assigned this May 5, 2026
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.

1 participant