Merge branch 'develop' of github.com:Budibase/budibase into develop

This commit is contained in:
mike12345567 2021-08-05 13:39:51 +01:00
commit f93650efbc
13 changed files with 63 additions and 26 deletions

View File

@ -1,5 +1,5 @@
{
"version": "0.9.99-alpha.1",
"version": "0.9.99-alpha.3",
"npmClient": "yarn",
"packages": [
"packages/*"

View File

@ -43,7 +43,7 @@
"test:e2e": "lerna run cy:test",
"test:e2e:ci": "lerna run cy:ci",
"build:docker": "lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh && cd -",
"build:docker:develop": "lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh develop && cd -",
"build:docker:develop": "node scripts/pinVersions && lerna run build:docker && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh develop && cd -",
"multi:enable": "lerna run multi:enable",
"multi:disable": "lerna run multi:disable"
}

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/auth",
"version": "0.9.99-alpha.1",
"version": "0.9.99-alpha.3",
"description": "Authentication middlewares for budibase builder and apps",
"main": "src/index.js",
"author": "Budibase",

View File

@ -1,7 +1,7 @@
{
"name": "@budibase/bbui",
"description": "A UI solution used in the different Budibase projects.",
"version": "0.9.99-alpha.1",
"version": "0.9.99-alpha.3",
"license": "AGPL-3.0",
"svelte": "src/index.js",
"module": "dist/bbui.es.js",

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/builder",
"version": "0.9.99-alpha.1",
"version": "0.9.99-alpha.3",
"license": "AGPL-3.0",
"private": true,
"scripts": {
@ -65,10 +65,10 @@
}
},
"dependencies": {
"@budibase/bbui": "^0.9.99-alpha.1",
"@budibase/client": "^0.9.99-alpha.1",
"@budibase/colorpicker": "1.1.2",
"@budibase/string-templates": "^0.9.99-alpha.1",
"@budibase/bbui": "^0.9.99-alpha.3",
"@budibase/client": "^0.9.99-alpha.3",
"@budibase/colorpicker": "^1.1.2",
"@budibase/string-templates": "^0.9.99-alpha.3",
"@sentry/browser": "5.19.1",
"@spectrum-css/page": "^3.0.1",
"@spectrum-css/vars": "^3.0.1",

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/cli",
"version": "0.9.99-alpha.1",
"version": "0.9.99-alpha.3",
"description": "Budibase CLI, for developers, self hosting and migrations.",
"main": "src/index.js",
"bin": {

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/client",
"version": "0.9.99-alpha.1",
"version": "0.9.99-alpha.3",
"license": "MPL-2.0",
"module": "dist/budibase-client.js",
"main": "dist/budibase-client.js",
@ -18,9 +18,9 @@
"dev:builder": "rollup -cw"
},
"dependencies": {
"@budibase/bbui": "^0.9.99-alpha.1",
"@budibase/standard-components": "^0.9.99-alpha.1",
"@budibase/string-templates": "^0.9.99-alpha.1",
"@budibase/bbui": "^0.9.99-alpha.3",
"@budibase/standard-components": "^0.9.99-alpha.3",
"@budibase/string-templates": "^0.9.99-alpha.3",
"regexparam": "^1.3.0",
"shortid": "^2.2.15",
"svelte-spa-router": "^3.0.5"

View File

@ -1,7 +1,7 @@
{
"name": "@budibase/server",
"email": "hi@budibase.com",
"version": "0.9.99-alpha.1",
"version": "0.9.99-alpha.3",
"description": "Budibase Web Server",
"main": "src/index.js",
"repository": {
@ -62,9 +62,9 @@
"author": "Budibase",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@budibase/auth": "^0.9.99-alpha.1",
"@budibase/client": "^0.9.99-alpha.1",
"@budibase/string-templates": "^0.9.99-alpha.1",
"@budibase/auth": "^0.9.99-alpha.3",
"@budibase/client": "^0.9.99-alpha.3",
"@budibase/string-templates": "^0.9.99-alpha.3",
"@elastic/elasticsearch": "7.10.0",
"@koa/router": "8.0.0",
"@sendgrid/mail": "7.1.1",
@ -117,7 +117,7 @@
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.4",
"@budibase/standard-components": "^0.9.99-alpha.1",
"@budibase/standard-components": "^0.9.99-alpha.3",
"@jest/test-sequencer": "^24.8.0",
"@types/bull": "^3.15.1",
"@types/jest": "^26.0.23",

View File

@ -29,11 +29,11 @@
"keywords": [
"svelte"
],
"version": "0.9.99-alpha.1",
"version": "0.9.99-alpha.3",
"license": "MIT",
"gitHead": "d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc",
"dependencies": {
"@budibase/bbui": "^0.9.99-alpha.1",
"@budibase/bbui": "^0.9.99-alpha.3",
"@spectrum-css/card": "^3.0.3",
"@spectrum-css/divider": "^1.0.3",
"@spectrum-css/link": "^3.1.3",

View File

@ -7,7 +7,7 @@
resolved "https://registry.yarnpkg.com/@adobe/spectrum-css-workflow-icons/-/spectrum-css-workflow-icons-1.2.1.tgz#7e2cb3fcfb5c8b12d7275afafbb6ec44913551b4"
integrity sha512-uVgekyBXnOVkxp+CUssjN/gefARtudZC8duEn1vm0lBQFwGRZFlDEzU1QC+aIRWCrD1Z8OgRpmBYlSZ7QS003w==
"@budibase/bbui@^0.9.96":
"@budibase/bbui@^0.9.98":
version "0.9.98"
resolved "https://registry.yarnpkg.com/@budibase/bbui/-/bbui-0.9.98.tgz#8fe80cc573df204d1a4147ebda5c20322f4616df"
integrity sha512-T03xRq/Kz0/goMNfqsfXymvqhm9jHJQbzWx4oqPtgwIJlb/spx4kEgHS7MWuf3uyagAaFbW2x56Lauoiha8uLQ==

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/string-templates",
"version": "0.9.99-alpha.1",
"version": "0.9.99-alpha.3",
"description": "Handlebars wrapper for Budibase templating.",
"main": "src/index.cjs",
"module": "dist/bundle.mjs",

View File

@ -1,7 +1,7 @@
{
"name": "@budibase/worker",
"email": "hi@budibase.com",
"version": "0.9.99-alpha.1",
"version": "0.9.99-alpha.3",
"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.99-alpha.1",
"@budibase/string-templates": "^0.9.99-alpha.1",
"@budibase/auth": "^0.9.99-alpha.3",
"@budibase/string-templates": "^0.9.99-alpha.3",
"@koa/router": "^8.0.0",
"@techpass/passport-openidconnect": "^0.3.0",
"aws-sdk": "^2.811.0",

37
scripts/pinVersions.js Normal file
View File

@ -0,0 +1,37 @@
const fs = require("fs")
const path = require("path")
const MONOREPO_ROOT = "packages"
const packages = fs.readdirSync(MONOREPO_ROOT)
function pinDeps(dependencies) {
for (let dependency in dependencies) {
if (dependency.startsWith("@budibase")) {
dependencies[dependency] = dependencies[dependency].replace("^", "")
}
}
}
// iterate over the monorepo packages
for (let pkg of packages) {
const pkgPath = path.join(MONOREPO_ROOT, pkg)
// only directories
if (fs.statSync(pkgPath).isDirectory()) {
// get the package JSON file
const pkgJsonPath = path.join(pkgPath, "package.json")
const pkgJson = require(`../${pkgJsonPath}`)
// find any budibase dependencies, and pin them
pinDeps(pkgJson.dependencies)
pinDeps(pkgJson.devDependencies)
// update the package JSON files
fs.writeFileSync(pkgJsonPath, JSON.stringify(pkgJson, null, 2))
}
}
console.log("Pinned dev versions for budibase packages successfully.")