From 6fd45839c01e134c6ba037b2320125090a98f3bd Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 11 Dec 2024 15:09:20 +0100 Subject: [PATCH 1/4] Don't minify client on dev mode --- packages/client/package.json | 2 +- packages/client/vite.config.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/package.json b/packages/client/package.json index 7c266bba1d..2ae049f6d0 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -16,7 +16,7 @@ }, "scripts": { "build": "vite build", - "dev": "vite build --watch" + "dev": "vite build --watch --mode=dev" }, "dependencies": { "@budibase/bbui": "*", diff --git a/packages/client/vite.config.mjs b/packages/client/vite.config.mjs index 9c623b709f..22f451fadd 100644 --- a/packages/client/vite.config.mjs +++ b/packages/client/vite.config.mjs @@ -25,8 +25,8 @@ export default defineConfig(({ mode }) => { outDir: "dist", name: "budibase_client", fileName: () => "budibase-client.js", - minify: isProduction, }, + minify: isProduction, }, plugins: [ svelte({ From ec27d3ee4e270be6d13e796457991d1b5336b665 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 11 Dec 2024 17:04:13 +0100 Subject: [PATCH 2/4] Fix checking role hierarchy when having a single role --- packages/pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pro b/packages/pro index 977baca179..466e181a1f 160000 --- a/packages/pro +++ b/packages/pro @@ -1 +1 @@ -Subproject commit 977baca179fef1192f8fe051122288a4128f7a63 +Subproject commit 466e181a1f9cc74372077be4482f38e3e4b77492 From 81bf8783f2f1ecee403600407c83f963ddfb50ff Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 12 Dec 2024 10:55:05 +0100 Subject: [PATCH 3/4] Add tests --- packages/pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pro b/packages/pro index 466e181a1f..985e54cb79 160000 --- a/packages/pro +++ b/packages/pro @@ -1 +1 @@ -Subproject commit 466e181a1f9cc74372077be4482f38e3e4b77492 +Subproject commit 985e54cb79aeacc878073ef3db3e447763891989 From 3d74a39408ebdd4712aa537a359c11c7f02b271f Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 12 Dec 2024 12:40:01 +0100 Subject: [PATCH 4/4] Update pro submodule --- packages/pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pro b/packages/pro index 985e54cb79..e7c9f08aeb 160000 --- a/packages/pro +++ b/packages/pro @@ -1 +1 @@ -Subproject commit 985e54cb79aeacc878073ef3db3e447763891989 +Subproject commit e7c9f08aeb0498a20594f3c912afedcfdc220a6a