Skip to content

Update CLI parsing for meow v12 compatibility#160

Merged
abraham merged 2 commits into
mainfrom
copilot/update-meow-to-v12
Apr 20, 2026
Merged

Update CLI parsing for meow v12 compatibility#160
abraham merged 2 commits into
mainfrom
copilot/update-meow-to-v12

Conversation

Copilot AI commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

This updates pkg-ok to use meow v12 and aligns the CLI/configuration with breaking changes introduced in that major release. The goal is to keep current CLI behavior intact while moving to the new parser version.

  • Dependency upgrade

    • Bumped meow from ^11.0.0 to ^12.1.1 in package.json.
  • CLI flag definition migration (meow v12)

    • Updated flag config in src/bin.ts from deprecated alias to shortFlag for --field/-f and --bin/-b.
  • TypeScript module resolution alignment

    • Switched tsconfig.json moduleResolution from node to bundler so TypeScript resolves meow v12 exports/types correctly.
flags: {
  field: {
    shortFlag: 'f',
    type: 'string',
    isMultiple: true,
  },
  bin: {
    shortFlag: 'b',
    type: 'string',
    isMultiple: true,
  },
}

Copilot AI linked an issue Apr 20, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Update meow to version 12 Update CLI parsing for meow v12 compatibility Apr 20, 2026
Copilot AI requested a review from abraham April 20, 2026 00:13
@abraham abraham marked this pull request as ready for review April 20, 2026 00:14
@abraham abraham merged commit 06c0d58 into main Apr 20, 2026
3 checks passed
@abraham abraham deleted the copilot/update-meow-to-v12 branch April 20, 2026 00: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.

Update meow to v12

2 participants