Skip to content

One stale app blocks a frontend-base major #308

Closed

Description

@arbrandes

Description

Apps declare frontend-base as a peer dependency with a caret range, and a site composes many of them against a single deduped copy. Since npm 7 an unsatisfiable peer range is a hard ERESOLVE failure rather than a warning, so a new frontend-base major breaks npm install for every site containing an app that has not yet been republished.

frontend-app-aspects is a live example: it still declares "@openedx/frontend-base": "^1.0.0-alpha || 0.0.0-dev", so no site that includes it can install against frontend-base 2.x until that app is republished, whether or not it uses anything 2.0 changed.

The coupling is tighter than the compatibility it describes. One version number covers the CLI, the webpack configuration, the shell runtime, and the API apps import, so a break in any of them invalidates every app's range whether or not that app touches what broke. Semver cannot express "major for sites, minor for apps", and npm's refusal to install rather than warn is a tooling decision, not a property of semver.

#307 proposes a decision.

Activity

  1. moved this to In Progress in frontend-baseon Aug 30, 2026
  2. changed the issue type fromtoon Aug 30, 2026
  3. added this to the Willow Cutoff milestone on Aug 30, 2026
  4. self-assigned this
    on Aug 30, 2026
  5. removed theissue type on Aug 30, 2026
  6. removed this from the Willow Cutoff milestone on Aug 30, 2026
  7. arbrandes commented on Aug 30, 2026

    @arbrandes
    ContributorAuthor

    Decided this is a non-issue. The lockstep upgrades are an explicit goal of OEP-65, for consistency.

    Adventurous app authors can loosen dependency ranges if they want (frontend-base >= 1.0) and site operators can override: dependencies.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions