From 6f3f9a7f1b448bdf59bd0634ad822f43d5706fb1 Mon Sep 17 00:00:00 2001 From: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com> Date: Mon, 31 Oct 2022 15:16:22 +0100 Subject: [PATCH] Fix rebuild script (#1344) --- .changes/fix-rebuild-script.md | 6 ++++++ client/bindings/nodejs/package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/fix-rebuild-script.md diff --git a/.changes/fix-rebuild-script.md b/.changes/fix-rebuild-script.md new file mode 100644 index 000000000..7d4595796 --- /dev/null +++ b/.changes/fix-rebuild-script.md @@ -0,0 +1,6 @@ + +--- +"nodejs-binding": patch +--- + +Fix rebuild script. diff --git a/client/bindings/nodejs/package.json b/client/bindings/nodejs/package.json index 0e4c65573..664897bfb 100644 --- a/client/bindings/nodejs/package.json +++ b/client/bindings/nodejs/package.json @@ -24,7 +24,7 @@ "install": "prebuild-install --tag-prefix nodejs-binding-v || npm run rebuild", "build": "npm run build:neon && tsc", "build:neon": "cargo-cp-artifact -nc ./index.node -- cargo build --release --message-format=json-render-diagnostics", - "rebuild": "npm run build:neon && tsc && node scripts/strip.js", + "rebuild": "npm run build:neon && tsc && node scripts/node-neon-build.js --strip && node scripts/strip.js", "prebuild:node": "prebuild --prepack scripts/node-neon-build.js --strip", "prebuild:electron": "node scripts/electron-prebuild.js", "docs-wiki-build": "typedoc --githubPages false --disableSources --excludePrivate --excludeInternal --excludeNotDocumented --plugin typedoc-plugin-markdown --theme markdown --hideBreadcrumbs --entryDocument api_ref.md --readme none --hideGenerator --sort source-order --exclude ./**/src/index.ts --out ../../../documentation/docs/libraries/nodejs/references/ ./lib/index.ts",