From a7a3fe5840f673f5e6cfba5f91c4552eff7a020e Mon Sep 17 00:00:00 2001 From: Sebastian Danielsson Date: Sat, 26 Sep 2026 12:14:38 +0200 Subject: [PATCH] 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) Claude-Session: https://claude.ai/code/session_017s2w39tKNdBdD8kyfThuLy --- pnpm-workspace.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index c990fc6d..f0e7140f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -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: