This contains a registry of extensions.
- Fork this repository
- Add a new folder in the
registry
folder with the name<vendorid>.<pluginid>
- Add your extension to the registry using
node scripts/new.js registry/<vendorid>.<pluginid> <path/to/your/extension.json>
. This will create a new folder with the name<vendorid>.<pluginid>
and create theextension.json
based on your extension in it. (You can also specify your lua entry script path instead) - Run
npm run all
to validate your changes - Run
git add .
andgit commit -m "Added <your-plugin-id>"
- Push your changes to your fork
- Create a pull request to this repository
- Wait for approval
To ease adding new versions of plugins, you can run the script
node scripts/fixhashes.js <path/to/your/extension.json>
.
This will calculate the sha256 hash of the sources and update the
sha256
key in the sources
object.
This repo contains a .gitattributes
file that excludes folders from
a call to git archive
. This is used to create a zip file of the registry
for distribution. The following command will create a zip file of the registry
without the unecessary folders:
git archive --format=zip HEAD -o registry.zip
Conveniently, GitHubs "Download ZIP" feature honors the .gitattributes
file
and will create a zip file of the registry without the unecessary folders.