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

general strategy #2

Open
HerringtonDarkholme opened this issue Jan 6, 2025 · 0 comments
Open

general strategy #2

HerringtonDarkholme opened this issue Jan 6, 2025 · 0 comments

Comments

@HerringtonDarkholme
Copy link
Member

HerringtonDarkholme commented Jan 6, 2025

  1. prebuild dynamic lib for windows/linux/mac x86 architecture
  2. build in user if prebuild dynamic lib is not found
  3. ship src/ folder with the npm package
  4. add optional peer dependencies "tree-sitter-cli" , https://docs.npmjs.com/cli/v7/configuring-npm/package-json#peerdependenciesmeta
  5. build dynamic library in post-install script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant