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

[core] Remove legacy dependencies and settings #332

Merged
merged 9 commits into from
Apr 25, 2024

Conversation

michaldudak
Copy link
Member

@michaldudak michaldudak commented Apr 19, 2024

Removed legacy Babel plugins (for supporting older browsers) and some unused npm scripts.
Also set TS target to ES2020 to be more in line with the browser targets we aim to support.

@michaldudak michaldudak added the core Infrastructure work going on behind the scenes label Apr 19, 2024
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Apr 22, 2024
@github-actions github-actions bot added PR: out-of-date The pull request has merge conflicts and can't be merged and removed PR: out-of-date The pull request has merge conflicts and can't be merged labels Apr 22, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Apr 22, 2024
package.json Outdated Show resolved Hide resolved
Comment on lines +80 to +85
// With our case these assumptions are safe, and the
// resulting behavior is equivalent to spec mode.
setPublicClassFields: true,
privateFieldsAsProperties: true,
objectRestNoSymbols: true,
setSpreadProperties: true,
Copy link
Member Author

Choose a reason for hiding this comment

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

These are taken from mui/material-ui#37461

I'm not sure if we actually need all of them as the browsers we target support spreading and private fields natively. But including these does no harm.

@michaldudak michaldudak marked this pull request as ready for review April 22, 2024 14:36
@michaldudak michaldudak changed the title [core] Remove legacy packages and settings [core] Remove legacy dependencies and settings Apr 23, 2024
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Apr 23, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Apr 24, 2024
@michaldudak michaldudak merged commit cb826e0 into mui:master Apr 25, 2024
16 checks passed
@michaldudak michaldudak deleted the remove-unnecessary-packages branch April 25, 2024 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants