Open
Description
A continuation of #35036 (comment)
Summary: some of our infrastructure scripts assume they are being run in the mui/material-ui repo. This makes it impossible to run them in the MUI X or Toolpad repos. Scripts should have the workspace root configurable.
Additionally, one way of making the scripts less coupled to Material UI would be to extract them into their own repository. All projects could then import them as a package (either from npm or using git).