Skip to content

sjfhsjfh/typship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typship

Crates.io Version Crates.io Total Downloads


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.

Installation

cargo install typship

Notice

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.

Usage

typship help

TL;DR

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

TODO

  • i18n
  • typship dev(create symlink to the developing version? auto check?)