Context: I'd like to use tree-sitter-gitcommit to parse and validate conventional commit messages for another project. My preferred way to install tree-sitter bindings is npm install or cargo add. However, when I go to https://www.npmjs.com/package/tree-sitter-gitcommit or https://crates.io/crates/tree-sitter-gitcommit I've found that both are missing.
I'd be happy to submit a GitHub workflow for publishing both an npm package and a crate! Here's the process I'm picturing:
- I'd use
standard-version to generate a changelog and an appropriate increment to the current version
- I'd write a GitHub workflow to run on push of new semver-formatted git tags to publish to both npm and crates.io
- you'd configure secrets for the workflows after the PR
To be clear, you would retain full control over both the npm package and the crate.
Context: I'd like to use
tree-sitter-gitcommitto parse and validate conventional commit messages for another project. My preferred way to install tree-sitter bindings isnpm installorcargo add. However, when I go to https://www.npmjs.com/package/tree-sitter-gitcommit or https://crates.io/crates/tree-sitter-gitcommit I've found that both are missing.I'd be happy to submit a GitHub workflow for publishing both an npm package and a crate! Here's the process I'm picturing:
standard-versionto generate a changelog and an appropriate increment to the current versionTo be clear, you would retain full control over both the npm package and the crate.