From 4e316dcf60c0eccae8d6e0e8d9a4118622bda908 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Tue, 24 Sep 2024 10:29:23 -0700 Subject: [PATCH] Fix tauri-before-build --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9f9ce15b..f9cfb603 100644 --- a/package.json +++ b/package.json @@ -18,14 +18,14 @@ "scripts": { "app-build": "tauri build", "app-dev": "tauri dev --no-watch --config ./src-tauri/tauri-dev.conf.json", - "bootstrap": "run-p bootstrap:* && npm run -w plugin-runtime build", + "bootstrap": "run-p bootstrap:* && npm run --workspace plugin-runtime build", "bootstrap:vendor-node": "node scripts/vendor-node.cjs", "bootstrap:vendor-plugins": "node scripts/vendor-plugins.cjs", "bootstrap:vendor-protoc": "node scripts/vendor-protoc.cjs", "lint": "npm run --workspaces --if-present lint", "replace-version": "node scripts/replace-version.cjs", "tauri": "tauri", - "tauri-before-build": "npm run bootstrap", + "tauri-before-build": "npm run bootstrap && npm run --workspaces --if-present build", "tauri-before-dev": "npm run --workspaces --if-present dev" }, "devDependencies": {