Skip to content

feature request: publish to npm and crates.io #30

@SKalt

Description

@SKalt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions