platformplatform / PlatformPlatform

🚀 Pre-alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
226 stars 24 forks source link

Replace rimraf with del-cli #456

Closed tjementum closed 3 months ago

tjementum commented 3 months ago

Summary & Motivation

Replace rimraf with del-cli to remove content of WebApp/dist folders. When building the frontend SPA, it's important to not delete the dist folder but only the content, because of a race condition when starting the .NET API, which may fail when trying to read WebApp/dist/index.html. rimraf seems to work differently on macOS and Windows, whereas del-cli works consistently on both operating systems.

Checklist

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud