Repository navigation
v0.6.0
v0.6.0
This release makes modist usable without Python: the widgets are now
available as a standalone client-side bundle for JS-only projects, shipped in the
same distribution story as the anywidget bundles.
Standalone JS for JS-only consumers
- New
dist/modist.js— a single-file ESM bundle (package.json:jstatdep)
exposingnormal,beta,gamma,studentTfactories that mount a widget
into any element and return a handle (params/set/reset/onChange
/destroy). Seesite/index.html. - Live showcase: https://williambdean.github.io/modist/ — tabbed Normal /
Beta / Gamma / StudentT widgets, copy-able import snippets, and a Python /
marimo quickstart (including the reactivew.scipy/w.pymcadapters). - Pinned, immutable URLs:
https://cdn.jsdelivr.net/gh/williambdean/modist@v0.6.0/dist/modist.js
(jsDelivr GH tags serve the committed bundle; CORS*).
Supply-chain hygiene
- jStat is now an npm-managed dependency (
jstat@1.9.6) instead of a vendored
esm.sh blob whose license header had been stripped when minified. /*!banners on all bundles credit modist (MIT) and jStat (MIT), and the
publish workflow gates releases on an MIT-onlylicense-checkerpass.- npm Dependabot keeps the JS deps monitored.
Showcase / packaging
- Advertise the Pages showcase URL in
[project.urls](Showcase) and as the
GitHub repo homepage. - The showcase inline-bundles the standalone JS (runs from
file://), mounts
families lazily in tabs, and self-updates its pinned-import snippet to the
current release tag at build time.