From ec5f3292ac324789298c3a12972f8f78b688ca24 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 22 Aug 2026 17:53:13 +0900 Subject: feat(cli): tell the user to run `shirabe`, not `composer` Messages that instruct the user to run a command named the Composer binary. Shirabe ships as its own binary, so the hints now name it. File names (composer.json, composer.lock), the "composer" repository type and prose about Composer itself are untouched. The installer and functional integration fixtures live in the Composer submodule and cannot be edited, so their expected output is normalized on load. --- crates/shirabe/tests/command/update_command_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/shirabe/tests/command/update_command_test.rs') diff --git a/crates/shirabe/tests/command/update_command_test.rs b/crates/shirabe/tests/command/update_command_test.rs index 6fe8f927..e4d3cb71 100644 --- a/crates/shirabe/tests/command/update_command_test.rs +++ b/crates/shirabe/tests/command/update_command_test.rs @@ -148,7 +148,7 @@ Your requirements could not be resolved to an installable set of packages. root_dep_and_transitive_dep(), vec![("--with", InputValue::Array(vec!["root/req:^2".to_string()]))], "The temporary constraint \"^2\" for \"root/req\" must be a subset of the constraint in your composer.json (1.*) -Run `composer require root/req` or `composer require root/req:^2` instead to replace the constraint", +Run `shirabe require root/req` or `shirabe require root/req:^2` instead to replace the constraint", false, ), ( @@ -166,7 +166,7 @@ Package operations: 2 installs, 0 updates, 0 removals - Installing root/req (1.0.0) Bumping dependencies Warning: Bumping dependency constraints is not recommended for libraries as it will narrow down your dependencies and may cause problems for your users. -If your package is not a library, you can explicitly specify the \"type\" by using \"composer config type project\". +If your package is not a library, you can explicitly specify the \"type\" by using \"shirabe config type project\". Alternatively you can use --bump-after-update=dev to only bump dependencies within \"require-dev\". No requirements to update in ./composer.json.", true, -- cgit v1.3.1-4-g156e