(TBD)
Setup node using mise
$ mise use node@20
$ npm install
$ cd docs/
$ npx live-server
wasm build should be updated
$ npm exec tree-sitter build-wasm
$ npm exec tree-sitter playground
$ npm run build
$ npm exec tree-sitter build-wasm
# update docs assets and versions
After update release version, change version in package.json
and Cargo.toml
. Also update lockfile with npm i --package-lock-only
and cargo clean
.
$ npm login
$ npm publish
Check before publish with --dry-run
$ cargo login
$ cargo publish
Check before publish with --dry-run