typst-community / typst.js

📦 Typst for JavaScript
https://typst.community/typst.js
Apache License 2.0
19 stars 2 forks source link

Versioning scheme convention #5

Open jcbhmr opened 11 months ago

jcbhmr commented 11 months ago

Right now I'm trying to match versions with the latest Typst version (currently 0.10.0 -- current npm package is typst@0.10.0-5) https://github.com/typst/typst/releases https://www.npmjs.com/package/typst?activeTab=versions

note that there's a X.Y.Z-N where N goes up. idk if that's the "right" way to do it or not? are there other projects that do it better/differently? is there a convention to this? basically I want a four-part semver specific not a three part specifier lol.

Sidenote: should the first 0.11.0 release be typst@0.11.0 or typst@0.11.0-1 or typst@0.11.0-0 ?

jcbhmr commented 10 months ago

i think ill do it sorta like debian does https://serverfault.com/questions/604541/debian-packages-version-convention where it's 1.2.3-1 and then 1.2.3-2? that's what im already doing lol.

jcbhmr commented 10 months ago

Actually what if I did more of a "bindings" approach instead of a "redist" approach? https://github.com/semver/semver/issues/352

What about something like this: