diff --git a/packages/builder/tsconfig.build.json b/packages/builder/tsconfig.build.json index 506a50fc27..119fe56c81 100644 --- a/packages/builder/tsconfig.build.json +++ b/packages/builder/tsconfig.build.json @@ -1,5 +1,8 @@ { "extends": "../../tsconfig.build.json", + "compilerOptions": { + "allowJs": true + }, "include": ["./src/**/*"], "exclude": ["node_modules", "**/*.json", "**/*.spec.ts", "**/*.spec.js"] } diff --git a/packages/server/src/api/routes/tests/queries/generic-sql.spec.ts b/packages/server/src/api/routes/tests/queries/generic-sql.spec.ts index e7ddc0df22..13dd1b719b 100644 --- a/packages/server/src/api/routes/tests/queries/generic-sql.spec.ts +++ b/packages/server/src/api/routes/tests/queries/generic-sql.spec.ts @@ -3,7 +3,7 @@ import { DatabaseName, datasourceDescribe, } from "../../../../integrations/tests/utils" -import { Expectations } from "src/tests/utilities/api/base" +import { Expectations } from "../../../../tests/utilities/api/base" import { events } from "@budibase/backend-core" import { Knex } from "knex" import { generator } from "@budibase/backend-core/tests" diff --git a/packages/server/src/api/routes/tests/utilities/TestFunctions.ts b/packages/server/src/api/routes/tests/utilities/TestFunctions.ts index 6fa9e054b9..9d5417d041 100644 --- a/packages/server/src/api/routes/tests/utilities/TestFunctions.ts +++ b/packages/server/src/api/routes/tests/utilities/TestFunctions.ts @@ -4,7 +4,7 @@ import { AppStatus } from "../../../../db/utils" import { roles, tenancy, context, db } from "@budibase/backend-core" import env from "../../../../environment" import Nano from "@budibase/nano" -import TestConfiguration from "src/tests/utilities/TestConfiguration" +import TestConfiguration from "../../../../tests/utilities/TestConfiguration" class Request { appId: any diff --git a/packages/server/tsconfig.build.json b/packages/server/tsconfig.build.json index 77026b8258..f4a11a9de9 100644 --- a/packages/server/tsconfig.build.json +++ b/packages/server/tsconfig.build.json @@ -1,5 +1,9 @@ { "extends": "../../tsconfig.build.json", + "compilerOptions": { + "allowArbitraryExtensions": true, + "isolatedModules": false + }, "include": ["src/**/*"], "exclude": [ "node_modules",