singularity-forge/native/npm/linux-x64-gnu/package.json
Lex Christopherson bd8380315c feat: per-platform optional dependencies for native binary distribution
Add the esbuild/swc pattern for distributing platform-specific native
binaries via npm optional dependencies. Each supported platform gets its
own @gsd/engine-{platform} package containing just the .node binary.

- 5 platform package stubs (darwin-arm64, darwin-x64, linux-x64-gnu,
  linux-arm64-gnu, win32-x64-msvc) with os/cpu filters
- Rewritten native loader: tries npm package first, then local build
- Version sync script keeps platform packages in lock-step with root
- GitHub Actions workflow for cross-platform build + publish on tag push

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-13 14:36:18 -06:00

20 lines
372 B
JSON

{
"name": "@gsd/engine-linux-x64-gnu",
"version": "2.10.2",
"description": "GSD native engine binary for Linux x64 (glibc)",
"os": [
"linux"
],
"cpu": [
"x64"
],
"main": "gsd_engine.node",
"files": [
"gsd_engine.node"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/gsd-build/gsd-2.git"
}
}