tree-sitter / node-tree-sitter

Node.js bindings for tree-sitter

Home Page:https://www.npmjs.com/package/tree-sitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prebuild binaries for electron

sbasher314 opened this issue · comments

Hello,

My team is recently unable to package our electron app, due to a deep dependency on version v0.20.1

It appears that assets are available for v0.20.0 and v0.20.5.

Would it be possible to publish / republish the binaries for 0.20.1? We are working on updating our dependencies to hopefully avoid this issue on our end, with not much success.

I only have a mac, so I can't prebuild Windows binaries, sorry. The assets for v0.20.0 are only for version 5 of Electron so they probably won't help you anyway, you'll still end up needing a C++ compiler.

Also, v0.20.5 probably doesn't work with Electron 13+ on Windows, see #151 (comment) If/when you upgrade, please let me know how it goes.

P.S. you can try adding this to your package.json to override node-tree-sitter but it's better to upgrade the dependency of course:

  "devDependencies": {
    "node-tree-sitter": "^0.20.5",
    ...
  },
  "overrides": {
    "<name of package that depends on node-tree-sitter>": {
      "node-tree-sitter": "$node-tree-sitter"
    }
  },