diff --git a/Cargo.toml b/Cargo.toml index 29cd36b..a3536ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,16 +1,17 @@ [package] name = "tree-sitter-xml" description = "XML grammar for tree-sitter" -version = "0.2.1" +version = "0.3.0" license = "MIT" readme = "README.md" keywords = ["incremental", "parsing", "dtd", "xml"] categories = ["parsing", "text-editors"] -repository = "https://github.com/ObserverOfTime/tree-sitter-xml" +repository = "https://github.com/tree-sitter-grammars/tree-sitter-xml" edition = "2021" build = "bindings/rust/build.rs" include = [ + "common/*", "bindings/rust/*", "tree-sitter-dtd/grammar.js", "tree-sitter-dtd/src/*", diff --git a/README.md b/README.md index 2dfd51c..75665eb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # tree-sitter-xml -[![CI][badge]](https://github.com/ObserverOfTime/tree-sitter-xml/actions) +[![CI][ci]](https://github.com/tree-sitter-grammars/tree-sitter-xml/actions) +[![discord][discord]](https://discord.gg/w7nTvsVJhm) +[![matrix][matrix]](https://matrix.to/#/#nvim-treesitter:matrix.org) A tree-sitter parser for XML & DTD files. @@ -15,5 +17,8 @@ A tree-sitter parser for XML & DTD files. - [x] Neovim - [ ] Helix _(has alternatives)_ - [x] Emacs +- [ ] Zed -[badge]: https://badgen.net/github/checks/ObserverOfTime/tree-sitter-xml?label=CI&icon=github +[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter-grammars/tree-sitter-xml/ci.yml?logo=github&label=CI +[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=tree-sitter +[matrix]: https://img.shields.io/matrix/nvim-treesitter%3Amatrix.org?logo=matrix&label=nvim-treesitter diff --git a/package.json b/package.json index 2016613..c987de4 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "tree-sitter-xml", - "version": "0.2.1", + "name": "@chronobserver/tree-sitter-xml", + "version": "0.3.0", "license": "MIT", "description": "XML & DTD grammars for tree-sitter", - "repository": "ObserverOfTime/tree-sitter-xml", + "repository": "tree-sitter-grammars/tree-sitter-xml", "author": { "name": "ObserverOfTime", "email": "chronobserver@disroot.org", @@ -16,12 +16,12 @@ "xml", "dtd" ], - "main": "./bindings/node", + "main": "bindings/node", "dependencies": { "nan": "^2.18.0" }, "devDependencies": { - "tree-sitter-cli": "^0.20.8" + "tree-sitter-cli": "~0.20.8" }, "scripts": { "build": "npm run build-dtd && npm run build-xml", @@ -35,6 +35,9 @@ "playground-xml": "cd tree-sitter-xml && tree-sitter build-wasm && tree-sitter playground", "playground-dtd": "cd tree-sitter-dtd && tree-sitter build-wasm && tree-sitter playground" }, + "publishConfig": { + "access": "public" + }, "tree-sitter": [ { "scope": "source.xml",