Read the statement by Michael Teeuw here.
Automatic checking of all MagicMirror² modules
-
@KristjanESPERANTO Looks good. Just out of interest, which image does it select as the thumbnail? Just noticed 2 of the modules of mines does not have the correct images. Both Growatt modules are the ones I am referring to.
-
@KristjanESPERANTO Stats were great, fixed most of the issues identified in my modules. Majority package.json issues.
Great work @KristjanESPERANTO
-
could we separate out the cosmetic issues (MagicMirror vs the one with the superscript 2, as I don’t know how to make that happen in my text editor…) and its useless
and this is misleading
MMM-AareGuru by buge There is no package.json. We need this file to gather information about the module.there is no need for a package,json… as this module does all its work inside the modulename.js
there is no functional requirement as there is no node_helper.js -
@KristjanESPERANTO
additionally… a module I forked was marked as present and attributed to me, but I never posted it… MMM-Alexa (and I deleted it from your list… and it is NOT present in the master list )and one of my modules (the only one I have ever posted) is not present in the master list , and I did not remove it
MMM-SleepWake.
-
@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 .
The prerequisite for the whole thing is that a free license is specified in the
package.json. If there is nopackage.jsonand no free license, no image will be searched.Stats were great, fixed most of the issues identified in my modules.
Nice, thank you! I just updated the list and a lot of issues disappeared 👏
@sdetweil said in Automatic checking of all MagicMirror² modules:
I don’t know how to make that happen in my text editor
On my keyboard it’s just +
and its useless
I think it’s worth striving to call things by their proper names, so I don’t find the test useless. Feel free to just ignore it :-)
there is no need for a package,json… as this module does all its work inside the modulename.js there is no functional requirement
You are right, functionally there is no need for this. However, the file is a good source of information that is interesting for the website - e.g. keywords.
MMM-Alexa
Do you know if the original module (https://github.com/sakirtemel/MMM-alexa) still works? Otherwise I should mark it as outdated.
and one of my modules (the only one I have ever posted) is not present in the master list , and I did not remove it. MMM-SleepWake
I’ve added it now :-)
-
@KristjanESPERANTO I have no info on MMM-Alexa or why i forked it
-
@sdetweil said in Automatic checking of all MagicMirror² modules:
and this is misleading
There is no package.json. We need this file to gather information about the module.I added ‘for the website’ at the end of the sentence. I hope that this is clearer.
Thanks for the feedback :-)
-
@KristjanESPERANTO I have no website.
-
@sdetweil Yes, I mean this website: https://kristjanesperanto.github.io/MagicMirror-3rd-Party-Modules/. Information from the
package.jsonfiles is used there. -
@KristjanESPERANTO “This” instead of “The” perhaps?
-
@BKeyport Good suggestion :-) But what do you think of this:
No keywords in 'package.json'. We would use them as tags on the module list website. -
@KristjanESPERANTO Kinda awkward, honestly.
-
@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 websiteis 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 installcalls. Can you adjust your trigger and check whether dependencies are set in the package.json?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login