build(all): updated

This commit is contained in:
Sébastien Dubois 2026-01-30 13:07:22 +01:00
parent 82538e9177
commit 80a812103a
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env npx tsx
#!/usr/bin/env bun
/**
* Calculates the next semantic version based on conventional commits since the last tag.
*
@ -7,7 +7,7 @@
* - feat: -> minor bump
* - fix:, docs:, chore:, style:, refactor:, perf:, test:, build:, ci: -> patch bump
*
* Usage: npx tsx scripts/calculate-next-version.ts
* Usage: bun scripts/calculate-next-version.ts
* Output: Prints the suggested next version to stdout
*/

View file

@ -71,7 +71,7 @@ fi
# Calculate suggested next version based on conventional commits
print_step "Analyzing commits to determine next version..."
SUGGESTED_VERSION=$(npx tsx scripts/calculate-next-version.ts 2>/dev/null)
SUGGESTED_VERSION=$(bun scripts/calculate-next-version.ts 2>/dev/null)
if [ -z "$SUGGESTED_VERSION" ]; then
print_warning "Could not determine suggested version from commits"
@ -81,7 +81,7 @@ fi
# Show commit analysis
echo ""
print_info "Version analysis:"
npx tsx scripts/calculate-next-version.ts --verbose 2>/dev/null | while IFS= read -r line; do
bun scripts/calculate-next-version.ts --verbose 2>/dev/null | while IFS= read -r line; do
echo " $line"
done