diff --git a/keyserver/addons/rust-node-addon/package.json b/keyserver/addons/rust-node-addon/package.json index d6203ff8c..3897fd851 100644 --- a/keyserver/addons/rust-node-addon/package.json +++ b/keyserver/addons/rust-node-addon/package.json @@ -1,43 +1,43 @@ { "workspaces": { "nohoist": [ "@napi-rs/cli" ] }, "private": true, "name": "rust-node-addon", "version": "0.0.1", "main": "index.js", "type": "module", "napi": { "name": "rust-node-addon", "triples": { "defaults": false, "additional": [ "x86_64-apple-darwin", "aarch64-apple-darwin", "x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu" ] } }, "license": "BSD-3-Clause", "dependencies": { "invariant": "^2.2.4" }, "devDependencies": { "@napi-rs/cli": "^2.13.0" }, "engines": { "node": ">= 16" }, "scripts": { "artifacts": "napi artifacts", - "build": "yarn install-ci-deps && napi build --platform napi --release", - "build:debug": "napi build --platform napi", + "build": "napi build --platform napi --release", + "build:debug": "yarn install-ci-deps && napi build --platform napi", "version": "napi version", "postinstall": "bash ./postinstall.sh", "clean": "rm -rf target/ && rm -rf napi/ && rm -rf node_modules/", "install-ci-deps": "bash ./install_ci_deps.sh" } } diff --git a/keyserver/addons/rust-node-addon/postinstall.sh b/keyserver/addons/rust-node-addon/postinstall.sh index 0083aae04..88493d9db 100755 --- a/keyserver/addons/rust-node-addon/postinstall.sh +++ b/keyserver/addons/rust-node-addon/postinstall.sh @@ -1,10 +1,10 @@ #!/usr/bin/env bash set -Eeuo pipefail # Skip Windows if [[ "$OSTYPE" == "msys" ]]; then exit 0 fi -yarn build +yarn build:debug