nushell-plugins/justfile
Jesús Pérez 5949bfade6 feat: major repository modernization and tracking cleanup
## Summary

Comprehensive repository cleanup focusing on plugin dependency management, documentation improvements, and git tracking optimization.

## Key Changes

### 🔧 Core Infrastructure
- Synchronized all nu-* dependencies across plugins for version consistency
- Enhanced upstream tracking and automation systems
- Removed nushell directory from git tracking for cleaner repository management

### 📚 Documentation
- Significantly expanded README.md with comprehensive development guides
- Added detailed workflow documentation and command references
- Improved plugin collection overview and usage examples

### 🧹 Repository Cleanup
- Removed legacy bash scripts (build-all.sh, collect-install.sh, make_plugin.sh)
- Streamlined automation through unified justfile and nushell script approach
- Updated .gitignore with nushell directory and archive patterns
- Removed nushell directory from git tracking to prevent unwanted changes

### 🔌 Plugin Updates
- **nu_plugin_image**: Major refactoring with modular architecture improvements
- **nu_plugin_hashes**: Enhanced functionality and build system improvements
- **nu_plugin_highlight**: Updated for new plugin API compatibility
- **nu_plugin_clipboard**: Dependency synchronization
- **nu_plugin_desktop_notifications**: Version alignment
- **nu_plugin_port_extension & nu_plugin_qr_maker**: Consistency updates
- **nu_plugin_kcl & nu_plugin_tera**: Submodule synchronization

### 🏗️ Git Tracking Optimization
- Removed nushell directory from version control for cleaner repository management
- Added comprehensive .gitignore patterns for build artifacts and archives

## Statistics
- 2,082 files changed
- 2,373 insertions, 339,936 deletions
- Net reduction of 337,563 lines (primarily from removing nushell directory tracking)

## Benefits
- Complete version consistency across all plugins
- Cleaner repository with optimized git tracking
- Improved developer experience with streamlined workflows
- Enhanced documentation and automation
- Reduced repository size and complexity

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 19:02:28 +01:00

100 lines
2.5 KiB
Makefile

# Nushell Plugins Development Justfile
# Modular task runner with organized command categories
# Set shell to bash for compatibility
set shell := ["bash", "-c"]
# Import all module justfiles
import 'justfiles/alias.just'
import 'justfiles/help.just'
import 'justfiles/build.just'
import 'justfiles/distro.just'
import 'justfiles/upstream.just'
import 'justfiles/qa.just'
import 'justfiles/tools.just'
# Default recipe - show modular help
[no-cd]
default:
@just help
# 📊 CORE STATUS COMMANDS (Most frequently used)
# Show plugin status dashboard
[no-cd]
status:
@echo "📊 Plugin Status Dashboard"
@{{justfile_directory()}}/scripts/run.sh plugin_status.nu
# Show detailed status for all plugins
[no-cd]
status-all:
@echo "📊 All Plugins Status"
@{{justfile_directory()}}/scripts/run.sh plugin_status.nu --all
# Show plugins requiring attention
[no-cd]
status-attention:
@echo "🚨 Plugins Requiring Attention"
@{{justfile_directory()}}/scripts/run.sh plugin_status.nu attention
# Update plugin status manually
[no-cd]
status-update PLUGIN STATUS:
@echo "🔄 Updating {{PLUGIN}} status to {{STATUS}}..."
@{{justfile_directory()}}/scripts/run.sh plugin_status.nu update {{PLUGIN}} {{STATUS}}
# 🎯 MULTI-MODULE WORKFLOW COMMANDS
# These workflows combine commands from multiple modules
# Complete development workflow: validate → upstream check → build → test → status
[no-cd]
dev-flow:
@echo "🎯 Running complete development workflow..."
@just validate-nushell
@just upstream-check
@just build
@just test
@just status
# Complete release workflow: validate → build → collect → package
[no-cd]
release-flow:
@echo "🚀 Running complete release workflow..."
@just validate-nushell
@just build
@just collect
@just pack
# Cross-platform development workflow
[no-cd]
dev-flow-cross:
@echo "🌍 Running cross-platform development workflow..."
@just validate-nushell
@just upstream-check
@just build-cross-all
@just status
# CI simulation workflow (what GitHub Actions will run)
[no-cd]
ci-flow:
@echo "🤖 Simulating CI workflow..."
@just validate-nushell
@just fmt-check
@just lint
@just build-cross-all
@just test
@just collect-all
@just pack-checksums
# Update workflow: update nushell → fix version → update versions → check upstream
[no-cd]
update-flow:
@echo "🔄 Running update workflow..."
@just update-nushell
@just fix-nushell
@just update-nu-versions
@just upstream-check