From 9b814e8231347d6588dbefddf324e68b5298b0ff Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 14 Aug 2023 17:32:03 +0100 Subject: [PATCH 1/4] updating build script to get QA core working again --- scripts/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.js b/scripts/build.js index b93ae1bbe6..f0a5966535 100755 --- a/scripts/build.js +++ b/scripts/build.js @@ -25,10 +25,10 @@ function runBuild(entry, outfile) { if (!fs.existsSync("../pro/src")) { // If we don't have pro, we cannot bundle backend-core. // Otherwise, the main context will not be shared between libraries - delete tsconfigPathPluginContent.compilerOptions.paths[ + delete tsconfigPathPluginContent?.compilerOptions?.paths[ "@budibase/backend-core" ] - delete tsconfigPathPluginContent.compilerOptions.paths[ + delete tsconfigPathPluginContent?.compilerOptions?.paths[ "@budibase/backend-core/*" ] } From e7fd37c156719b2bc219a0c42e3dc0c522ed1eba Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Mon, 14 Aug 2023 16:32:30 +0000 Subject: [PATCH 2/4] Bump version to 2.9.24 --- lerna.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerna.json b/lerna.json index 0df96afd31..4e08cb9459 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.9.23", + "version": "2.9.24", "npmClient": "yarn", "packages": [ "packages/*" From b80c7d7fabab8ef41825c6c1a1147644cf1b1217 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 14 Aug 2023 17:44:24 +0100 Subject: [PATCH 3/4] add paths to the optional chaining --- scripts/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.js b/scripts/build.js index f0a5966535..3d1f65ff76 100755 --- a/scripts/build.js +++ b/scripts/build.js @@ -25,10 +25,10 @@ function runBuild(entry, outfile) { if (!fs.existsSync("../pro/src")) { // If we don't have pro, we cannot bundle backend-core. // Otherwise, the main context will not be shared between libraries - delete tsconfigPathPluginContent?.compilerOptions?.paths[ + delete tsconfigPathPluginContent?.compilerOptions?.paths?.[ "@budibase/backend-core" ] - delete tsconfigPathPluginContent?.compilerOptions?.paths[ + delete tsconfigPathPluginContent?.compilerOptions?.paths?.[ "@budibase/backend-core/*" ] } From f487a4d3caf938ac2beb2da9bdc6811c4dbf5d53 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Mon, 14 Aug 2023 16:46:07 +0000 Subject: [PATCH 4/4] Bump version to 2.9.25 --- lerna.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerna.json b/lerna.json index 4e08cb9459..7f64cf74d1 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.9.24", + "version": "2.9.25", "npmClient": "yarn", "packages": [ "packages/*"