To release a new version of https://www.npmjs.com/package/route-snapper:
- Bump the version number in
route-snapper/Cargo.toml
- Make sure
router-snapper/pkg/
has the release build with--target web
and thatlib.js
is in there. If youcd examples; ./serve_locally.sh
, then this'll happen - Important! Manually edit
route-snapper/pkg/package.json
and addlib.js
tofiles
. I can't figure out how to makewasm-pack
do this. cd route-snapper/pkg; npm pack
to sanity check the contents. Thennpm publish
- Update the changelog