From aa942006dafe971a37dc7639179b1775ee552b86 Mon Sep 17 00:00:00 2001 From: Ford Date: Thu, 28 Apr 2022 18:33:32 -0700 Subject: [PATCH] indexer-native: Declare support for ARM - ARM machines can build the module from source - Pre-compiling to ARM targets is still not operational, so 'npm i -g' will likely not work on ARM machines --- packages/indexer-native/package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/indexer-native/package.json b/packages/indexer-native/package.json index c098d5b97..c52a869f8 100644 --- a/packages/indexer-native/package.json +++ b/packages/indexer-native/package.json @@ -21,8 +21,12 @@ "linux" ], "cpu": [ - "x64" + "x64", + "arm" ], + "engines": { + "node": ">=12.22.0" + }, "scripts": { "build": "cd native && cargo-cp-artifact -a cdylib indexer_native ../binary/index.node -- cargo build --message-format=json-render-diagnostics", "build-debug": "yarn build --",