-
Notifications
You must be signed in to change notification settings - Fork 543
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
feat(react): remove deprecated components from main entrypoint #4992
Conversation
🦋 Changeset detectedLatest commit: 9060a98 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
size-limit report 📦
|
…rimer/react into feat/remove-deprecated-from-deprecated
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.
Changes look good 👍🏻
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.
I see you tested it with dotcom, that's the main thing here :)
…cated-from-deprecated
👋 Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/344709 |
Closes https://github.com/github/primer/issues/4012
Closes https://github.com/github/primer/issues/4013
Closes https://github.com/github/primer/issues/4014
Closes https://github.com/github/primer/issues/4015
With https://github.com/github/github/pull/343108 merged, and the lint rule enabled, we can now remove deprecated components from the main entrypoint.
Changelog
New
Changed
Removed
Rollout strategy
We have created a rule to forbid importing these components from
@primer/react
and have migrated them to@primer/react/deprecated
upstream and enabled that rule. Removing these exports should have no effect as a result as all instances of imports have been removed.