mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 05:51:44 +03:00
build: stop compiling tree-sitter's native addon
curlconverter depends on tree-sitter and tree-sitter-bash for its Node shell parser, but the app only uses curlconverter in the browser, where its `browser` field swaps in web-tree-sitter (WASM). The native addon is never loaded. Building it anyway broke installs: tree-sitter 0.21 ships prebuilds only for darwin-x64 and win32-x64, so Linux compiles it from source, and its C++17 flags fail against Node 24.21's headers, which require C++20. That is what failed pnpm install on the arm64 runners. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017s2w39tKNdBdD8kyfThuLy
This commit is contained in:
1 parent
f375ba8629
commit
a7a3fe5840
1 file changed
+6
-2
+6
-2
@@ -38,8 +38,12 @@ allowBuilds:
|
||||
protobufjs: false
|
||||
sharp: false
|
||||
tesseract.js: false
|
||||
tree-sitter: true
|
||||
tree-sitter-bash: true
|
||||
# Native Node bindings for curlconverter's shell parser. The app only uses
|
||||
# curlconverter in the browser, where its `browser` field swaps in
|
||||
# web-tree-sitter (WASM), so the addon is never loaded. There is no
|
||||
# linux-arm64 prebuild, and compiling it fails against Node 24's C++20 headers.
|
||||
tree-sitter: false
|
||||
tree-sitter-bash: false
|
||||
vue-demi: true
|
||||
|
||||
minimumReleaseAgeExclude:
|
||||
|
||||
Reference in new issue
Block a user