Skip to content

Require Node.js 22+ and remove picocolors #31

Description

@ho991217

Context

The package currently has no engines.node requirement and uses picocolors for terminal styling. Setting Node.js 22 as the minimum supported version allows us to use the built-in util.styleText API and remove this dependency.

Proposed work

  • Set engines.node to >=22 in package.json.
  • ㅓReplace picocolors usage with styleText from node:util.
  • Remove picocolors from dependencies and update the lockfile.

Acceptance criteria

  • CLI output retains its existing colors and emphasis.
  • Color output remains appropriate for interactive terminals and redirected output.
  • The CLI works on Node.js 22 and newer supported versions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions