packages changes and bugfix

This commit is contained in:
Michael Shanks 2019-09-10 10:25:13 +01:00
parent cb026b017b
commit 22bed49a09
6 changed files with 13 additions and 12 deletions

View File

@ -5,7 +5,9 @@
"scripts": {
"build": "rollup -c",
"start": "rollup -c -w",
"test": "jest"
"test": "jest",
"dev:builder" :"rollup -c -w"
},
"jest": {
"globals": {

View File

@ -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) => {

View File

@ -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)

View File

@ -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"
},

View File

@ -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"

View File

@ -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