Skip to content

[internal] Add clean yarn script#28319

Closed
michaldudak wants to merge 1 commit intomui:masterfrom
michaldudak:clean-script
Closed

[internal] Add clean yarn script#28319
michaldudak wants to merge 1 commit intomui:masterfrom
michaldudak:clean-script

Conversation

@michaldudak
Copy link
Member

This PR adds a clean yarn script to the root package.json.

Quite often when building projects I encountered a Typescript error stating that some modules were built using different sources. Cleaning the remains of previous builds solves the problem.

@michaldudak michaldudak added the internal Behind-the-scenes enhancement. Formerly called “core”. label Sep 13, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Sep 13, 2021

No bundle size changes (experimental)

Generated by 🚫 dangerJS against 055f168

@eps1lon eps1lon changed the base branch from next to master September 14, 2021 08:42
@eps1lon
Copy link
Member

eps1lon commented Sep 14, 2021

Quite often when building projects I encountered a Typescript error stating that some modules were built using different sources. Cleaning the remains of previous builds solves the problem.

We should address this first. Please describe this issue as you would any other issue. That is the bigger problem here.

Adding scripts to the workspace root has a cost. It requires teaching and adds another choice. There needs to be a stronger argument for a shortcut of yarn lerna run prebuild.

@michaldudak
Copy link
Member Author

All right, I'll create an issue for this.

@michaldudak michaldudak deleted the clean-script branch October 7, 2021 12:39
@oliviertassinari oliviertassinari changed the title [core] Add clean yarn script [internal] Add clean yarn script Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Behind-the-scenes enhancement. Formerly called “core”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants