diff --git a/lerna.json b/lerna.json index aa444d861c..a5851dcc31 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.0.16", + "version": "0.0.24", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/bootstrap-components/package.json b/packages/bootstrap-components/package.json index e13101c1b2..b93b2e88a5 100644 --- a/packages/bootstrap-components/package.json +++ b/packages/bootstrap-components/package.json @@ -12,7 +12,7 @@ "publishdev": "yarn build && node ./scripts/publishDev.js" }, "devDependencies": { - "@budibase/client": "^0.0.16", + "@budibase/client": "^0.0.24", "fs-extra": "^8.1.0", "lodash": "^4.17.15", "npm-run-all": "^4.1.5", @@ -30,7 +30,7 @@ "keywords": [ "svelte" ], - "version": "0.0.16", + "version": "0.0.24", "license": "MIT", "gitHead": "115189f72a850bfb52b65ec61d932531bf327072" } diff --git a/packages/builder/package.json b/packages/builder/package.json index 904a609ca6..a09ac67db8 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,7 +1,8 @@ { "name": "@budibase/builder", - "version": "0.0.16", + "version": "0.0.24", "license": "AGPL-3.0", + "private": true, "scripts": { "build": "rollup -c", "start": "rollup -c -w", @@ -34,7 +35,7 @@ ] }, "dependencies": { - "@budibase/client": "^0.0.16", + "@budibase/client": "^0.0.24", "@nx-js/compiler-util": "^2.0.0", "codemirror": "^5.51.0", "date-fns": "^1.29.0", diff --git a/packages/builder/rollup.config.js b/packages/builder/rollup.config.js index 10e6e866ea..183dba265c 100644 --- a/packages/builder/rollup.config.js +++ b/packages/builder/rollup.config.js @@ -16,17 +16,20 @@ const _builderProxy = proxy("/_builder", { pathRewrite: { "^/_builder": "" }, }) -const apiProxy = proxy(["/_builder/api/**", "/_builder/**/componentlibrary"], { - target, - logLevel: "debug", - changeOrigin: true, - cookieDomainRewrite: true, - onProxyReq(proxyReq) { - if (proxyReq.getHeader("origin")) { - proxyReq.setHeader("origin", target) - } - }, -}) +const apiProxy = proxy( + ["/_builder/assets/**", "/_builder/api/**", "/_builder/**/componentlibrary"], + { + target, + logLevel: "debug", + changeOrigin: true, + cookieDomainRewrite: true, + onProxyReq(proxyReq) { + if (proxyReq.getHeader("origin")) { + proxyReq.setHeader("origin", target) + } + }, + } +) const production = !process.env.ROLLUP_WATCH diff --git a/packages/builder/src/PackageRoot.svelte b/packages/builder/src/PackageRoot.svelte index 6652c74a1f..ce87fe65e9 100644 --- a/packages/builder/src/PackageRoot.svelte +++ b/packages/builder/src/PackageRoot.svelte @@ -10,7 +10,7 @@
Please create a new screen
{/if}