Skip to content

godot-package-manager/.github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Godot Package Manager

discord

NPM allows for arbitrary packages to be uploaded, so why not upload Godot addons there to be automatically managed?

Using Packages Quickstart

  1. Find some Godot packages on NPM
  2. Add them to the godot.package file (See the godot.package section)
  3. Install your client of choice
  4. Run your client's update function

Publishing Packages Quickstart

  1. Download the npm cli tool
  2. Copy your README.md and LICENSE files into the addon folder (if you don't have these, you should create them)
  3. In your addon folder, run npm init (e.g. given addons/my_plugin/, run these commands in the my_plugin folder)
  4. Answer the prompts given by npm
  5. Run npm publish --access public to publish your package. See the npm docs for more details

godot.package

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"

Clients

  • cli: Rust CLI

  • godot-plugin: Godot plugin for downloading packages in the editor (does not support yaml and toml, only pure json)

Releases

No releases published

Packages

No packages published