(TBD)
Node version should be matched with package.json
engines field.
ex) Install node using mise
$ mise use node@{version}
$ 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 install
$ 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
.
Bindings will be published by publish workflow. To publish manually, follow below.
$ npm login
$ npm publish
Check before publish with --dry-run
$ cargo login
$ cargo publish
Check before publish with --dry-run
$ rye sync
$ rye add twine
Setup python and install twine (ex. rye)
$ rye build --sdist --wheel
Build python package. Note that this will build wheel only for the current platform.
(TBD)