Skip to content

Commit 368747e

Browse files
refactor: adopt upstream 3rd-party-modules schema
Replace old field names (longname/author/desc) with upstream schema (name/maintainer/description) to enable future metadata fields like category, keywords, stars, and license. No user-facing changes - modules.json reloads automatically.
1 parent d69c8bd commit 368747e

File tree

7 files changed

+22537
-8497
lines changed

7 files changed

+22537
-8497
lines changed

cspell.config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"listname",
3939
"LOCKSTRING",
4040
"lockstrings",
41-
"longname",
4241
"magicmirror",
4342
"MODULEAPI",
4443
"MONITOROFF",

docs/swagger.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -946,12 +946,11 @@
946946
},
947947
"data": [
948948
{
949-
"longname": "MMM-Remote-Control",
949+
"name": "MMM-Remote-Control",
950950
"id": "Jopyth/MMM-Remote-Control",
951951
"url": "https://github.com/Jopyth/MMM-Remote-Control",
952-
"author": "Jopyth",
953-
"desc": "Cleanly shutdown (or reboot) your mirror, edit which modules are shown on your mirror and turn your monitor off and on from a simple website, i.e. from your smartphone.",
954-
"name": "Remote Control",
952+
"maintainer": "Jopyth",
953+
"description": "Cleanly shutdown (or reboot) your mirror, edit which modules are shown on your mirror and turn your monitor off and on from a simple website, i.e. from your smartphone.",
955954
"isDefaultModule": false,
956955
"installed": true
957956
}
@@ -984,12 +983,11 @@
984983
},
985984
"data": [
986985
{
987-
"longname": "MMM-Remote-Control",
986+
"name": "MMM-Remote-Control",
988987
"id": "Jopyth/MMM-Remote-Control",
989988
"url": "https://github.com/Jopyth/MMM-Remote-Control",
990-
"author": "Jopyth",
991-
"desc": "Cleanly shutdown (or reboot) your mirror, edit which modules are shown on your mirror and turn your monitor off and on from a simple website, i.e. from your smartphone.",
992-
"name": "Remote Control",
989+
"maintainer": "Jopyth",
990+
"description": "Cleanly shutdown (or reboot) your mirror, edit which modules are shown on your mirror and turn your monitor off and on from a simple website, i.e. from your smartphone.",
993991
"isDefaultModule": false,
994992
"installed": true
995993
}

0 commit comments

Comments
 (0)