Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SidebarPersister specifier to Starlight package #2605

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

brianzelip
Copy link
Contributor

Description

This PR specifies the SidebarPersister.astro component, used in Sidebar.astro, in the Starlight package's package.json exports property.

This change fixes the error Missing "./components/SidebarPersister.astro" specifier in "@astrojs/starlight" package that I got when trying to manually override Starlight's sidebar instead of using import Default from '@astrojs/starlight/components/Sidebar.astro'. Thanks to @TheOtterlord and @delucis for helping solve my issue in Discord 🙌

Fixes the error 'Missing "./components/SidebarPersister.astro" specifier in "@astrojs/starlight" package'
Copy link

changeset-bot bot commented Nov 14, 2024

🦋 Changeset detected

Latest commit: 57ee94f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@astrojs/starlight Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the 🌟 core Changes to Starlight’s main package label Nov 14, 2024
Copy link

netlify bot commented Nov 14, 2024

Deploy Preview for astro-starlight ready!

Name Link
🔨 Latest commit 57ee94f
🔍 Latest deploy log https://app.netlify.com/sites/astro-starlight/deploys/673c6027a6094200080edebe
😎 Deploy Preview https://deploy-preview-2605--astro-starlight.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @brianzelip! 🙌

@delucis delucis added the 🌟 patch Change that triggers a patch release label Nov 19, 2024
@delucis delucis merged commit ec7ab4f into withastro:main Nov 19, 2024
15 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Nov 19, 2024
HiDeoo added a commit to HiDeoo/starlight that referenced this pull request Nov 19, 2024
* main:
  [ci] release (withastro#2615)
  [ci] format
  feat: add Backstage social icon (withastro#2600)
  Add SidebarPersister specifier to Starlight package (withastro#2605)
  Fix i18n type issue with multiple data content collections (withastro#2611)
  Fix sidebar issue in custom pages with custom sidebar (withastro#2614)
  Fix `sidebar` frontmatter use in internal links (withastro#2613)
  Add `grid-template-columns` to`<CardGrid>` (withastro#2606)
  i18n(zh-cn): Update `site-search.mdx` (withastro#2604)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌟 core Changes to Starlight’s main package 🌟 patch Change that triggers a patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants