To Be Announced
npx tba-js compile
Or install with npm i -D tba-js
and add this script to package.json
:
{
"scripts: {
"build": "tba compile"
}
}
npm install
# edit src/lib.rs
npm run build
See napi-rs and this blog post for more.
Publish via GitHub Actions (configure NPM_TOKEN as a secret).