From 22bed49a09c1586ec94ff652f7206b8ed3a2470c Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Tue, 10 Sep 2019 10:25:13 +0100 Subject: [PATCH] packages changes and bugfix --- packages/builder/package.json | 4 +++- packages/builder/src/common/IconButton.svelte | 4 ---- packages/core/AUTHORS.md | 2 +- packages/core/package.json | 4 ++-- packages/server/package.json | 3 ++- readme.md | 8 +++++--- 6 files changed, 13 insertions(+), 12 deletions(-) diff --git a/packages/builder/package.json b/packages/builder/package.json index e6da1eeea0..337a8737b0 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -5,7 +5,9 @@ "scripts": { "build": "rollup -c", "start": "rollup -c -w", - "test": "jest" + "test": "jest", + "dev:builder" :"rollup -c -w" + }, "jest": { "globals": { diff --git a/packages/builder/src/common/IconButton.svelte b/packages/builder/src/common/IconButton.svelte index 79a55c4eb9..47af2b7dad 100644 --- a/packages/builder/src/common/IconButton.svelte +++ b/packages/builder/src/common/IconButton.svelte @@ -8,10 +8,6 @@ export let color = "var(--secondary100)"; export let hoverColor = "var(--secondary75)"; export let attributes = {}; -$: borderClass = grouped - ? "" - : "border-normal"; - let currentAttributes = []; const addAttributes = (node, attributes) => { diff --git a/packages/core/AUTHORS.md b/packages/core/AUTHORS.md index 72ae91578d..aaf032c14c 100644 --- a/packages/core/AUTHORS.md +++ b/packages/core/AUTHORS.md @@ -1,5 +1,5 @@ Contributors === -* Michael Shanks - [@mikebudi](https://github.com/mjashanks) +* Michael Shanks - [@mjashanks](https://github.com/mjashanks) * Daniel Loudon - [@danbudi](https://github.com/danbudi) diff --git a/packages/core/package.json b/packages/core/package.json index b458a32a3f..4be081594b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,9 +2,9 @@ "name": "@budibase/core", "version": "0.0.1", "description": "core javascript library for budibase", - "main": "/dist/budibase-core.umd.js", + "main": "dist/budibase-core.umd.js", "module": "dist/budibase-core.esm.js", - "files": ["/dist/**", "!/dist/node_modules"], + "files": ["dist/**", "!dist/node_modules"], "directories": { "test": "test" }, diff --git a/packages/server/package.json b/packages/server/package.json index b2c637e9b1..d350932342 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -6,7 +6,8 @@ "scripts": { "test": "jest", "build": "cd appPackages/master && yarn && cd ../testApp && yarn && cd ../testApp2 && yarn", - "initialise":"node initialise/initialiseBudibase --datastore local --username admin --password admin --rootPath .data --cleanDev" + "initialise":"node initialise/initialiseBudibase --datastore local --username admin --password admin --rootPath .data --cleanDev", + "dev:builder" :"node index" }, "keywords": [ "budibase" diff --git a/readme.md b/readme.md index 2b9921e0b1..372c1eadfb 100644 --- a/readme.md +++ b/readme.md @@ -17,13 +17,15 @@ if you have problems, this might help: https://github.com/nodejs/node-gyp/issues ### 2. Install and Build -`lerna bootstrap` +`lerna bootstrap` will install all modules -`lerna run build` +`lerna run build` will build all pakcages -`yarn run initialise-server` +`yarn run initialise` will initialise your budibase (i.e. create local database) +### 3. Running +`lerna run dev:builder` - will run up the builder and server together - i.e. when you want to do some work on the builder ## Documentation