r/webdevelopment • • 19d ago

Meta Best-Practices for Publishing a JS Framework

Im working on a project for myself. Its an unreviewed, unaudited and far from finished. It started of as a person curiosity and evolved from there. Its shaping up well enough to publish and share.

If i publish something on NPM, there are strict controls around versioning for which i havent burdened myself on my own projects (but clearly important when making something for a wider community). I also wonder if im overlooking any other details.

I wonder what best practices there are for something like this. Should i be publishing new versions with CI/CD? Are there any tips or advice for doing this in the modern js ecosystem?

3 Upvotes

2 comments sorted by

1

u/farzad_meow 18d ago

check my repo pashmakjs. i did something similar you should be able to reuse some of my workflows

1

u/Ronin-s_Spirit 18d ago

Learn semver and release tags.