Skip to content

Restore npm publishing and decide v2/v3 consumer path #3

Description

@flyingrobots

Problem

v3.0.4 was merged and tagged from main, but the tag publish workflow failed at npm publish with npm E404 Not Found / permission denial for @git-stunts/trailer-codec@3.0.4. npm still reports latest as 2.1.1; GitHub Release v3.0.4 was not created because publish failed.

Evidence:

Why this matters

git-warp currently depends on @git-stunts/trailer-codec@^2.1.1, uses the synchronous v2 facade, and imports TrailerCodecFacade from the package declarations supplied by a local patch. The v3 mainline is async and is not a drop-in replacement for that consumer.

Required decision

Choose and execute one path:

  1. Configure npm trusted publishing / token access for this repo, then publish the tagged v3 line and plan a git-warp async migration separately.
  2. Cut a v2-compatible 2.1.2 backport that only adds TypeScript declarations for the existing sync API, then publish it so git-warp can remove its local patch without an async migration.

Do not remove git-warp's trailer-codec patch until one of those paths produces a consumable package version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions