[code-infra] Generalize and publish proptypes generator
- Created the new
@mui-internal/proptypes-builderpackage. It was extracted from the existing proptypes generation script and cleaned up to be more self-contained and configurable. - Moved TS project related types and functions to
@mui-internal/docs-utilitiesso they can be shared between packages.
This PR is built on top of https://github.com/mui/material-ui/pull/40842 and should be merged after it.
Netlify deploy preview
https://deploy-preview-40757--material-ui.netlify.app/
Bundle size report
Bundle size will be reported once CircleCI build #644182 finishes.
Generated by :no_entry_sign: dangerJS against fefcf518f5d85f856bbc7dd996acd362205654df
Is there an impact on X?
Yes, I'm working on a PR in X.
X integration PR: https://github.com/mui/mui-x/pull/11801
This is getting too big for a single PR. I'm going to split it into smaller ones.
Here are the extracted bits: https://github.com/mui/material-ui/pull/40842
@michaldudak I'm going through older PRs. Are there any plans to continue this one, or should we close it?
I don't think so. I hope to get rid of proptypes at some point. Base UI doesn't have them and we haven't heard a single complaint.