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

[code-infra] Fix build:types script omitting folders with a dot in their name #45422

Merged
merged 5 commits into from
Feb 26, 2025

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Feb 26, 2025

Uncovered when someone tried to publish from a project folder named material-ui.git
This function was copied from the base ui codebase. Checking for non-existence of a dot is a poor way of detecting folders. We can't build this without actually checking whether src is a folder.

@Janpot Janpot added the scope: code-infra Specific to the core-infra product label Feb 26, 2025
@mui-bot
Copy link

mui-bot commented Feb 26, 2025

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 5efa153

@mj12albert
Copy link
Member

👋
index.d.ts is in the root build folder now
$ /Users/someone/dev/material-ui.git/packages/mui-styled-engine/build/index.d.ts

@Janpot Janpot enabled auto-merge (squash) February 26, 2025 16:10
@Janpot Janpot merged commit 48105b7 into mui:master Feb 26, 2025
19 checks passed
@Janpot Janpot deleted the fix-build-types branch February 26, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: code-infra Specific to the core-infra product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants