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

[docs-infra] Consider files ending with .types.ts as props files #37533

Merged
merged 19 commits into from
Aug 7, 2023

Conversation

mnajdova
Copy link
Member

@mnajdova mnajdova commented Jun 7, 2023

First reported in #37520. We have currently two conventions for writing types files, .types.ts and Props.ts. This unlocks us for using .types.ts files in @mui/material-next. I noticed that this generated some changes in the Base UI components too, but I would say they are expected. @siriwatknp should we use the same convention in Joy UI too?

@mui-bot
Copy link

mui-bot commented Jun 7, 2023

Netlify deploy preview

https://deploy-preview-37533--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against eab8820

@mnajdova mnajdova marked this pull request as ready for review June 21, 2023 09:00
@zannager zannager added the scope: docs-infra Specific to the docs-infra product label Jun 21, 2023
@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 Jul 10, 2023
@oliviertassinari
Copy link
Member

So, standardizing on .types.ts?

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jul 20, 2023
@mnajdova
Copy link
Member Author

So, standardizing on .types.ts?

I would say yes. We will need to update the Joy UI's file names. cc @siriwatknp After this is done we can update the script again to consider only .types.ts files.

Signed-off-by: Marija Najdova <mnajdova@gmail.com>
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jul 21, 2023
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jul 25, 2023
mnajdova and others added 2 commits July 27, 2023 15:53
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Signed-off-by: Marija Najdova <mnajdova@gmail.com>
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jul 28, 2023
@mnajdova mnajdova merged commit b0abb28 into mui:master Aug 7, 2023
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: docs-infra Specific to the docs-infra product typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants