The repository size is 110 MB, which is normal for a Bazel rules repository with commit history. No large binary files or unnecessary files were committed.
- Total: ~1-2 MB
- Largest Files: 16-24 KB (normal documentation and BUILD files)
- File Count: ~122 tracked files
- Total: 110 MB
- Contents: Git history, objects, and metadata
- Normal: Yes, this is typical for repositories with multiple commits
# Largest files in working directory
find . -name ".git" -prune -o -type f -print | xargs du -sh 2>/dev/null | sort -rh | head-5Results:
- 24K
./MODULE.bazel.lock- Normal Bazel lock file - 16K
./WASM_COMPONENT_MODEL.md- Documentation - 16K
./WASM_COMPONENT_DELEGATION.md- Documentation - 16K
./moonbit/private/ffi_utils.bzl- Starlark code - 16K
./ISSUE_TEMPLATE_wasm_component.md- Documentation
Verified:
git log --pretty=format: --name-only | grep -E "\.(tar\.gz|zip|tgz)$"Result: No large binary files found in git history ✅
Verified:
git check-ignore bazel-bin bazel-out bazel-rules_moonbit bazel-testlogsResult: All build artifacts properly ignored ✅
| Repository | Size | Notes |
|---|---|---|
| rules_moonbit | 110 MB | Normal for Bazel rules with history |
| rules_rust | ~150-200 MB | Similar size range |
| rules_wasm_component | ~100-150 MB | Similar size range |
| rules_go | ~120-180 MB | Similar size range |
Conclusion: rules_moonbit size is normal and expected for a Bazel rules repository.
git gc --aggressivePotential Savings: ~10-20 MB (not critical)
git clone --depth 1 https://github.com/pulseengine/rules_moonbit.gitSize: ~1-2 MB (only latest commit)
- ✅ No large binaries committed
- ✅ Build artifacts ignored
- ✅ Clean repository structure
The 110 MB size is:
- Expected for a Bazel rules repository with history
- Comparable to similar repositories (rules_rust, rules_wasm_component)
- Not bloated with unnecessary files
- Properly managed with .gitignore
- ❌ No large binary files committed
- ❌ No build artifacts in git
- ❌ No unnecessary files
- ✅ Clean repository structure
- ✅ Proper .gitignore configuration
The repository size is normal and expected. No cleanup or optimization required at this time.
Repository Size Analysis: Normal and Expected! 🎉