Hello @Roland_Schatzle and welcome!
you can take a look at
You can reduce the size of the repo further with a sparse-checkout.
Something like
git clone --depth 1 --no-checkout --filter="tree:0" git@github.com:typst/packages
... // cd into the folder
git sparse-checkout init
git sparse-checkout set packages/preview/[your-package-name]
git checkout main
Then you have something like (this is for glossarium), all in all the repo is 7MB on disk.
❯ git count-objects -v
count: 0
size: 0
in-pack: 3638
packs: 4
size-pack: 1745
prune-packable: 0
garbage: 0
si…
and
tyler is a JavaScript tool that can make the life a lot easier when developing packages (libraries and templates), without the cumbersome editing and copy-pasting, manual folder mangement, etc. I developed it in three days so it is still immature, but I have (not exactly but) succesufully published my new package. It has the following features now:
Install package locally to be able to use with @local/somepkgs:0.1.0
Compile relative entrypoint import (e.g. ../lib.…
In your scenario, you should simply create a new folder with the name of your template, and add it to packages/preview/[name]/[version] on your fork. You should commit the changes, and then GitHub should suggest to create a new PR. If that’s not the case, you can create a new PR yourself at Compare · typst/packages · GitHub
1 Like