Skip to content

A Node.js CLI tool to identify Magento 2 modules requiring Hyvä compatibility modules

Notifications You must be signed in to change notification settings

rossmc/hyva-compatibility-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyva Compatibility Checker

A Node.js application to identify Magento modules requiring Hyva compatibility. Useful for you next luma to Hyvä project on Magento 2.

Description

This tool scans your Magento project and gives you a list of modules that require Hyva compatibility, indicating how many frontend files require attention. It provides both JSON & CSV reports which can be used to plan your Hyva frontend development.

The reports will give you information such as:

  • Module Name
  • Relative Path
  • Has Compatibility Module Installed
  • JS File Count (in CSV report only)
  • JS Line Count
  • JS File list (in JSON report only)
  • JS Files size (in JSON report only)
  • PHTML File Count (in CSV report only)
  • PHTML Line Count
  • PHTML File list (in JSON report only)
  • PHTML Files size (in JSON report only)
  • Layout File Count (in CSV report only)
  • Layout Line Count
  • Layout File list (in JSON report only)
  • Layout Files size (in JSON report only)

Installation & Usage

  1. Clone the repository to the root of your Magento installation
  2. Install dependencies:
    npm --prefix hyva-compatibility-checker install
    
  3. Run the script:
    npm --prefix hyva-compatibility-checker start
    

The script will generate a hyva-compatibility-analysis folder with the JSON & CSV reports. Review these reports to identify the modules that require Hyva compatibility modules. Remember to checkout the Hyva Compatibility Module Tracker to see if there is already a Hyva compatibility modules available which can be used. If there is no Hyva compatibility modules available, you can create either:

Install Globally and Run

cd hyva-compatibility-checker
npm install
npm install -g .

Run hyva-compatibility-checker from your Magento root directory.

UnInstall Globally

From any directory run npm uninstall -g hyva-compatibility-checker

About

A Node.js CLI tool to identify Magento 2 modules requiring Hyvä compatibility modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published