Skip to content

plugin-i18next: latest release does not accept @wolfstar/http-framework v5 as a peer #115

Closed

Description

@RedStar071

Description

@wolfstar/[email protected] is the current latest, but @wolfstar/[email protected] (latest) still declares:

"peerDependencies": { "@wolfstar/http-framework": "^3.1.0" }

Only the snapshot 2.0.5-next-20260926114051 widens it to ^3.1.0 || ^5.0.0. As a result every v5 project, @wolfstar/shared-http-pieces included, installs the plugin with an unmet peer (pnpm peers check: ✕ unmet peer @wolfstar/http-framework — Installed: 5.1.0, Wanted: ^3.1.0). With strict-peer-dependencies enabled, the install fails.

@wolfstar/[email protected] already declares ^3.4.0 || ^5.0.0.

Expected behaviour

A stable plugin-i18next release whose peer range includes ^5.0.0. That means publishing the pending change behind 2.0.5-next.

Activity

  1. pullfrog commented on Sep 26, 2026

    @pullfrog
    Contributor

    Analysis

    packages/plugin-i18next/package.json on main already declares:

    "peerDependencies": {
      "@wolfstar/http-framework": "^3.1.0 || ^5.0.0"
    }

    (packages/plugin-i18next/package.json:72). No source change is needed — the widening the issue asks for is already merged.

    The problem is purely a release gap. Confirmed via npm view @wolfstar/plugin-i18next peerDependencies:

    • latest (2.0.4) → still ^3.1.0 (old, breaks under strict-peer-dependencies with http-framework v5)
    • 2.0.5-next-20260926114051 → ^3.1.0 || ^5.0.0 (the fix, but only published as an unpublished-to-latest @next snapshot)

    This repo releases via changesets/action (.github/workflows/release.yml): a stable version bump/publish only happens when a changeset file (.changeset/*.md) lands on main, which opens/updates a "chore: update changelog and release" PR; merging that PR is what actually runs changeset publish to npm latest. There is currently no changeset covering this peer-range widening in .changeset/, so the fix is stuck on main — never versioned, never published.

    Side-finding (same root cause, not requested by this issue)

    The identical gap affects three other packages — peer already widened in source, but npm latest is stale:

    Package npm latest peer source (main) peer
    @wolfstar/plugin-api ^3.0.0 ^3.0.0 || ^5.0.0
    @wolfstar/plugin-logger ^3.4.0 ^3.4.0 || ^5.0.0
    @wolfstar/plugin-subcommands-advanced ^3.1.0 ^3.1.0 || ^5.0.0

    Only @wolfstar/plugin-gateway is correctly published with v5 support. Flagging this for awareness — the plan below stays scoped to plugin-i18next per the issue, but the same one-line changeset fix would apply to the other three if the maintainer wants to bundle it into one release wave.

    Plan

    1. Branch pullfrog/115-plugin-i18next-http-framework-v5-peer off main.
    2. Add .changeset/plugin-i18next-http-framework-v5-peer.md:
      ---
      "@wolfstar/plugin-i18next": patch
      ---
      
      Widen the `@wolfstar/http-framework` peer range to `^3.1.0 || ^5.0.0` so the plugin installs cleanly under http-framework v5 (#115).
      
      No package.json/CHANGELOG.md hand-edits — per .changeset/README.md's version policy, the release PR owns version bumps.
    3. Open a PR against main referencing plugin-i18next: latest release does not accept @wolfstar/http-framework v5 as a peer #115, noting that merging it only queues the release: changesets/action will then open/update a "chore: update changelog and release" PR bumping plugin-i18next to 2.0.5, and merging that PR is what publishes to npm latest.
    4. No build/typecheck/test changes required — peerDependencies is metadata only and isn't exercised by the test suite; the only new file is the changeset markdown.
    5. Optional follow-up (separate from this issue): raise a linked issue or fold in similar changesets for plugin-api, plugin-logger, and plugin-subcommands-advanced so all four packages catch up on npm latest in the same release wave.

    This is a small, low-risk, metadata-only change — ready to implement on confirmation.

    Pullfrog  | Implement plan ➔ | View workflow run | via Pullfrog | Using Claude Sonnet | 𝕏

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions