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

Installing tree-sitter-typescript as a dependency will not include tree-sitter-javascript referenced in the package.json #268

Open
segevfiner opened this issue Nov 27, 2023 · 0 comments
Labels

Comments

@segevfiner
Copy link

If you add tree-sitter-typescript as a dependency of a project, and point to the created node_modules folder from the tree-sitter-cli's config.json, it will be missing the files references in the package.json that are from tree-sitter-javascript as it is declared as a dev dependency, and even if you declare it as a normal dependency, they would still not be there due to hositing and other package manager shenanigans (e.g. pnpm).

This makes it annoying to use it that way if you want to grab that info or use a package.json to manage a folder of installed grammers.

@segevfiner segevfiner added the bug label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant