Read the statement by Michael Teeuw here.
Automatic checking of all MagicMirror² modules
-
@BKeyport Sorry, I tend to use the logic of my native language in my English sentences 😅
-
@KristjanESPERANTO I figured that’s what it was. Not a big deal - everyone here don’t speak english properly, even us native speakers. 🤣`
-
I thought “This” doesn’t fit so well because the sentence is on the page with the issues and not on the page of the modules where the keywords are used. Is the following issue messages less awkward? Do you have another idea?
There are no keywords in 'package.json'. We would use them as tags on the module list page.
There is no 'package.json'. We need this file to gather information about the module for the module list page.
-
There is no package.json. We need this file to gather information about the module for this website
is what I meant.
-
@KristjanESPERANTO said in Automatic checking of all MagicMirror² modules:
@mumblebaj said in Automatic checking of all MagicMirror² modules:
Just out of interest, which image does it select as the thumbnail?
If the script doesn’t find an image with ‘screenshot’ or ‘example’ at the beginning of the name it takes the first it finds .
Hi @KristjanESPERANTO does it expect the example.png in a specific folder (such as
img/
or/
) or can it also lookup indocs/
? -
@KristjanESPERANTO and, this impacts my scripts as i use package.json as the indicator for doing an npm install in the module folder.
-
@Jalibu said in Automatic checking of all MagicMirror² modules:
Hi @KristjanESPERANTO does it expect the example.png in a specific folder (such as img/ or /) or can it also lookup in docs/?
No, you can put it where ever you want :-)
-
@sdetweil said in Automatic checking of all MagicMirror² modules:
@KristjanESPERANTO and, this impacts my scripts as i use package.json as the indicator for doing an npm install in the module folder.
There are some modules that only have devDependencies, so your script already makes unnecessary
npm install
calls. Can you adjust your trigger and check whether dependencies are set in the package.json? -
Great work @KristjanESPERANTO. Really, really like this. Is there a way to also publish the github stars and # of forks? I also would love if there is a way to “like” a module.
-
I suggest you and the community expand
package.json
to regularise the details of the module. (recommended but optional)
For example;{ "name": "mmm-something", "version": "1.0.0", ... "mm" : { "communityId" : "johndoe", "community" : "MagicMirror forum", "screenshot" : "https://somewhere.com/screenshot.png", "install" : "https://github.com/johndoe/mmm-something/README.md#installation", "update" : "...", "email" : "johndoe@somewhere", "required: { "mm" : "2.25", "node" : "18.0" }, "notice" : [ "This will not work in Windows.", "Pre-dependency required. Please readme." ] } }
The fields are my imagination. Maybe the community can reach an agreement on rules.