Skip to content

help with js tooling #1328

@beeequeue

Description

@beeequeue

hi! are you open to some help regarding the js tooling for this project?

i've been trying to understand and use MoQ for a bit now and have seen a bunch of small improvements that could be made, which i would be up for helping with!

i will summarize them here, but can expand on them if they interest you

  • replace custom build scripts with tsdown
    • simplify the build process and gain easy access to various optimizations like inlining certain libraries
  • set up Changesets for changelog generation and publishing
    • alternatively Sampo which is a multi-language alternative, so it could be used for all the packages (js, rust, py)!
  • improve the data validation
    • validation libraries quite big to install (zod 4MB, valibot 2MB) but usually bundle quite well, making them optimal targets for inlining
      • something tsdown makes super easy
    • zod is still quite slow and big after the v4 update, so i would still also replace it
  • i saw some things that could be extracted to separate packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions