orca/config/scripts
Neil ae2958ace0
fix(install): regenerate cpu-features buildcheck.gypi before rebuild (#1387)
* fix(install): regenerate cpu-features buildcheck.gypi before rebuild

cpu-features@0.0.10 ships without buildcheck.gypi and relies on its
own install script to generate it via `node buildcheck.js` before
node-gyp runs. @electron/rebuild with force:true calls node-gyp
directly and bypasses that hook, so a missing gypi (fresh install,
store prune, or prior failed run) aborts postinstall with
"buildcheck.gypi not found".

Generate the file ourselves for every cpu-features copy under .pnpm/
before invoking @electron/rebuild on platforms where cpu-features is
not in ignoreModules.

Co-authored-by: Orca <help@stably.ai>

* fix(install): satisfy oxlint curly rule

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Orca <help@stably.ai>
2026-05-04 00:49:15 -07:00
..
build-relay.mjs Revert sparse checkout worktree creation (#1290) 2026-04-30 15:47:40 -07:00
install-dev-cli.mjs chore: reduce root-directory clutter (#1275) 2026-04-30 00:09:46 -07:00
orca-dev chore: reduce root-directory clutter (#1275) 2026-04-30 00:09:46 -07:00
rebuild-native-deps.mjs fix(install): regenerate cpu-features buildcheck.gypi before rebuild (#1387) 2026-05-04 00:49:15 -07:00
run-electron-vite-build.mjs refactor: reorganize project structure for build assets and scripts (#419) 2026-04-09 12:28:52 -07:00
run-electron-vite-dev.mjs feat(orchestration): add inter-agent orchestration system (#1188) 2026-04-28 12:21:31 -07:00
terminal-e2e-helpers.mjs fix: default LANG to UTF-8 for terminal character display (#423) 2026-04-09 14:02:02 -07:00
verify-macos-release-env.mjs refactor: reorganize project structure for build assets and scripts (#419) 2026-04-09 12:28:52 -07:00