refactor(justfile): reorganize by component for better discoverability#13941
refactor(justfile): reorganize by component for better discoverability#13941
Conversation
Reorganize justfile from functional groupings to component-based sections, making it easier for developers to find commands related to specific Oxc components (parser, linter, transformer, minifier, etc.). ## Key Changes ### Structure - **Aliases**: Quick reference at the top - **Setup & Initialization**: Project setup commands - **Core Development**: Daily-use commands (ready, check, test, fmt, fix, doc) - **Development Tools**: Frequently used tools (watch, example, benchmark) - **Testing & Conformance**: Cross-component testing - **AST & Codegen**: Foundational components - **Component Sections**: Parser, Linter, Formatter, Transformer, Minifier, Playground - **Utilities & Advanced**: Specialized tools - **Platform Helpers**: OS-specific utilities ### Improvements - **Component-focused navigation**: Easy to find commands for specific components - **Priority-based ordering**: Most used commands first, specialized tools later - **Future-ready**: Empty sections for Parser and Formatter ready for expansion - **Zero breaking changes**: All commands and aliases preserved - **Better developer experience**: Intuitive organization matching Oxc's architecture ### Rule Generation - Consolidated 15 individual `new-*-rule` commands into a single parameterized `new-rule` command - Maintained all legacy aliases for backward compatibility - Moved rule generation to Linter section for better organization ## Benefits - Developers working on specific components can quickly find relevant commands - Maintains easy access to frequently used development commands - Clear separation between daily-use tools and specialized component commands - Better matches Oxc's architectural organization 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
There was a problem hiding this comment.
Pull Request Overview
This PR reorganizes the justfile from functional groupings to component-based sections, improving discoverability and making it easier for developers to find commands related to specific Oxc components. The changes consolidate rule generation commands while maintaining backward compatibility.
Key changes:
- Restructured justfile into component-based sections with emoji headers for better navigation
- Consolidated 15 individual
new-*-rulecommands into a single parameterizednew-rulecommand - Maintained all legacy aliases for backward compatibility
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Summary
Reorganize justfile from functional groupings to component-based sections, making it easier for developers to find commands related to specific Oxc components (parser, linter, transformer, minifier, etc.).
Key Changes
New Structure
Rule Generation Improvements
new-*-rulecommands into a single parameterizednew-rulecommandBenefits
Test plan
just --list,just check,just new-ts-rule)r,c,f)🤖 Generated with Claude Code