feat: improve plugin.json with multiple authors, versions, and pre-compilation dependency checking
- Add support for multiple authors and contributors in plugin.json - Maintain backwards compatibility with single author (string) format - Add versions array to specify compatible Open Ticket versions (e.g., OTv4.0.x, ODv1.0.0) - Implement version compatibility checking during plugin loading - Read plugin.json files before TypeScript compilation to check npm dependencies - Warn about missing npm dependencies before compilation starts - Update example plugin to demonstrate new features Fixes #162
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
|
||||
"details":{
|
||||
"author":"DJj123dj",
|
||||
"authors":["DJj123dj"],
|
||||
"contributors":[],
|
||||
"versions":["OTv4.0.x","OTv4.1.x"],
|
||||
"shortDescription":"A simple template for an Open Ticket v4 plugin!",
|
||||
"longDescription":"A simple example of an Open Ticket v4 plugin!",
|
||||
"imageUrl":"",
|
||||
|
||||
Reference in New Issue
Block a user