From e59f9809ac9fe49c4700097764c432515a90c9d7 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Wed, 3 Jul 2024 17:12:11 +0200
Subject: [PATCH] composer/plugin/drupal-development-environment#21 Add support
 for update status test

---
 ahoy.test.yml | 10 +++++++++-
 composer.json |  1 +
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ahoy.test.yml b/ahoy.test.yml
index e1c0d20..fe1baea 100644
--- a/ahoy.test.yml
+++ b/ahoy.test.yml
@@ -88,7 +88,7 @@ commands:
       module=$1
       shift
       /usr/local/bin/node_cmd yarn --silent --cwd web/core stylelint --formatter verbose --config ./.stylelintrc.json "../modules/contrib/${module}/**/*.css" --color $@
-    usage: Stylelint tests by module
+    usage: Stylelint tests by module. Please run preparecorefordev first.
   eslintmodule:
     cmd: |
       module=$1
@@ -128,3 +128,11 @@ commands:
         /drupal/web/core/node_modules/.bin/cspell -c .cspell.json --words-only --unique --no-progress $_CSPELL_EXTRA ** | sort -f
       fi
       rm .cspell.json
+    usage: Spell checker. Please run preparecorefordev first.
+  upgradestatusmodule:
+    cmd: |
+      export CI_PROJECT_NAME=$1
+      shift
+      drush -y en upgrade_status
+      drush -y upgrade_status:analyze $CI_PROJECT_NAME
+      drush -y pmu upgrade_status
diff --git a/composer.json b/composer.json
index 9a5e171..4533495 100644
--- a/composer.json
+++ b/composer.json
@@ -48,6 +48,7 @@
     "drupal/devel": "*",
     "drupal/potx": "*",
     "drupal/schema_diff": "*",
+    "drupal/upgrade_status": "*",
     "drupal/webprofiler": "*",
     "lakedrops/ahoy": "*",
     "lakedrops/composer-json-utils": "*",
-- 
GitLab