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] Add monorepo update script #3091

Merged
merged 6 commits into from
Jan 17, 2024
Merged

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Jan 17, 2024

Fetch the latest commit from master, then update the monorepo dependency with it.

@Janpot Janpot added the core Infrastructure work going on behind the scenes label Jan 17, 2024
@Janpot
Copy link
Member Author

Janpot commented Jan 17, 2024

@mui/code-infra We can potentially build on top of updateToLatest to build a script that creates canary PRs. e.g.:

updateToLatest('@mui/monorepo', `Janpot/material-ui`, 'my-risky-code-infra-pr')

@Janpot Janpot requested a review from a team January 17, 2024 13:21
@Janpot Janpot mentioned this pull request Jan 17, 2024
@Janpot Janpot changed the title Monorepo updated [code-infra] Monorepo update script Jan 17, 2024
@Janpot Janpot changed the title [code-infra] Monorepo update script [code-infra] Add monorepo update script Jan 17, 2024
package.json Outdated
Comment on lines 36 to 37
"updateMonorepo": "tsx ./scripts/updateMonorepo.ts",
"check-changes": "git add -A && git diff --exit-code --staged",
Copy link

Choose a reason for hiding this comment

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

We don't seem to have settled on one naming convention for commands.

Copy link
Member Author

Choose a reason for hiding this comment

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

oops, now we do 🙂 thanks

@Janpot Janpot merged commit 7bcc102 into mui:master Jan 17, 2024
11 checks passed
@Janpot Janpot deleted the monorepo-updated branch January 17, 2024 14:11
apedroferreira pushed a commit to apedroferreira/mui-toolpad that referenced this pull request Jan 18, 2024
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.

2 participants