Publishing
Publish a package
Share your Mesh library with the community. Publishing takes under a minute.
Sign in with GitHubA publish token will be generated automatically after sign-in.
- 1
Sign in with GitHub
Click the button above. After authorizing, you'll be redirected back here with your publish token ready to copy.
- 2
Save your token
Run this command with the token shown after sign-in:
meshpkg login --token <your-token>
- 3
Create a
mesh.tomlYour package name must be scoped to your GitHub username:
[package] name = "your-login/your-package" version = "1.0.0" description = "What your package does" license = "MIT"
- 4
Publish
Run from your project directory:
meshpkg publish
meshpkg reads
mesh.tomland uploads your package. Your files will be live within seconds.