Skip to content

chore: update @oclif/core to v4 and @adobe/eslint-config-aio-lib-config to v5#130

Open
shazron wants to merge 2 commits intomasterfrom
fix/issue-129-update-oclif-core-v4
Open

chore: update @oclif/core to v4 and @adobe/eslint-config-aio-lib-config to v5#130
shazron wants to merge 2 commits intomasterfrom
fix/issue-129-update-oclif-core-v4

Conversation

@shazron
Copy link
Member

@shazron shazron commented Mar 25, 2026

Summary

Closes #129

  • @oclif/core v2 → v4: Updates @oclif/core from ^2.8.12 to ^4.9.0 to support aio-cli#781

    • Adds src/utils/table.js to replace ux.table which was removed in v4
    • Renames ux: cli import alias to ux across all command files
    • Updates test/jest.setup.js: removes obsolete @oclif/core/lib/cli-ux path mocks (paths removed in v4), adds mockConfig stub for Command.parse() which now requires this.config.runHook
    • Adds test/utils/table.test.js to maintain 100% branch coverage
  • @adobe/eslint-config-aio-lib-config v4 → v5.0.0: The new version uses ESLint 9 flat config format

    • Upgrades eslint to v9, adds neostandard, upgrades eslint-plugin-jest to latest
    • Replaces .eslintrc.json with eslint.config.js (ESLint 9 flat config)
    • Removes packages now bundled in neostandard: eslint-config-oclif, eslint-config-standard, eslint-plugin-import, eslint-plugin-n, eslint-plugin-node, eslint-plugin-promise, eslint-plugin-standard

Test plan

  • All 237 unit tests pass (npm test)
  • 100% code coverage maintained (statements, branches, functions, lines)
  • ESLint passes with no errors (eslint src test e2e)

🤖 Generated with Claude Code

…ig to v5

- Update @oclif/core from ^2.8.12 to ^4.9.0 (closes #129)
  - Replace removed ux.table with a new src/utils/table.js utility
  - Rename ux:cli import alias to ux across all command files
  - Update jest.setup.js: remove obsolete @oclif/core/lib/cli-ux mocks,
    add mockConfig stub for Command.parse() which now requires this.config
  - Add test/utils/table.test.js for full branch coverage
- Update @adobe/eslint-config-aio-lib-config from ^4.0.0 to 5.0.0
  - Upgrade eslint to v9, add neostandard, upgrade eslint-plugin-jest
  - Replace .eslintrc.json with eslint.config.js (ESLint 9 flat config)
  - Remove replaced packages: eslint-config-oclif, eslint-config-standard,
    eslint-plugin-import, eslint-plugin-n, eslint-plugin-node,
    eslint-plugin-promise, eslint-plugin-standard
  - Remove now-invalid eslint-disable comment from validator.js

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Mar 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@shazron
Copy link
Member Author

shazron commented Mar 25, 2026

node-18 failures, wait for adobe/aio-reusable-workflows#14

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.

chore: update @oclif/core to latest version

1 participant