17 releases (10 stable)

1.3.0 Oct 19, 2024
1.2.5 Jun 8, 2024
1.2.4 May 20, 2024
1.2.2 Apr 30, 2024
0.1.1 Apr 11, 2024

#104 in Development tools

Download history 6/week @ 2024-09-20 160/week @ 2024-10-18 6/week @ 2024-10-25 1/week @ 2024-11-01 52/week @ 2024-12-06

52 downloads per month

MIT license

30KB
701 lines

Typst Upgrade

Help you to upgrade your Typst Packages.

Usage

To upgrade your typst-package dependencies, you can use the following command (assuming your project located in /path/to/your/project):

$ typst-upgrade /path/to/your/project

See typst-upgrade --help for more information:

$ typst-upgrade --help
A tool to upgrade typst packages

Usage: typst-upgrade [OPTIONS] <TYPST_ENTRY_PATHS>...

Arguments:
  <TYPST_ENTRY_PATHS>...  

Options:
  -d, --dry-run        Dry run without editing files
  -i, --incompatible   Allow incompatible upgrades
      --color <COLOR>  [default: auto] [possible values: auto, always, never]
      --diff <DIFF>    [default: short] [possible values: short, full, none]
  -v, --verbose        Print more information
  -h, --help           Print help
  -V, --version        Print version

Installation

Cargo

You can install typst-upgrade via cargo:

$ cargo install typst-upgrade

Or if you use cargo-binstall, you can install typst-upgrade via cargo binstall:

$ cargo binstall typst-upgrade

Prebuilt Binaries

You can download the prebuilt binaries from the release page.

License

Licensed under the MIT License.

Dependencies

~11–22MB
~324K SLoC