Latest release (v0.17.0) was not published correctly
Mesoptier opened this issue · comments
The changelog states:
- Introduces the LaTeX component.
- Deprecates the
ssr
attribute in favor of never rendering Mafs until hydration.
But it seems the the PR that fixed that last item (#114) was not actually included in the build that was published to NPM.
You can verify this by checking that the new MafsCanvas
component does not exist in build/index.js
on https://www.npmjs.com/package/mafs?activeTab=code.
Thank you! I have no idea why this happened. I'll try to work on some automated tooling to prevent this in the future. v0.17.1 should be fixed.
In my experience this happens for one of two reasons:
- The
build
script did not run before publishing, so an old build was published. Butbuild
is included in theprepublishOnly
script, so that shouldn't be an issue here (though I would useprepack
instead ofprepublishOnly
). - The checked out branch was not up to date at the time of publishing. But I don't see how that could've happened either, since the LaTeX component was merged into
main
after #114 was merged.