Skip to content

fix: repair local build break after rimraf v4 update #911

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

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

peterdur
Copy link
Contributor

Details

PR #897 updated rimraf from 3.0.2 to 4.0.4. Unfortunately, rimraf v4 dropped support for globs which we were using in yarn clean to delete the dist and test-results folders, so that started erroring out. Since yarn clean is called by yarn prebuild, this broke running local builds. PR and CI builds were not affected. This change removes the use of globs.

Motivation

Get local builds working again.

Pull request checklist

  • PR title respects Conventional Commits (starts with fix:, feat:, etc, and is suitable for user-facing release notes)
  • PR contains no breaking changes, OR description of both PR and final merge commit starts with BREAKING CHANGE:
  • [n/a] (if applicable) Addresses issue: #0000
  • [n/a] Added relevant unit tests for your changes
  • Ran yarn precheckin
  • [n/a] Verified code coverage for the changes made

@peterdur peterdur requested a review from a team as a code owner January 30, 2023 22:56
@peterdur peterdur merged commit 63ac57f into microsoft:main Jan 31, 2023
@ada-cat
Copy link
Collaborator

ada-cat commented Jan 31, 2023

🎉 This PR is included in version 2.9.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants