Files
open-gsio/packages/scripts/cleanup.sh
geoffsee 0ff8b5c03e * Introduced BevyScene React component in landing-component for rendering a 3D cockpit visualization.
* Included WebAssembly asset `yachtpit.js` for cockpit functionality.
* Added Bevy MIT license file.
* Implemented a service worker to cache assets locally instead of fetching them remotely.
* Added collapsible functionality to **Tweakbox** and included the `@chakra-ui/icons` dependency.
* Applied the `hidden` prop to the Tweakbox Heading for better accessibility.
* Refactored **Particles** component for improved performance, clarity, and maintainability.

  * Introduced helper functions for particle creation and count management.
  * Added responsive resizing with particle repositioning.
  * Optimized animation updates, including velocity adjustments for speed changes.
  * Ensured canvas size and particle state are cleanly managed on component unmount.
2025-07-17 13:47:50 -04:00

32 lines
881 B
Bash
Executable File

#!/usr/bin/env bash
# Clean up build artifacts and temporary directories
echo "Cleaning up build artifacts and temporary directories..."
# Remove persisted data
find . -name ".open-gsio" -type d -prune -exec rm -rf {} \;
# Remove node_modules directories
find . -name "node_modules" -type d -prune -exec rm -rf {} \;
# Remove .wrangler directories
find . -name ".wrangler" -type d -prune -exec rm -rf {} \;
# Remove build directories
find . -name "dist" -type d -prune -exec rm -rf {} \;
#-----
# crates/yachtpit uses a directory called build for staging assets so it can't be removed
#find . -name "build" -type d -prune -exec rm -rf {} \;
#-----
find . -name "fonts" -type d -prune -exec rm -rf {} \;
# Remove coverage directories
find . -name "coverage" -type d -prune -exec rm -rf {} \;
find . -name "html" -type d -prune -exec rm -rf {} \;
echo "Cleanup complete!"