Search

Tip: type a command such as theme build. Press Esc to close.

mageforge:hyva:compatibility:check

Check Hyvä and Tailwind CSS v4 compatibility

Since v0.3.0Hyväalias: hyva:check

Run it

bin/magento mageforge:hyva:compatibility:check
bin/magento hyva:check

Scans Magento modules for Hyvä theme compatibility issues (RequireJS, Knockout.js, jQuery, UI Components).

Options:

  • -a, --show-all — Show all modules including compatible ones.
  • -t, --third-party-only — Check only third-party modules (exclude Magento_*).
  • --include-core — Include Magento core modules in the check.
  • --include-vendor — Include modules installed in the vendor directory (default: excluded).
  • --detailed — Show detailed compatibility information.
  • --tailwind4 — Force the Tailwind CSS v4 readiness check. It runs automatically when Hyvä is installed via Composer. See below.

Output: Displays a table with compatibility status per module.

Link to section: Tailwind CSS v4 readiness

Read-only check of what is needed for Tailwind CSS v4 (Hyvä 1.4). See the Hyvä upgrade guide. It runs automatically when Hyvä is installed via Composer (version of hyva-themes/magento2-default-theme, with the theme module as fallback). On Hyvä 1.3.x it works as a checklist for the upgrade to 1.4, so errors are expected until the theme is migrated. Use --tailwind4 to run it for installations Composer does not know about (e.g. Hyvä in app/code). The same module filters apply (--include-core, --include-vendor); vendor themes such as Hyva/default are skipped unless --include-vendor is set.

bin/magento hyva:check --tailwind4
  • Themes (Hyvä themes, web/tailwind): Node.js version (20+), tailwindcss version (declared and installed), removed packages (PostCSS, @tailwindcss/forms, @tailwindcss/typography), required packages (@tailwindcss/cli, @hyva-themes/hyva-modules), npm scripts, obsolete postcss.config.js / tailwind.config.js, hyva.config.json, the CSS folder structure and the tailwind-source.css entry point.
  • Themes and modules (CSS files in web/tailwind and view/frontend/tailwind): syntax that changed in v4 (@tailwind, @screen, theme() with dotted paths, non-relative @import paths).

Errors make the command fail; warnings do not.

Version history

  • v0.29.0 – Add Tailwind CSS v4 readiness check to compatibility:check
  • v0.3.0 – Add `mageforge:hyva:compatibility:check` command to add a Hyvä compatibility checker (+1 more)