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

refactor: remove stub folders for TypeScript resolution #4784

Merged
merged 10 commits into from
Sep 25, 2024

Conversation

joshblack
Copy link
Member

Closes https://github.com/github/primer/issues/3665

Changelog

New

Changed

Removed

  • The codemods folder has been removed as it is no longer needed. If we would like to use this in the future, we can revisit where we would like this to live 👀
  • The stub folders for TypeScript resolution have been removed

Rollout strategy

  • Major release; if selected, include a written rollout or migration plan

I believe the removal of the stub folders will trigger any consumer using Primer React and the node moduleResolution option may end up seeing an issue when importing from sub-paths. As a result, they should update their moduleResolution option to node16 or higher

Copy link

changeset-bot bot commented Jul 26, 2024

🦋 Changeset detected

Latest commit: bf5b3c4

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

This PR includes changesets to release 1 package
Name Type
@primer/react Major

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

@joshblack joshblack changed the title Refactor/remove codemods sub folders refactor: remove stub folders for TypeScript resolution Jul 26, 2024
@github-actions github-actions bot added the staff Author is a staff member label Jul 26, 2024
Copy link
Contributor

github-actions bot commented Jul 26, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 98.14 KB (0%)
packages/react/dist/browser.umd.js 98.63 KB (0%)

@joshblack joshblack marked this pull request as ready for review August 7, 2024 16:04
@joshblack joshblack requested a review from a team as a code owner August 7, 2024 16:04
@github-actions github-actions bot temporarily deployed to storybook-preview-4784 August 7, 2024 16:08 Inactive
Copy link
Member

@siddharthkp siddharthkp left a comment

Choose a reason for hiding this comment

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

Very nice, very clean!

@primer-integration
Copy link

👋 Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/343976

@joshblack joshblack added this pull request to the merge queue Sep 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 25, 2024
@joshblack joshblack added this pull request to the merge queue Sep 25, 2024
Merged via the queue into main with commit b518005 Sep 25, 2024
32 checks passed
@joshblack joshblack deleted the refactor/remove-codemods-sub-folders branch September 25, 2024 21:44
@primer primer bot mentioned this pull request Sep 25, 2024
@primer primer bot mentioned this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
staff Author is a staff member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants