diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e1081904a0..87fe57ebf8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,8 @@ name: Budibase Release on: - # Trigger the workflow on push, - # but only for the release branch + # Trigger the workflow on push with tags, + # but only for the master branch push: branches: - master @@ -25,10 +25,10 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: yarn - # - run: yarn lint + - run: yarn lint - run: yarn bootstrap - run: yarn build - # - run: yarn test + - run: yarn test - name: Prepare for app notarization (macOS) if: startsWith(matrix.os, 'macos') diff --git a/package.json b/package.json index 5e276685b9..443c8cccc3 100644 --- a/package.json +++ b/package.json @@ -30,4 +30,4 @@ "@material/icon-button": "4.0.0", "date-fns": "^2.10.0" } -} +} \ No newline at end of file diff --git a/packages/builder/.gitignore b/packages/builder/.gitignore index 6e90239f92..94ba827047 100644 --- a/packages/builder/.gitignore +++ b/packages/builder/.gitignore @@ -4,4 +4,5 @@ node_modules_win package-lock.json yarn.lock release/ -dist/ \ No newline at end of file +dist/ +routify diff --git a/packages/builder/assets/bb-logo.svg b/packages/builder/assets/bb-logo.svg new file mode 100644 index 0000000000..7d115faefc --- /dev/null +++ b/packages/builder/assets/bb-logo.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/packages/builder/package.json b/packages/builder/package.json index 4e639f2eeb..5d06fee71d 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -4,11 +4,11 @@ "license": "AGPL-3.0", "private": true, "scripts": { - "build": "rollup -c", - "start": "routify -c rollup", + "build": "routify --routify-dir routify -b && rollup -c", + "start": "routify --routify-dir routify -c rollup", "test": "jest", "test:watch": "jest --watchAll", - "dev:builder": "routify -c rollup", + "dev:builder": "routify --routify-dir routify -c rollup", "rollup": "rollup -c -w" }, "jest": { @@ -60,7 +60,7 @@ "@babel/runtime": "^7.5.5", "@rollup/plugin-alias": "^3.0.1", "@rollup/plugin-json": "^4.0.3", - "@sveltech/routify": "1.5.0-beta.40", + "@sveltech/routify": "1.7.11", "babel-jest": "^24.8.0", "browser-sync": "^2.26.7", "http-proxy-middleware": "^0.19.1", @@ -83,4 +83,4 @@ "svelte-color-picker": "^1.0.7" }, "gitHead": "115189f72a850bfb52b65ec61d932531bf327072" -} +} \ No newline at end of file diff --git a/packages/builder/src/App.svelte b/packages/builder/src/App.svelte index 86c7580a56..c6b76090f9 100644 --- a/packages/builder/src/App.svelte +++ b/packages/builder/src/App.svelte @@ -2,7 +2,7 @@ import Modal from "svelte-simple-modal" import { onMount } from "svelte" import { Router, basepath } from "@sveltech/routify" - import { routes } from "@sveltech/routify/tmp/routes" + import { routes } from "../routify/routes" import { store, initialise } from "builderStore" import AppNotification, { showAppNotification, diff --git a/packages/builder/src/budibase.css b/packages/builder/src/budibase.css index 48b6d2d7f3..f433b016da 100644 --- a/packages/builder/src/budibase.css +++ b/packages/builder/src/budibase.css @@ -62,14 +62,14 @@ margin: 5px 20px 5px 0px; border-radius: 0 5px 5px 0; display: flex; - align-items: baseline; + align-items: center; font-weight: 500; font-size: 13px; } .budibase__nav-item.selected { color: var(--button-text); - background: #fafafa !important; + background: #f1f4fc; } .budibase__nav-item:hover { diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte index 56b0af8814..bd733fb245 100644 --- a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte +++ b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte @@ -51,7 +51,6 @@
- {#each _screens as screen}