diff --git a/crates/node/package.json b/crates/node/package.json index f66116db6..9019f6d2f 100644 --- a/crates/node/package.json +++ b/crates/node/package.json @@ -40,11 +40,11 @@ "access": "public" }, "scripts": { - "artifacts": "npx napi artifacts", - "build": "npx napi build --platform --release --no-const-enum", + "artifacts": "napi artifacts", + "build": "napi build --platform --release --no-const-enum", "dev": "cargo watch --quiet --shell 'npm run build'", - "build:debug": "npx napi build --platform --no-const-enum", - "version": "npx napi version" + "build:debug": "napi build --platform --no-const-enum", + "version": "napi version" }, "optionalDependencies": { "@tailwindcss/oxide-android-arm64": "workspace:*", diff --git a/turbo.json b/turbo.json index 1998a869f..9dbd52890 100644 --- a/turbo.json +++ b/turbo.json @@ -41,5 +41,8 @@ "cache": false, "persistent": true } - } + }, + // If rustup is installed outside of the default ~/.rustup directory, we need + // to pass the path through to the individual rust tasks. + "globalPassThroughEnv": ["RUSTUP_HOME"] }