mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-05 08:06:02 +00:00
Move tree-sitter-swift to optionalDependencies so npm doesn't abort when its native build fails. The postinstall script now handles the case where npm removes the package after a failed build by re-installing with --ignore-scripts, then patching and rebuilding. Also fixes JSON.parse crash on binding.gyp trailing commas and uses createRequire for conditional imports in ESM context. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| patch-tree-sitter-swift.cjs | ||