Skip to content

chore(deps): bump @outfitter/* packages to latest#276

Open
galligan wants to merge 1 commit into
mainfrom
outfitter/v2-deps
Open

chore(deps): bump @outfitter/* packages to latest#276
galligan wants to merge 1 commit into
mainfrom
outfitter/v2-deps

Conversation

@galligan

@galligan galligan commented Feb 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Bump all @outfitter/* packages to latest versions:

Package From To
@outfitter/contracts 0.1.0 0.4.1
@outfitter/config 0.1.0 0.3.3
@outfitter/cli 0.1.0 0.5.2
@outfitter/logging 0.1.0 0.4.1
@outfitter/mcp 0.1.0 0.4.2

Also adds @clack/prompts and better-result as direct dependencies, creates a clack-prompts.ts adapter (since @outfitter/cli@0.5.2 dropped the /prompt subpath), and aligns Zod to ^4.3.5 across all packages.

Foundation for the full Outfitter Stack Parity project (WAY-102 through WAY-108).

Greptile Summary

This PR performs a clean dependency upgrade of all @outfitter/* packages from 0.1.0 to their latest versions (0.3.3 through 0.5.2). The upgrade includes four breaking changes that required one adaptation: @outfitter/cli@0.5.2 removed the /prompt subpath export, so a new clack-prompts.ts adapter was created that wraps @clack/prompts with the same Result-based API.

Key changes:

  • Bumped @outfitter/contracts from 0.1.0 to 0.4.1 across all packages
  • Bumped @outfitter/config from 0.1.0 to 0.3.3 in core
  • Bumped @outfitter/cli from 0.1.0 to 0.5.2 in CLI package
  • Bumped @outfitter/logging from 0.1.0 to 0.4.1 in CLI and MCP packages
  • Bumped @outfitter/mcp from 0.1.0 to 0.4.2 in MCP app
  • Added @clack/prompts@^1.0.1 and better-result@^2.5.1 as direct dependencies
  • Unified Zod version to ^4.3.5 across all packages (was 4.1.12 in some places)
  • Created new packages/cli/src/utils/clack-prompts.ts adapter with promptSelect, promptConfirm, and promptText functions that return Results
  • Updated all imports in init.ts, modify.ts, and prompts.ts to use the new adapter

The implementation is clean and maintains backward compatibility within the codebase—all existing call sites continue to work without modification because the new adapter preserves the exact same Result-based API signature.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • Clean dependency upgrades with a well-designed adapter layer. The clack-prompts.ts adapter correctly wraps @clack/prompts with Result types, handling cancellation via isCancel() checks. All imports have been updated consistently, Zod versions are aligned, and the lock file reflects the correct dependency tree. The changes are additive and maintain API compatibility within the codebase.
  • No files require special attention

Important Files Changed

Filename Overview
packages/cli/package.json Updated @outfitter/* packages to latest versions (0.1.0 → 0.4.x/0.5.x), added @clack/prompts and better-result as direct dependencies, aligned Zod to ^4.3.5
packages/core/package.json Bumped @outfitter/config to 0.3.3 and @outfitter/contracts to 0.4.1, updated Zod to ^4.3.5
apps/mcp/package.json Updated @outfitter/contracts, @outfitter/logging, and @outfitter/mcp to latest versions (0.4.1, 0.4.1, 0.4.2 respectively)
packages/cli/src/utils/clack-prompts.ts New adapter wrapping @clack/prompts with Result-based API to replace removed @outfitter/cli/prompt subpath (dropped in 0.5.2)
packages/cli/src/commands/init.ts Updated import to use new clack-prompts.ts adapter instead of @outfitter/cli/prompt
packages/cli/src/commands/modify.ts Updated imports to use new clack-prompts.ts adapter instead of @outfitter/cli/prompt

Last reviewed commit: 9ec853c

@galligan galligan marked this pull request as ready for review February 22, 2026 04:06

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9ec853c41c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -0,0 +1,262 @@
# Compliance Report: packages/ and apps/

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add required tldr waymark at top of new Markdown note

Repository documentation standards in AGENTS.md require every Markdown file to start with a <!-- tldr ::: ... --> waymark, but this new note starts directly with an H1. That breaks the repo’s documented grep/discovery convention and makes agent/document tooling less reliable for this file.

Useful? React with 👍 / 👎.

Comment thread upgrade-outfitter.md
@@ -0,0 +1,54 @@
# Outfitter Stack Upgrade

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add required tldr waymark at top of upgrade document

Per the Documentation Standards in AGENTS.md, all Markdown files must begin with a <!-- tldr ::: ... --> marker, but this file starts with a heading instead. This violates a documented repository convention used for scanability and automated waymark discovery.

Useful? React with 👍 / 👎.

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