@blast-shield/build-utils
v0.0.30
Published
Build utilities for Blast Shield packages - zero dependencies
Downloads
249
Readme
🔧 Blast Shield Build Utils
Zero-dependency build utilities for Blast Shield packages.
Purpose
This package provides shared build-time utilities with no runtime dependencies to avoid circular dependency issues in the monorepo.
Utilities
checkBundleSize(filePath: string)
Validates that a built file doesn't exceed the size limit specified in package.json:
{
"metadata": {
"bundleSizeLimit": 5
}
}getOutputExtension({ format: string })
Returns the appropriate file extension for the build format (e.g., .esm.js).
Architecture
This package sits at the bottom of the dependency tree:
build-utils (no deps) ← logger ← tooling-config ← core ← cliBy having zero dependencies, it can be safely imported by any other package without creating circular dependencies.
Development
pnpm build # Build the package
pnpm test # Run tests
pnpm lint # Run Biome linter