diff --git a/lerna.json b/lerna.json index 5b6befa6ad..23f317631e 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.9.123-alpha.7", + "version": "0.9.124", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/auth/package.json b/packages/auth/package.json index 7946c057eb..ffb348f758 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/auth", - "version": "0.9.123-alpha.7", + "version": "0.9.124", "description": "Authentication middlewares for budibase builder and apps", "main": "src/index.js", "author": "Budibase", diff --git a/packages/bbui/package.json b/packages/bbui/package.json index 96c86d8f86..3cbd86bbe3 100644 --- a/packages/bbui/package.json +++ b/packages/bbui/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/bbui", "description": "A UI solution used in the different Budibase projects.", - "version": "0.9.123-alpha.7", + "version": "0.9.124", "license": "AGPL-3.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", diff --git a/packages/builder/package.json b/packages/builder/package.json index a23222b336..d81cb8928d 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "0.9.123-alpha.7", + "version": "0.9.124", "license": "AGPL-3.0", "private": true, "scripts": { @@ -65,10 +65,10 @@ } }, "dependencies": { - "@budibase/bbui": "^0.9.123-alpha.7", - "@budibase/client": "^0.9.123-alpha.7", + "@budibase/bbui": "^0.9.124", + "@budibase/client": "^0.9.124", "@budibase/colorpicker": "1.1.2", - "@budibase/string-templates": "^0.9.123-alpha.7", + "@budibase/string-templates": "^0.9.124", "@sentry/browser": "5.19.1", "@spectrum-css/page": "^3.0.1", "@spectrum-css/vars": "^3.0.1", diff --git a/packages/cli/package.json b/packages/cli/package.json index 20bb85a0ef..166aafe3c3 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "0.9.123-alpha.7", + "version": "0.9.124", "description": "Budibase CLI, for developers, self hosting and migrations.", "main": "src/index.js", "bin": { diff --git a/packages/client/package.json b/packages/client/package.json index 8e54a9ed05..ffd969d74b 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "0.9.123-alpha.7", + "version": "0.9.124", "license": "MPL-2.0", "module": "dist/budibase-client.js", "main": "dist/budibase-client.js", @@ -19,8 +19,9 @@ "dev:builder": "rollup -cw" }, "dependencies": { - "@budibase/bbui": "^0.9.123-alpha.7", - "@budibase/string-templates": "^0.9.123-alpha.7", + "@budibase/bbui": "^0.9.124", + "@budibase/standard-components": "^0.9.124", + "@budibase/string-templates": "^0.9.124", "regexparam": "^1.3.0", "shortid": "^2.2.15", "svelte-spa-router": "^3.0.5" diff --git a/packages/server/package.json b/packages/server/package.json index 63ed96e47e..1d924bb7de 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "0.9.123-alpha.7", + "version": "0.9.124", "description": "Budibase Web Server", "main": "src/index.js", "repository": { @@ -61,9 +61,9 @@ "author": "Budibase", "license": "AGPL-3.0-or-later", "dependencies": { - "@budibase/auth": "^0.9.123-alpha.7", - "@budibase/client": "^0.9.123-alpha.7", - "@budibase/string-templates": "^0.9.123-alpha.7", + "@budibase/auth": "^0.9.124", + "@budibase/client": "^0.9.124", + "@budibase/string-templates": "^0.9.124", "@elastic/elasticsearch": "7.10.0", "@koa/router": "8.0.0", "@sendgrid/mail": "7.1.1", @@ -116,7 +116,7 @@ "devDependencies": { "@babel/core": "^7.14.3", "@babel/preset-env": "^7.14.4", - "@budibase/client": "^0.9.123-alpha.1", + "@budibase/standard-components": "^0.9.124", "@jest/test-sequencer": "^24.8.0", "@types/bull": "^3.15.1", "@types/jest": "^26.0.23", diff --git a/packages/standard-components/package.json b/packages/standard-components/package.json new file mode 100644 index 0000000000..20c1a1db8b --- /dev/null +++ b/packages/standard-components/package.json @@ -0,0 +1,49 @@ +{ + "name": "@budibase/standard-components", + "module": "dist/standard-components.es.js", + "main": "dist/standard-components.es.js", + "svelte": "src/index.js", + "exports": { + ".": { + "import": "./dist/standard-components.es.js", + "require": "./dist/standard-components.es.js" + }, + "./package.json": "./package.json", + "./manifest.json": "./manifest.json" + }, + "scripts": { + "build": "vite build", + "prepublishOnly": "yarn run build", + "postpublish": "node scripts/deploy.js" + }, + "files": [ + "manifest.json", + "package.json", + "dist" + ], + "devDependencies": { + "@sveltejs/vite-plugin-svelte": "^1.0.0-next.5", + "svelte": "^3.38.2", + "vite": "^2.1.5" + }, + "keywords": [ + "svelte" + ], + "version": "0.9.124", + "license": "MIT", + "gitHead": "d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc", + "dependencies": { + "@budibase/bbui": "^0.9.124", + "@spectrum-css/button": "^3.0.3", + "@spectrum-css/card": "^3.0.3", + "@spectrum-css/divider": "^1.0.3", + "@spectrum-css/link": "^3.1.3", + "@spectrum-css/page": "^3.0.1", + "@spectrum-css/typography": "^3.0.2", + "@spectrum-css/vars": "^3.0.1", + "apexcharts": "^3.22.1", + "dayjs": "^1.10.5", + "svelte-apexcharts": "^1.0.2", + "svelte-flatpickr": "^3.1.0" + } +} diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index a404bc9b22..b060f4e45b 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "0.9.123-alpha.7", + "version": "0.9.124", "description": "Handlebars wrapper for Budibase templating.", "main": "src/index.cjs", "module": "dist/bundle.mjs", diff --git a/packages/worker/package.json b/packages/worker/package.json index 3440b11e15..767613631c 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "0.9.123-alpha.7", + "version": "0.9.124", "description": "Budibase background service", "main": "src/index.js", "repository": { @@ -23,8 +23,8 @@ "author": "Budibase", "license": "AGPL-3.0-or-later", "dependencies": { - "@budibase/auth": "^0.9.123-alpha.7", - "@budibase/string-templates": "^0.9.123-alpha.7", + "@budibase/auth": "^0.9.124", + "@budibase/string-templates": "^0.9.124", "@koa/router": "^8.0.0", "@techpass/passport-openidconnect": "^0.3.0", "aws-sdk": "^2.811.0", diff --git a/packages/worker/src/api/routes/global/auth.js b/packages/worker/src/api/routes/global/auth.js index 5e39f79135..9cd77ce153 100644 --- a/packages/worker/src/api/routes/global/auth.js +++ b/packages/worker/src/api/routes/global/auth.js @@ -61,6 +61,9 @@ router updateTenant, authController.googlePreAuth ) + // single tenancy endpoint + .get("/api/global/auth/google/callback", authController.googleAuth) + // multi-tenancy endpoint .get( "/api/global/auth/:tenantId/google/callback", updateTenant, @@ -71,6 +74,9 @@ router updateTenant, authController.oidcPreAuth ) + // single tenancy endpoint + .get("/api/global/auth/oidc/callback", authController.oidcAuth) + // multi-tenancy endpoint .get( "/api/global/auth/:tenantId/oidc/callback", updateTenant,