Skip to content

chore: remove npm override for @ascorbic/loader-utils when upstream adds astro 7+ support #26

Description

@JasonCust

Summary

PR #24 added an npm overrides block in package.json to resolve a transitive peer dependency conflict:

"overrides": {
  "@ascorbic/loader-utils": {
    "astro": "$astro"
  }
}

starlight-changelogs@0.5.0 depends on @ascorbic/loader-utils@^1.0.2, which declares peerDependencies: { astro: "^4.14.0 || ^5.0.0-beta.0" } — it does not support astro 6 or 7. The override forces the transitive dependency to use the workspace's own astro version.

Current Status (2026-07-05)

The project migrated from Astro 6 to Astro 7 in PR #205. The override remains necessary:

  • @ascorbic/loader-utils@1.0.2 (latest) still declares peerDependencies: { astro: "^4.14.0 || ^5.0.0-beta.0" }
  • starlight-changelogs@0.5.0 still depends on @ascorbic/loader-utils
  • The $astro override pattern forces it to accept astro 7.0.6 — the build succeeds

Acceptance Criteria

  • When @ascorbic/loader-utils updates its peerDependencies to include astro@7 (or starlight-changelogs drops the dependency), remove the overrides block from package.json
  • Verify npm ci && npm run build still succeeds without the override

How to Check

Periodically run npm info @ascorbic/loader-utils peerDependencies and check if the astro range includes ^7.0.0, or watch for a new release of starlight-changelogs that resolves the conflict.

Activity

  1. self-assigned this
    on May 30, 2026
  2. added
    deferredIntentionally deferred — revisit post-launch
    on Jun 8, 2026
  3. changed the title [-]chore: remove npm override for @ascorbic/loader-utils when upstream adds astro 6 support[/-] [+]chore: remove npm override for @ascorbic/loader-utils when upstream adds astro 7+ support[/+] on Jul 5, 2026
  4. JasonCust commented on Jul 5, 2026

    @JasonCust
    ContributorAuthor

    Checked during the Astro 7 migration (PR #205):

    • @ascorbic/loader-utils@1.0.2 (still the latest) declares peerDependencies: { astro: "^4.14.0 || ^5.0.0-beta.0" } — no change since this issue was opened
    • starlight-changelogs@0.5.0 (still the latest) still depends on @ascorbic/loader-utils — no change
    • The overrides block remains necessary and works correctly with Astro 7.0.6

    Updated the issue title and acceptance criteria from "astro 6" to "astro 7+" to reflect the current state. This remains deferred until upstream acts.

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

Metadata

Metadata

Assignees

Labels

choredeferredIntentionally deferred — revisit post-launch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions