-
Notifications
You must be signed in to change notification settings - Fork 54
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
Import NavList
from main bundle
#604
Conversation
We are removing `NavList` from the drafts bundle in the next major release in this [PR](https://github.com/primer/react/pulls/3260) and because we are removing it, CI fails on the PR. (https://github.com/primer/react/actions/runs/5582895864/jobs/10202654279?pr=3260) I update the import path to become the main bundle.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seeing this error from CI:
warning "export 'NavList' was not found in '@primer/react'
Does the dependency need to be updated here: https://github.com/primer/doctocat/blob/main/theme/package.json#L37 potentially to the version which includes it? Or is there some other shenanigans going on here with Gatsby 😅
@broccolinisoup - it looks like Doctocat is on a really old version of |
@mperrotti @joshblack Sorry, this is my ignorance 😬 I didn't even think of checking back - I just assumed that will work. Let me try upgrading primer/react - I know @josepmartins had some issues with upgrading to the latest so it might not be very straightforward |
I've tried on this PR #601 to use the latest Underlinenav component, but I finally gave up and used the deprecated one. Couldn't build locally or pass the build actions :( |
@josepmartins - the deprecated one is going away when we release v36 later this quarter 🙁 Let me know if you want to pair on the upgrade. I suspect it has something to do with mismatched versions of React. |
Should we add a "blocked" label to this? We're blocked until we can upgrade Gatsby and React. |
@mperrotti That sounds good to me! I added the label! Although this PR is blocked itself but it is not blocking v36 PR I mentioned in the description anymore - we will keep the NavList in the draft bundle until we figure this out. |
Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days. |
Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days. |
Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days. |
We are removing
NavList
from the drafts bundle in the next major release in this PR and because we are removing it, CI fails on the PR. (https://github.com/primer/react/actions/runs/5582895864/jobs/10202654279?pr=3260)I update the path to import it from the main bundle.