diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-23 01:34:55 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-23 01:58:28 +0900 |
| commit | ec3d69446cf07409b9c91de3d2e63856f33b26fd (patch) | |
| tree | 06f6c7eb0633809c8f58ab098adb9899cc57af90 /crates/mozart-core/src/lib.rs | |
| parent | 1ab3d928a2d350ce407205d9ee6ea9569cd38424 (diff) | |
| download | php-mozart-ec3d69446cf07409b9c91de3d2e63856f33b26fd.tar.gz php-mozart-ec3d69446cf07409b9c91de3d2e63856f33b26fd.tar.zst php-mozart-ec3d69446cf07409b9c91de3d2e63856f33b26fd.zip | |
fix(show,outdated): align outdated classification and wildcard handling with Composer
- Extract matches_wildcard to mozart-core for reuse across commands
- Support wildcard patterns in --package and --ignore arguments
- Use ^<installed_version> for semver-safe classification instead of root constraint
- Replace std::process::exit(1) with bail_silent for proper cleanup
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart-core/src/lib.rs')
| -rw-r--r-- | crates/mozart-core/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/mozart-core/src/lib.rs b/crates/mozart-core/src/lib.rs index 510257b..5383d9a 100644 --- a/crates/mozart-core/src/lib.rs +++ b/crates/mozart-core/src/lib.rs @@ -6,5 +6,7 @@ pub mod platform; pub mod suggest; pub mod validation; pub mod version_bumper; +pub mod wildcard; pub use mozart_console_macros::console_format; +pub use wildcard::matches_wildcard; |
