From a3bcaddabbca7d02f5ba306b9b98ebf34e61dfa9 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 14 Jan 2025 16:05:14 +0100 Subject: [PATCH 1/3] Re-add tests files in backend-core/dist --- packages/backend-core/package.json | 2 +- packages/backend-core/tsconfig.test.json | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 packages/backend-core/tsconfig.test.json diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 3e1b5f324b..1ab05cd14b 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -21,7 +21,7 @@ "scripts": { "prebuild": "rimraf dist/", "prepack": "cp package.json dist", - "build": "node ./scripts/build.js && tsc -p tsconfig.build.json --emitDeclarationOnly --paths null", + "build": "node ./scripts/build.js && tsc -p tsconfig.build.json --emitDeclarationOnly --paths null && tsc -p tsconfig.test.json --paths null", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", "build:oss": "node ./scripts/build.js", "check:types": "tsc -p tsconfig.json --noEmit --paths null", diff --git a/packages/backend-core/tsconfig.test.json b/packages/backend-core/tsconfig.test.json new file mode 100644 index 0000000000..48322b7a94 --- /dev/null +++ b/packages/backend-core/tsconfig.test.json @@ -0,0 +1,8 @@ +{ + "extends": "../../tsconfig.build.json", + "compilerOptions": { + "outDir": "dist" + }, + "include": ["tests/**/*.js", "tests/**/*.ts"], + "exclude": ["node_modules", "dist"] +} From bc1e95b012aa357fa646ccecffd1bb65cc0624fb Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 14 Jan 2025 16:15:24 +0100 Subject: [PATCH 2/3] Add sourcemap --- packages/backend-core/tsconfig.test.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/backend-core/tsconfig.test.json b/packages/backend-core/tsconfig.test.json index 48322b7a94..0e3e7a79b2 100644 --- a/packages/backend-core/tsconfig.test.json +++ b/packages/backend-core/tsconfig.test.json @@ -1,7 +1,8 @@ { "extends": "../../tsconfig.build.json", "compilerOptions": { - "outDir": "dist" + "outDir": "dist", + "sourceMap": true }, "include": ["tests/**/*.js", "tests/**/*.ts"], "exclude": ["node_modules", "dist"] From 2acbf29e625f60452adb3a8f2f696b05641f1939 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Tue, 14 Jan 2025 16:20:54 +0000 Subject: [PATCH 3/3] Bump version to 3.2.42 --- lerna.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerna.json b/lerna.json index e8cd581c98..d0f0bd23c5 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "3.2.41", + "version": "3.2.42", "npmClient": "yarn", "concurrency": 20, "command": {