Skip to content

Commit dc289b3

Browse files
authored
build: update package files #160
Steps: rm Cargo.toml Package.swift pyproject.toml package.json setup.py tree-sitter init npm install cargo test
1 parent 1cf9496 commit dc289b3

File tree

8 files changed

+180
-160
lines changed

8 files changed

+180
-160
lines changed

Cargo.toml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,34 @@
22
name = "tree-sitter-vimdoc"
33
description = "Tree-sitter grammar for Vim help files"
44
version = "4.0.2"
5+
authors = ["Justin M. Keyes <justinkz@gmail.com>"]
56
license = "Apache-2.0"
6-
keywords = ["incremental", "parsing", "neovim", "vimdoc"]
7-
categories = ["parsing", "text-editors"]
7+
readme = "README.md"
8+
keywords = ["incremental", "parsing", "tree-sitter", "vimdoc"]
9+
categories = ["parser-implementations", "parsing", "text-editors"]
810
repository = "https://github.com/neovim/tree-sitter-vimdoc"
9-
authors = ["Thomas Vigouroux <tomvig38@gmail.com>"]
1011
edition = "2021"
1112
autoexamples = false
1213

1314
build = "bindings/rust/build.rs"
14-
include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]
15+
include = [
16+
"bindings/rust/*",
17+
"grammar.js",
18+
"queries/*",
19+
"src/*",
20+
"tree-sitter.json",
21+
"/LICENSE",
22+
]
1523

1624
[lib]
1725
path = "bindings/rust/lib.rs"
1826

1927
[dependencies]
20-
tree-sitter = ">=0.25.0"
28+
tree-sitter = "0.25.10"
29+
tree-sitter-language = "0.1"
2130

2231
[build-dependencies]
23-
cc = "^1.0.89"
32+
cc = "1.2"
33+
34+
[dev-dependencies]
35+
tree-sitter = "0.25.10"

Package.swift

Lines changed: 29 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,12 @@ Steps to perform a release: https://tree-sitter.github.io/tree-sitter/creating-p
9393
git push
9494
```
9595
6. Tag and release: https://github.com/neovim/tree-sitter-vimdoc/releases/new
96+
97+
### Publis to crates.io
98+
99+
```
100+
cargo publish --dry-run
101+
cargo login
102+
cargo publish
103+
```
104+

package-lock.json

Lines changed: 52 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)