tree-sitter-grammars / tree-sitter-query

TS query grammar for tree-sitter
Apache License 2.0
52 stars 14 forks source link

chore(build): fill necessary metadata for `cargo publish` #23

Closed theHamsta closed 1 year ago

theHamsta commented 1 year ago

After this PR I can run cargo publish. Would use my personal crates.io account. I don't expect that this parser will require many updates in future (as it didn't need to change in the past)

Fixes #22

amaanq commented 1 year ago

Cargo.lock and package-lock.json should be in the .gitignore..

theHamsta commented 1 year ago

Cargo.lock and package-lock.json should be in the .gitignore..

Well, that is a opinionated. Some projects prefer to have them other not. Probably more likely to have them committed because that's precisely what they are for to get to the last point where this has worked if needed. Library users and users of cargo install will still get the newest semver compatible version.

amaanq commented 1 year ago

to get to the last point where this has worked if needed

yeah, good point

amaanq commented 1 year ago

Side note, can we disable merge commits here (and nvim-treesitter-textobjects)? that is so ugly...rebase is the way