Missing: no distributable artifacts (prebuilds/, *.wasm) #19
Clément DELALANDE opened 2 days ago

Summary

The package advertises distributable artifacts in package.json files[], but none exist:

"files": [
  "grammar.js",
  "tree-sitter.json",
  "binding.gyp",
  "prebuilds/**",     <- missing
  "bindings/node/*",
  "queries/*",
  "src/**",
  "*.wasm"             <- missing
]

Verified:

$ ls prebuilds    → No such file or directory
$ ls *.wasm       → No such file or directory

Both prebuilds/ and *.wasm are gitignored (.gitignore), so they are never committed. package.json install script runs node-gyp-build, which requires a C toolchain and node-gyp — consumers without one cannot install.

Expected

  • Build and commit *.wasm (tree-sitter build --wasm) for Zed/ed-tree-sitter consumers.
  • Build and commit prebuilds/<platform>-<arch>/tree-sitter-gate.node native bindings for supported platforms, so npm install works without a C toolchain.

Files

  • package.json — files[]
  • .gitignore — stop ignoring prebuilds/ and *.wasm once committed
  • package.json — scripts (build artifacts)
1/1
Type
Improvement
Priority
Normal
Assignees
Not assigned
Issue Votes (0)
Watchers (1)
Reference
gate/tree-sitter-gate#19
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover