Read the statement by Michael Teeuw here.
obsession with modul checker
-
I am obsessed with the modul checker on the MagicMirror² 3rd Party Modules list…
so, i asked github copilot to implement an instant modul checker script.
technically it clones the modul checker repo, and the local files to /tmp/mm-modul-checker… and installs the deps.
you can find it in recently most active repo:
https://github.com/HeikoGr/MMM-Webuntis/blob/master/scripts/magicmirror-check.mjsrun it:
node scripts/magicmirror-check.mjsand you will get:> mmm-webuntis@0.6.1 check:mm > node scripts/magicmirror-check.mjs 🔍 Setting up MagicMirror checker... Fetching checker repository (git-free) via `degit` (first time only)... 📦 Installing dependencies... ✓ Copying local files (excluding node_modules)... ✓ Checking MMM-Webuntis (including uncommitted changes) 🔎 Running full module checks... 🔍 Running ESLint check on package.json... ================================================================================ MMM-Webuntis - MagicMirror Module Check Results ================================================================================ 📋 Issues found (1): 1. Information: There are updates for 1 dependencie(s): - prettier ^3.8.0 → ^3.8.1 ================================================================================ 📄 Results saved to: magicmirror-check-results.md Compare with: https://modules.magicmirror.builders/result.html ================================================================================ 💡 Tip: Use --cleanup to remove checker files after check -
@HeikoGr said in obsession with modul checker:
node scripts/magicmirror-check.mjs
I tried it, but get an error
❌ Error: Cannot copy a FIFO pipe: cp returned EINVAL (cannot copy a FIFO pipe: /tmp/mm-module-checker-MagicMirror/modules/MagicMirror-----MagicMirrorOrg/.lgd-nfy0) /tmp/mm-module-checker-MagicMirror/modules/MagicMirror-----MagicMirrorOrg/.lgd-nfy0 -
you need to put the script inside the folder of the module you want to check - not the MagicMirror folder itself
-
@HeikoGr
So it is not possible to check all the modules in one run?
I have to do it for each module? -
@htilburgs my main objection was to support the module development. so yes, at the moment it’s a per module check,
-
@HeikoGr
Oké, clear. Thanks for the quick replys -
@heikogr Nice idea! I’ll take a closer look.
