Skip to content

Latest commit

 

History

History
97 lines (80 loc) · 3.48 KB

TODO.md

File metadata and controls

97 lines (80 loc) · 3.48 KB

TODO list

V2:

  • Reimpl errors
  • Last typst version
  • More commands:
    • Unlink
    • List
  • Create typst.toml by asking questions
  • use semver
  • Use custom packages namespace (e.g "@custom/example:1.0.1")
  • Fix typo

V2.1:

  • ""pre-export"" package by giving them what they need
  • Documentation for developpers
    • utils.rs
    • main.rs
    • commands.rs → remake it?
      • commands/create.rs
      • commands/link.rs
      • commands/list.rs
      • commands/unlink.rs
      • commands/install.rs
  • Download packages from unofficial repos, see #3
    • git2-rs
    • Dependencies managed
    • use utpm namespace to use libs (or portable so without any links) → It wouldn't be as good as it sounds, typst can't use package outside the data folder
    • Maybe a launchable version from utpm to link packages?
  • Portable version and only installable version
    • Integrate install
    • And all of todos from above with #3
  • New commands for install:
    • Info.rs
    • Update, (using semver)
    • Bulk delete
    • Clean?
  • Maybe a listing dependencies system? -> Track every dependencies to delete when they aren't used -> Not for now
  • Templates (first impl) -> Not now → V3
  • JSON only mode

V3

This update will introduce documentations, a better handling error system, JSON and some commands.

  • Better handling errors (json, string, toml maybe)
  • Maybe a listing dependencies system? -> Track every dependencies to delete when they aren't used
  • Create a global and local configuration instead of using typst.toml file. It can become harder to
  • JSON only mode
  • Remake clap
  • Documentation for developpers and users
    • utils.rs
    • main.rs
    • commands.rs → remake it?
      • commands/create.rs
      • commands/link.rs
      • commands/list.rs
      • commands/unlink.rs
      • commands/install.rs
  • New commands for install:
    • Info.rs -> Partial impl for now
    • Update, (using semver) → \w listing dependencies
    • Clean?

V4 (2024.03.10)

Last update: 05.06.2024

As of today (2024.03.10), a new version of typst has been released (v0.11.0-rc1 (fe94bd85)) with a new template system. For now on, this version of utpm will focus on both adapting the new system and being compatible with the previous system.

If time isn't running out, I'll add quality of life improvements such as a Context system, new commands to go along with the typst init command and Dockerise everything (kubernetes included).

The main focus will be :

  • Add templates in utpm (transfer to typst-project)
    • Struct
    • Implementation
  • Compatibility with older version of typst
  • Use tracing-subscriber as a logger (thanks @frozolotl)
  • Improve README: add more example, an explanation, ... (thanks @Pachi)
  • Add utpm publish command, like this repository (thanks @tingerrr)

Optional, not needed in this PR but will be added in the future :

  • Docker, Compose and Kubernetes files (and examples)
  • ENV compatible.
  • get along with typst init
  • tree and list for list commands
  • Transform "portable" to "CI" binary

Appendix

If you have any ideas to improve utpm, I will gladly accept them into account <3