From c565873f15f50b87c3fd5cba8c45c277c3dd40f8 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 17 May 2023 12:55:04 +0200 Subject: [PATCH] Fix manifest usage --- .github/workflows/budibase_ci.yml | 2 +- packages/server/src/utilities/fileSystem/app.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index 930d8784883..d05497c3a8c 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -59,7 +59,7 @@ jobs: node-version: 14.x cache: "yarn" - run: yarn - - run: yarn build --scope=@budibase/types --scope=@budibase/shared-core --scope=@budibase/string-templates --scope=@budibase/client + - run: yarn build --scope=@budibase/types --scope=@budibase/shared-core --scope=@budibase/string-templates - run: yarn test --ignore=@budibase/pro - uses: codecov/codecov-action@v3 with: diff --git a/packages/server/src/utilities/fileSystem/app.ts b/packages/server/src/utilities/fileSystem/app.ts index f5e1f6e40ed..0decf73a54d 100644 --- a/packages/server/src/utilities/fileSystem/app.ts +++ b/packages/server/src/utilities/fileSystem/app.ts @@ -35,7 +35,7 @@ export const getComponentLibraryManifest = async (library: string) => { const filename = "manifest.json" if (env.isDev() || env.isTest()) { - const path = join(NODE_MODULES_PATH, "@budibase", "client", filename) + const path = join(TOP_LEVEL_PATH, "../client", filename) // always load from new so that updates are refreshed delete require.cache[require.resolve(path)] return require(path)