Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish on npm #41

Open
rien opened this issue Nov 10, 2022 · 9 comments
Open

Publish on npm #41

rien opened this issue Nov 10, 2022 · 9 comments

Comments

@rien
Copy link
Contributor

rien commented Nov 10, 2022

This grammar is not published on npm, although it is properly working (when #40 is merged).

Can this grammar be published there?

@kevinushey
Copy link
Collaborator

It could, but I'd like to wait until https://github.com/r-lib/tree-sitter-r/tree/next is merged -- I'm working on a fairly substantial overhaul of the grammar.

@rien
Copy link
Contributor Author

rien commented Oct 20, 2023

@kevinushey in what timeframe do you expect this could be possible?

For our purposes, the current version is very usable and having a big change in the grammar in a later release would not be a problem.

@kevinushey
Copy link
Collaborator

I think we've decided to maintain "main" and "next" separately, just because it would be too costly to try to bring any existing downstream integrations (e.g. in vim / neovim / Emacs) up to speed.

Still, we don't have a timeline for publishing to NPM just yet.

@rien
Copy link
Contributor Author

rien commented Oct 27, 2023

For our case there is no need anymore for this to be published, we've decided to vendor the parsers we're using.

@kevinushey
Copy link
Collaborator

Makes sense; thanks!

@EagleoutIce
Copy link

EagleoutIce commented Nov 19, 2024

Now, that the branch in question is long merged, do you intend on doing this now? @kevinushey.

@kevinushey
Copy link
Collaborator

@DavisVaughan, what do you think?

@DavisVaughan
Copy link
Member

Since we are on main now, and since we publish Rust and R bindings, it probably makes sense to also publish npm bindings too (that's probably the other major consumer of tree-sitter these days, especially with wasm support). I'll look into that for the next release.

@EagleoutIce
Copy link

Thank you very much this would help us greatly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants