fix(npm): add directory to repository fields

and remove non-existent "main" entry point

(cherry picked from commit 90bdd63a71)
This commit is contained in:
ObserverOfTime 2025-08-30 22:54:11 +03:00 committed by Amaan Qureshi
parent a80cd86d47
commit 59f3cb91c2
3 changed files with 9 additions and 5 deletions

View file

@ -4,7 +4,8 @@
"description": "Eslint configuration for Tree-sitter grammar files",
"repository": {
"type": "git",
"url": "git+https://github.com/tree-sitter/tree-sitter.git"
"url": "git+https://github.com/tree-sitter/tree-sitter.git",
"directory": "crates/cli/eslint"
},
"license": "MIT",
"author": "Amaan Qureshi <amaanq12@gmail.com>",

View file

@ -14,14 +14,14 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/tree-sitter/tree-sitter.git"
"url": "git+https://github.com/tree-sitter/tree-sitter.git",
"directory": "crates/cli/npm"
},
"description": "CLI for generating fast incremental parsers",
"keywords": [
"parser",
"lexer"
],
"main": "lib/api/index.js",
"engines": {
"node": ">=12.0.0"
},

View file

@ -2,8 +2,11 @@
"name": "web-tree-sitter",
"version": "0.25.8",
"description": "Tree-sitter bindings for the web",
"repository": "https://github.com/tree-sitter/tree-sitter",
"homepage": "https://github.com/tree-sitter/tree-sitter/tree/master/lib/binding_web",
"repository": {
"type": "git",
"url": "git+https://github.com/tree-sitter/tree-sitter.git",
"directory": "lib/binding_web"
},
"license": "MIT",
"author": {
"name": "Max Brunsfeld",