From 4878b3a23c63b3a738c9fb5c1bd3de03abd5fc38 Mon Sep 17 00:00:00 2001 From: Wojciech Duda <69160975+wojd0@users.noreply.github.com> Date: Thu, 4 Jul 2024 17:48:42 +0200 Subject: [PATCH] patch in legacy builds --- lib/js-api/project.json | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/lib/js-api/project.json b/lib/js-api/project.json index ffbe636611..0e1d658fb4 100644 --- a/lib/js-api/project.json +++ b/lib/js-api/project.json @@ -27,12 +27,25 @@ } } }, + "build-all": { + "executor": "nx:run-commands", + "options": { + "commands": [ + "npm run js_api_build" + ] + } + }, "publish": { "executor": "nx:run-commands", "options": { "command": "node tools/scripts/publish.mjs lib-js-api {args.ver} {args.tag}" }, - "dependsOn": ["build"] + "dependsOn": [ + { + "projects": "self", + "target": "build-all" + } + ] }, "lint": { "executor": "@nrwl/linter:eslint", @@ -66,7 +79,7 @@ "dependsOn": [ { "projects": "self", - "target": "build" + "target": "build-all" } ] },