NPM allows for arbitrary packages to be uploaded, so why not upload Godot addons there to be automatically managed?
- Find some Godot packages on NPM
- Add them to the
godot.package
file (See thegodot.package
section) - Install your client of choice
- Run your client's update function
- Download the npm cli tool
- Copy your
README.md
andLICENSE
files into the addon folder (if you don't have these, you should create them) - In your addon folder, run
npm init
(e.g. givenaddons/my_plugin/
, run these commands in themy_plugin
folder) - Answer the prompts given by
npm
- Run
npm publish --access public
to publish your package. See the npm docs for more details
Describes packages to be installed. This should be modified by the user.
This file can be in different markup languages:
HJSON
packages: {
my_package: 1.0.0
}
YAML
packages:
my_package: 1.0.0
TOML
[packages]
my_package = "1.0.0"
-
cli: Rust CLI
-
godot-plugin: Godot plugin for downloading packages in the editor (does not support yaml and toml, only pure json)