0.0.27 • Published 5 months ago
@blast-shield/release v0.0.27
Blast Shield Release Tool
The Blast Shield Release Tool is a dedicated CLI application for managing the release process of the Blast Shield monorepo packages.
Features
- Traditional Release Workflow - Manually increment versions using semantic versioning
- Changesets-based Workflow - Release management using Changesets
- Dry Run Support - Preview release actions without making changes
- Specialized Package Publishing - Handle publishing to npm with proper configuration
Installation
This package is part of the Blast Shield monorepo. To set up the release tool:
# Install dependencies
pnpm install
# Build the release tool
pnpm build:releaseUsage
Traditional Release
The traditional release workflow allows you to manually increment version numbers:
# Run a traditional release (patch by default)
pnpm release:traditional
# Specify a different version bump type
pnpm release traditional --bump minor
# Release a specific package
pnpm release traditional --package core
# Dry run to preview changes
pnpm release:dry-runChangesets Release
The Changesets workflow provides a more structured approach to releases:
# Create a new changeset describing your changes
pnpm release changeset create
# Check status of pending changesets
pnpm release changeset status
# Release using changesets
pnpm release changeset release
# Release with a specific npm tag
pnpm release changeset release --tag betaDebug Mode
For troubleshooting, use the debug flag:
pnpm release --debugConfiguration
The release tool works with the following packages:
blast-shield(CLI)@blast-shield/core@blast-shield/logger@blast-shield/parser@blast-shield/release@blast-shield/tooling-config
Development
# Watch for changes during development
pnpm --filter release watch
# Run the development version
pnpm --filter release devLicense
MIT