A tool for Typst package development and publishing.
The name typship
is a portmanteau of Typst and spaceship, since it sends packages to the universe.
cargo install typship
To use publish universe
, you will need to generate a token (fine-grained) with the following permissions to your fork of the packages repository:
-
Read access to metadata
-
Read and write access to contents
Here's GitHub's documentation on how to create a personal access token.
typship help
To init a new package, simply run:
typship init
To publish a package, run:
typship publish
Download a package to @local
:
typship download <package-repo>
Download a package to @my-packages
:
typship download <package-repo> -n my-packages
- i18n
- typship dev(create symlink to the developing version? auto check?)