fix(deps): override starlight-llms-txt astro peer for Astro 7 (unblock Pages deploy)#13
Merged
Merged
Conversation
The catalog site is on astro@7.0.4 but starlight-llms-txt@0.10.0 only peers astro@^6, so npm ci ERESOLVEs and the Pages deploy build fails. Add the same overrides.starlight-llms-txt.astro = $astro pin the MIF and research-harness- template sites use, so the resolver accepts the installed Astro 7.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR unblocks GitHub Pages deploys for the catalog site by resolving an npm peer-dependency conflict between Astro 7 and starlight-llms-txt@0.10.0 (which declares a peer range of astro@^6).
Changes:
- Add an npm
overridesentry to forcestarlight-llms-txtto use the rootastroversion via"astro": "$astro". - Keep the existing
esbuildoverride intact while extending the overrides map.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The catalog site runs astro@7.0.4, but
starlight-llms-txt@0.10.0declarespeer astro@^6, sonpm cifails ERESOLVE and the Pages deploy build errors (run on #12's merge). Addsoverrides.starlight-llms-txt.astro = "$astro"(the same pattern the MIF and research-harness-template sites use) and regenerates the lock.npm ciresolves andnpm run buildis green (7 pages).