1
0
Fork 0
mirror of synced 2024-06-27 02:20:35 +12:00

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